Skip to content

LexiconProjects/js-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

js-games

A couple of JS exercises for beginners.

  • Write a JavaScript program to rotate the string 'lexicon' in right direction by periodically removing one letter from the end of the string and attaching it to the front.
  • Write a JavaScript program where the program takes a random integer between 1 to 10, the user is then prompted to input a guess number. If the user input matches with guess number, the program will display a message "Good Work" otherwise display a message "Not matched".
  • Write a JavaScript program to calculate days left until next Christmas.
  • Write a JavaScript program to create a new string adding "Py" in front of a given string. If the given string begins with "Py" then return the original string.
  • Write a JavaScript program to find a value which is nearest to 100 from two different given integer values.

About

A couple of JS exercises for beginners.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published