Skip to content

NomadCoder-Challenges/VanillaJS_Challenge03

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VanillaJS_Challenge03

Created with CodeSandbox

Challenge goals

  1. Allow the user to set the range.
  2. The random number within the range is received from the computer.
  3. Receiving a number in range from the user and comparing with computer’s number. Show “You won!” if they are the same, and “You lost!” if they are different.

Demo

  • User Range Input: 5 ezgif com-gif-maker

  • User Range Input: 10 ezgif com-gif-maker (1)

  • User Range Input: -3 ezgif com-gif-maker (2)


챌린지 목표

  1. 사용자가 range를 설정하도록 한다.
  2. 컴퓨터로부터 사용자가 설정한 range 내의 random 숫자를 받아온다.
  3. 사용자로부터 range 내의 숫자를 입력받고 컴퓨터의 숫자와 비교한 뒤, 같으면 "You won!"을, 다르면 "You lost!"를 보여준다.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published