Skip to content

Commit

Permalink
Design
Browse files Browse the repository at this point in the history
  • Loading branch information
LiliwoL committed Dec 9, 2024
1 parent e080463 commit 9bec157
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ pre {

width: 60vw;
}
#btnSubmit{
background: #455cf8;
color: white;
/* border-style: outset; */
border-color: #0066A2;
height: 50px;
width: 100px;
font: bold 15px arial, sans-serif;
text-shadow: none;
}

#result{
margin: auto;
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<label for="subnetMaskCIDR">Masque de sous-réseau (en CIDR):</label>
<input type="text" id="subnetMaskCIDR" name="subnetMaskCIDR" placeholder="/x"><br><br>

<input type="submit" value="Calculer">
<input id="btnSubmit" type="submit" value="Calculer">
</form>

<div id="result">
Expand Down
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ document.getElementById("subnetForm").addEventListener("submit", function(event)

document.getElementById("result").innerHTML = `
<b>Adresse IP décimal :</b> ${ipAddress}<br>
<b>Adresse IP binaire : ${ipAddressBinary}<br>
<b>Adresse IP binaire :</b> ${ipAddressBinary}<br>
<br>
<b>Masque de sous-réseau décimal :</b> ${subnetDecimal}<br>
<b>Masque de sous-réseau binaire :</b> ${subnetMaskBinary}<br>
Expand Down

0 comments on commit 9bec157

Please sign in to comment.