🏡🙍 Checkpoint

./style.css:18108127/138
./script.js:18108127/42:18108132/87
This commit is contained in:
Glitch (hello-webpage) 2020-07-29 18:50:19 +00:00
parent a99600c3a6
commit 32642b49e5
2 changed files with 7 additions and 4 deletions

View file

@ -121,12 +121,11 @@ playAgainBtn.addEventListener("click", () => {
/*--------------------------------------------------*/
function scoreBarController(barId) {
let users = [];
let scoresBar = document.getElementById(barId);
return {
hasUser(username) {
return users.includes(username);
return
},
setUserPlaying(username) {

View file

@ -92,7 +92,6 @@ h2{
.user-scores {
padding-top: 1.3rem;
padding-left: 2rem;
}
.choose-username {
@ -193,7 +192,8 @@ strong {
width: 90%;
position: relative;
z-index: 2;
filter: drop-shadow(6px 9px 6px rgba(12, 64, 110, .2))
filter: drop-shadow(6px 9px 6px rgba(12, 64, 110, .2));
}
.score-title {
@ -214,4 +214,8 @@ strong {
top: 19px;
z-index: 1;
width: 35px;
}
.user-score-container {
color: hsla(208, 80%, 10%, .25);
}