Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

168
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda