How to write a quiz in javascript?

Hello. I want to write a quiz in javascript. Need to do to when the user has answered correctly, it was redirected to the same page, similarly if wrong on another. I have radio buttons and I'm just starting to learn javascript, and the test is needed urgently. So I would love more prosharenny guys than I do.
Code of html file:
<!DOCTYPE html>
<html lang="en">
the <head>
 <meta charset="UTF-8">
 <title>Test for flight.</title>
 <link rel="stylesheet" href="stest.css">
 <script src="sub.js"></script>
</head>
the <body>
 <h1>What is computer science?</h1>
 <p><input type="radio" id="v1">the Science that studies the structure, General properties and methods of transmitting information, including related computer applications.</p> 
 <p><input type="radio" id="v2">the Practice of preventing unauthorized access, use, disclosure, alteration, change, research, writing or destroying information.</p>
 <p><input type="radio" id="v3">Processes, methods of search, collection, storage, processing, providing, and disseminating information.
</p>
 <p><input type="radio" id="v4">a Metaphor that reflects the revolutionary impact of information technologies on all spheres of life of society<p>
</p>
 <button onclick="submit();" class="cont">Continue</button>
</body>
</html>
April 4th 20 at 13:22
4 answers
April 4th 20 at 13:24
Solution
Here's to inspiration
test
There in the description there is a link to a demo.
Just cast your data as json, and the final "page" Ala "must go again" may include. Yes, and customizable.

PS. if it is necessary for you to do/configure it all, it's only for extra cost
April 4th 20 at 13:26
Well it's not the pinnacle of arrogance. I urgently need to deliver the project, and to understand one evening I'm lazy. Well, here's the markup I navigate schA facto boys.
What you need to know by spending only one evening on the study of js ( a few hours).
And with a project on TK there are so many good freelance exchanges.
well, I will consider. - madilyn.Kilba commented on April 4th 20 at 13:29
April 4th 20 at 13:28
Here for inspiration
similarly, if incorrectly on the other
- does not work) - Anderson.Prosacco9 commented on April 4th 20 at 13:31
@Anderson.Prosacco9, Mr for inspiration thrown. To the author realized what was happening and finished your - Jordyn.Senger commented on April 4th 20 at 13:34
@Jordyn.Senger, Yes, that's why I wrote the smiley) - Anderson.Prosacco9 commented on April 4th 20 at 13:37
@Anderson.Prosacco9, accepted) - Jordyn.Senger commented on April 4th 20 at 13:40
@Jordyn.Senger, @Anderson.Prosacco9, this is not the forum.
The curators have raskurochili. - carey15 commented on April 4th 20 at 13:43
@carey15, I'm not so sure))) Is sometimes satisfied.... - Anderson.Prosacco9 commented on April 4th 20 at 13:46
April 4th 20 at 13:30
know. understand what to do if. but how exactly?
the crux of the matter this is.
Need to know JS at the level of "got to study".
heh - madilyn.Kilba commented on April 4th 20 at 13:33
@madilyn.Kilba, Why don't you want to read, understand and do?
Why wait, what You have to do everything? - Anderson.Prosacco9 commented on April 4th 20 at 13:36

Find more questions by tags JavaScript