geekymeeky / JS-games

A curated collection of games made with javascript and integrated by a web UI.
https://geekymeeky.github.io/JS-games/
MIT License
34 stars 35 forks source link

Toggle is not working Correctly #113

Open Ayonijakaushik19 opened 3 years ago

Ayonijakaushik19 commented 3 years ago

Describe the bug A clear and concise description of what the bug is. The toggle for dark mode is not working correctly. To Reproduce Steps to reproduce the behavior:

  1. Go to home page
  2. Click on the toggle for Dark mode
  3. Now click on the Home button again it will redirect you to the normal mode
  4. Now again click on the toggle button, it will only change the toggle button color but does not change the page for Dark mode.
  5. See the below screenshot for the same:

image

Expected behavior A clear and concise description of what you expected to happen. It should change the page to the dark mode Screenshots If applicable, add screenshots to help explain your problem. image Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Ayonijakaushik19 commented 3 years ago

Hi, @geekymeeky Please assign this to me. I will work on this.

kanishkaa24 commented 3 years ago

It is working fine for me.

Ayonijakaushik19 commented 3 years ago

Hi @kanishkaa24 , Please check it again it's not working fine .Screenshot is attached in the issue you cxan refer that.