DEV Community

saaiif
saaiif

Posted on

Memory Game

Hello Guys,

On first page

  1. There is a button to generate Random Number
  2. So once you click the page will display the random number and refreshes in 5 seconds and then redirects to second page.
  3. On second page there is input field where you have to enter the same random number as it was in first page and press guess button
  4. If it matches all number then it will display all num matched
  5. If out of the 6 numbers if it matches any number in that it should print you match 4 numbers Eg: (123456 == 123678 then it should print 4 numbers matched)

So i hope you my explaination:)

Please figure this out and let me know

Top comments (0)