itsnooshin / guess-my-number

This is a basic game with HTML/CSS/JavaScript

Home Page:https://guess-my-number-qvh441ts9-itsnooshin.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

guess-my-number

video.mp4

<<<<<<< HEAD

Guess-my-number

It's a basic game made by Dom Manipilation. There are a total of 20 numbers you can choose from.

Screenshot

Desktop

Mobile Version

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Desktop workflow

what i learned

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' ; 
   }

Useful resources

Author

Acknowledgments

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

About

This is a basic game with HTML/CSS/JavaScript

https://guess-my-number-qvh441ts9-itsnooshin.vercel.app/


Languages

Language:CSS 50.9%Language:JavaScript 28.9%Language:HTML 20.2%