Skip to content

Commit

Permalink
home page updates
Browse files Browse the repository at this point in the history
  • Loading branch information
iLikeGrape committed Dec 17, 2024
1 parent 30efc59 commit 5d3973b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Binary file added homeImgs/cookie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ <h1>Home</h1>
<a href="spaceinvaders.html"><div class="box" id="spaceBox"></div></a>
<a href="tictactoe.html"><div class="box" id="tictactoeBox"></div></a>
<a href="platformer.html"><div class="box" id="platformerBox"></div></a>
<a href="https://ilikecookie.netlify.app/"><div class="box" id="cookieBox"></div></a>
</div>
<script src="index.js"></script>
</body>
Expand Down
14 changes: 9 additions & 5 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@

.links{
display: flex;
justify-content: space-evenly;
column-gap: 25px;
row-gap: 25px;
display: grid;
grid-template-columns: repeat(4, auto);
width: 750px;
margin: auto;
}
.box{
width: 150px;
Expand All @@ -13,7 +14,6 @@
#dinoBox{
background-image: url("homeImgs/dinosaurgame.png");
background-size: contain;

}
#spaceBox{
background-image: url(homeImgs/spaceinvaders.png);
Expand All @@ -27,4 +27,8 @@
#platformerBox{
background-color: aqua;
background-size: contain;
}
#cookieBox{
background-image: url(homeImgs/cookie.png);
background-size: contain;
}

0 comments on commit 5d3973b

Please sign in to comment.