mirror of
https://codeberg.org/JasterV/MEMORY-CARD-GAME.git
synced 2026-04-26 18:20:03 +00:00
🍵🐫 Checkpoint
./script.js:18108127/473 ./style.css:18108127/47
This commit is contained in:
parent
53b55c4e91
commit
97815634e4
2 changed files with 8 additions and 3 deletions
|
|
@ -154,10 +154,11 @@ function scoreBarController(barId) {
|
|||
setUserTime(username, seconds) {
|
||||
if (this.hasUser(username)) {
|
||||
let userContainer = this.getUser(username);
|
||||
userContainer.lastElementChild.innerHTML = `<i class="fas fa-stopwatch"></i> ${Math.floor(seconds)} seconds`;
|
||||
userContainer.appendChild.innerHTML = `<i class="fas fa-mouse-pointer"></i> ${tries} tries`;
|
||||
userContainer.lastElementChild.innerHTML = `<i class="fas fa-stopwatch"></i> ${Math.floor(seconds)} seconds`
|
||||
+ ` <i class="fas fa-mouse-pointer"></i> ${tries} tries`;
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -235,10 +235,14 @@ strong {
|
|||
|
||||
.fa-stopwatch, .fa-mouse-pointer {
|
||||
font-size: 18px;
|
||||
margin-right: 3px;
|
||||
margin-right: 2px;
|
||||
color: hsla(208, 80%, 50%, 0.3);
|
||||
}
|
||||
|
||||
.fa-mouse-pointer {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
@media (max-height: 865px) {
|
||||
#user-scores {
|
||||
max-height: 73%;
|
||||
|
|
|
|||
Loading…
Reference in a new issue