Skip to content

Commit

Permalink
Video game was improved
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmendozaospina committed Dec 6, 2024
1 parent f742fe0 commit f89d348
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ form {

.output {
font-weight: 800;
font-size: 90px;
font-size: 88px;
margin: 0;

/* font-size: 2rem; */
Expand Down
6 changes: 3 additions & 3 deletions assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ function getWordToType() {
const wordToType = wordBank[wordToTypeIndex];

if (wordToType.length > 9) {
outputObj.style.fontSize = '77px';
outputObj.style.fontSize = '75px';
} else {
outputObj.style.fontSize = '90px';
outputObj.style.fontSize = '88px';
}

//BEFORE: outputObj.innerText = wordToType;
Expand Down Expand Up @@ -183,7 +183,7 @@ listen('click', startObj, play);
listen('click', restartObj, play);

listen('ended', gameVideoObj, () => {
gameVideoObj.currentTime = 10;
gameVideoObj.currentTime = 11;
gameVideoObj.play();
});

Expand Down
Binary file modified assets/video/game.mp4
Binary file not shown.

0 comments on commit f89d348

Please sign in to comment.