Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f69ae06

Browse files
author
Samane
authored
Update index.html
1 parent cae359e commit f69ae06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Challenge7/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<body>
1010
<h1>Coding Challenge 7 in JavaScript!</h1>
1111
<h3>Expert level of <a href="https://github.com/SamaneYaghoobi/JavaScript-Exercises/tree/master/Challenge6" target="_blank">Challenge6</a></h3>
12-
<p><br> 8. After you display the result, display the next random question, so that the game never ends (Hint: write a function for this and call it right after displaying the result)<br><br>9. Be careful: after Task 8, the game literally never ends. So include the option to quit the game if the user writes 'exit' instead of the answer. In this case, DON'T call the function from task 8. <br><br>10. Track the user's score to make the game more fun! So each time an answer is correct, add 1 point to the score (Hint: I'm going to use the power of closures for this, but you don't have to, just do this with the tools you feel more comfortable at this point). <br><br>11. Display the score in the console. Use yet another method for this.</p>
12+
<p><br> 8. After you display the result, display the next random question, so that the game never ends (Hint: write a function for this and call it right after displaying the result)<br><br>9. Be careful: after Task 8, the game literally never ends. So include the option to quit the game if the user writes 'exit' instead of the answer. In this case, DON'T call the function from task 8. <br><br>10. Track the user's score to make the game more fun! So each time an answer is correct, add 1 point to the score. <br><br>11. Display the score in the console.</p>
1313
<script src="app.js"></script>
1414
</body>
1515

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /