How create a button for replay the quiz in Javascript ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How create a button for replay the quiz in Javascript ?

Hello everyone I have create a quiz game and i want add a button in Javascript for replay but i can not do it, Thanks !!! https://code.sololearn.com/W2Cj4MkBCAhw/?ref=app

27th May 2018, 10:19 AM
Hugo Fief
Hugo Fief - avatar
3 Answers
+ 1
salut/hi, je propose ca en Jq (en js c'est aussi realisable, mais plus long) : - un BP reset (display:none) qui apparait quand le formulaire est validé au clic. - ce BP reset rescroll a 0 et reset les radios. je debute, hesitez pas a donner des modifs :) (J'ai vu qu'il manque un petit truc, je remplit une seule question, sa me dit que j'en ai juste oublié une ^^) https://code.sololearn.com/WLG7NLeWFY3C/?ref=app
27th May 2018, 5:45 PM
Notoxy Gaming (3D Land)
Notoxy Gaming (3D Land) - avatar
+ 1
Merci Infiniment Notoxy Gaming (3D Land) Le boutton est tout à fait fonctionnel 👏👏👍 !!!
27th May 2018, 6:11 PM
Hugo Fief
Hugo Fief - avatar
0
De rien, content d'avoir pu dépanner 😀 !
27th May 2018, 6:15 PM
Notoxy Gaming (3D Land)
Notoxy Gaming (3D Land) - avatar