Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

166
Views
Window.reset() JavaScript

Can someone explain how window.reset works in Java script.

I have a quiz with 5 part quizees. All of the part quizzes is built in 1 html page. So when you push NEXT Button the wrapper change Nd show the next quiz with the help of classList.add/remove(hide) where hide is display:none in CSS.

Now I want to use window.reset() in the console to reset a quiz at anytime. So for exemple, if I'am in the middle of quiz 4 I want to be able to write window.reset() in the console and the 4th quiz starts again and reset the points.

But I dont understand how I go about it. Every test is in its own module. Cant show any code cause its so complex and alot of code.

Hope someone can give me a good advice, even though its a very complex question

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!