Skip to content

Commit

Permalink
added footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jets committed Aug 4, 2024
1 parent 3c172db commit 6ee431a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ <h1>Logic Gate Simulator</h1>
<h2>Result: <span id="result"></span></h2>
</div>
</div>
<footer>
<p>Coded by Jets</p>
</footer>
<script src="script.js"></script>
</body>
</html>
12 changes: 12 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
body {
font-family: 'Roboto', sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
Expand All @@ -15,6 +16,7 @@ body {
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
text-align: center;
width: 300px;
margin-bottom: 20px;
}

h1 {
Expand Down Expand Up @@ -58,4 +60,14 @@ h1 {
background-color: #ffeb3b;
padding: 5px 10px;
border-radius: 5px;
}

footer {
text-align: center;
padding: 10px;
background-color: #333;
color: #fff;
width: 100%;
position: fixed;
bottom: 0;
}

0 comments on commit 6ee431a

Please sign in to comment.