Skip to content

Commit 04a18a4

Browse files
committed
3 Sep: Added index.html in Answer the Question
1 parent 0c8df32 commit 04a18a4

1 file changed

Lines changed: 69 additions & 0 deletions

File tree

Answer the Question/index.html

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link
5+
rel="stylesheet"
6+
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
7+
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
8+
crossorigin="anonymous"
9+
/>
10+
<script
11+
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
12+
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
13+
crossorigin="anonymous"
14+
></script>
15+
<script
16+
src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
17+
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
18+
crossorigin="anonymous"
19+
></script>
20+
<script
21+
src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
22+
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
23+
crossorigin="anonymous"
24+
></script>
25+
<link rel="stylesheet" href="style.css" />
26+
</head>
27+
28+
<body>
29+
<div class="container p-4">
30+
<h1 class="mb-4 heading">Answer the Question</h1>
31+
<div class="form-container">
32+
<h1 class="form-heading">What is the capital of India?</h1>
33+
<form id="questionsForm">
34+
<div class="mt-3 mb-3">
35+
<input
36+
type="radio"
37+
name="capital"
38+
id="cityHyderabad"
39+
value="Hyderabad"
40+
/>
41+
<label for="cityHyderabad">Hyderabad</label>
42+
</div>
43+
<div class="mb-3">
44+
<input
45+
type="radio"
46+
name="capital"
47+
id="cityChennai"
48+
value="Chennai"
49+
/>
50+
<label for="cityChennai">Chennai</label>
51+
</div>
52+
<div class="mb-3">
53+
<input type="radio" name="capital" id="cityDelhi" value="Delhi" />
54+
<label for="cityDelhi">Delhi</label>
55+
</div>
56+
<div class="mb-3">
57+
<input type="radio" name="capital" id="cityMumbai" value="Mumbai" />
58+
<label for="cityMumbai">Mumbai</label>
59+
</div>
60+
<button type="submit" class="btn btn-primary" id="submitBtn">
61+
Submit
62+
</button>
63+
<p id="resultMsg"></p>
64+
</form>
65+
</div>
66+
</div>
67+
<script src="main.js"></script>
68+
</body>
69+
</html>

0 commit comments

Comments
 (0)