Skip to content

Commit

Permalink
Changed button tags from <input> to <button>.
Browse files Browse the repository at this point in the history
  • Loading branch information
7131 committed Jun 23, 2023
1 parent 76bd2bf commit 0df3907
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions default.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ input {
width: 90%;
}

input[type="button"] {
button {
margin-top: 2ex;
width: 90%;
}

svg {
Expand All @@ -37,7 +38,7 @@ svg {
width: 300px;
}

input[type="button"] {
button {
margin-top: 0ex;
width: auto;
}
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">

<head>
<meta charset="utf-8">
Expand All @@ -18,7 +18,7 @@ <h1>Siteswap Analyzer</h1>
<div class="row">
<div class="cell"><label for="pattern">Pattern</label></div>
<div class="cell"><input type="text" id="pattern"></div>
<div class="cell"><input type="button" id="analyze" value="Analyze"></div>
<div class="cell"><button id="analyze">Analyze</button></div>
</div>
<div class="row">
<div class="cell">Result</div>
Expand All @@ -27,8 +27,8 @@ <h1>Siteswap Analyzer</h1>
<div class="row">
<div class="cell">Demonstration</div>
<div class="cell"><svg id="board"></svg></div>
<div class="cell"><input type="button" id="start" value="Start"></div>
<div class="cell"><input type="button" id="stop" value="Stop"></div>
<div class="cell"><button id="start">Start</button></div>
<div class="cell"><button id="stop">Stop</button></div>
</div>
</div>

Expand Down

0 comments on commit 0df3907

Please sign in to comment.