Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
monky6503 committed Jun 25, 2024
1 parent 02bf3f2 commit d4bd218
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion color.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function checkColor(event) {
attachClickListeners();
} else{
score--;
if(score <0) score = 0;
if(score <= 0)score = 0;
}
scoreElement.textContent = score;
}
Expand Down
5 changes: 3 additions & 2 deletions color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ main{
flex-direction: column;
justify-content: start;
align-items: center;

h1{
font-size:80px;
background: linear-gradient(to bottom, #ec2f4b ,#f5af19 ,#009fff );
Expand All @@ -32,9 +33,9 @@ main{
display:none;
border:5px solid white;
border-radius:10px;
gap:5px;
span{
border:5px solid white;
border-radius:10px;
border-radius:5px;
}
}

Expand Down
4 changes: 2 additions & 2 deletions css/color.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ main .container .grid-box {
display: none;
border: 5px solid white;
border-radius: 10px;
gap: 5px;
}
main .container .grid-box span {
border: 5px solid white;
border-radius: 10px;
border-radius: 5px;
}
main .container .start {
display: block;
Expand Down
2 changes: 1 addition & 1 deletion css/color.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d4bd218

Please sign in to comment.