-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathquestion4.html
More file actions
24 lines (23 loc) · 968 Bytes
/
question4.html
File metadata and controls
24 lines (23 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Quiz</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="script.js"></script>
</head>
<body class="quizBackground">
<p class="question">If you invested $1000 in the stock market, it averaged 8% rate of growth each year and you did not withdraw any of the funds, about how much money would you have in 50 years?</p>
<div class="responses">
<button onclick="four()">$1,000</button>
<button onclick="four()">$8,000</button>
<button onclick="four()">$23,000</button>
<button id = "correct" onclick="four()">$47,000</button>
</div>
<p class="correctAnswer"id="correctOrWrong"></p>
<p class="correctAnswer" id="correctAnswer"></p>
<p class="answerText" id="answerText"></p>
<a class="nextPageBtn" id="nextPageBtn" href="question5.html">Next Question</a>
</body>
</html>