Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

172
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda