video.mp4
It's a basic game made by Dom Manipilation. There are a total of 20 numbers you can choose from.
Mobile Version
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Desktop workflow
As a result of this project, I learned how to change the background color in javascript and how to compare scores using if/else statements
document.querySelector('body').style.background = 'green';
if (!guess){
document.querySelector('.title__right-box').textContent = 'โ No answer' ;
}
else if(guess === secretNumber){
document.querySelector('.title__right-box').textContent = '๐ correct number' ;
}
- Live Site URL: Add live site URL here
Jonas's course and Mosh Hamedani's helped me understand how to learn javascript because there are many challenges for me and the challenges helped me improve some Javascript basics
f230fb40b5e8d5947fa72f4c2c913fe2addec259