Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Online Calculator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculator</title>
<link rel="stylesheet" href="src/index.css">
<!-- Getting error while using this jquery func.(will be solved soon) <script href="src/index.js"></script>-->
<!-- Getting error while using this jquery func.(will be solved soon) <script src="src/index.js"></script>-->
</head>
<body>
<div class="center">
Expand Down
54 changes: 29 additions & 25 deletions Quiz-App/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,43 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quiz-app using js</title>
<title>Quiz App using JS</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h1 class="heading">Quiz</h1>
<div class="main-dev">
<div class="inner-section">
<h2 class="question">Question came here</h2>
<ul>
<li>
<input type="radio" name="answer" id="ans-1" class="answer"/>
<label for="name" id="option-1">Option 1 </label>
</li>
<li>
<input type="radio" name="answer" id="ans-2" class="answer"/>
<label for="name" id="option-2">Option 2 </label>
</li>
<li>
<input type="radio" name="answer" id="ans-3" class="answer"/>
<label for="name" id="option-3">Option 3 </label>
</li>
<li>
<input type="radio" name="answer" id="ans-4"class="answer" />
<label for="name" id="option-4">Option 4 </label>
</li>
</ul>
<button id="submit">Submit</button>
<div id="showScore" class="scoreArea"></div>
<div class="inner-section">
<form id="quiz-form">
<fieldset>
<legend class="question">Question came here</legend>
<ul>
<li>
<input type="radio" name="answer" id="ans-1" class="answer" />
<label for="ans-1" id="option-1">Option 1</label>
</li>
<li>
<input type="radio" name="answer" id="ans-2" class="answer" />
<label for="ans-2" id="option-2">Option 2</label>
</li>
<li>
<input type="radio" name="answer" id="ans-3" class="answer" />
<label for="ans-3" id="option-3">Option 3</label>
</li>
<li>
<input type="radio" name="answer" id="ans-4" class="answer" />
<label for="ans-4" id="option-4">Option 4</label>
</li>
</ul>
<button type="submit" id="submit">Submit</button>
</fieldset>
</form>
<div id="showScore" class="scoreArea"></div>
</div>
</div>
</div>
</div>
<footer class="footer">Code by :- Rishika Vishnoi 😊 ⭐</footer>
<script src="script.js"></script>
</body>
<script src="script.js"></script>
</html>