-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathassignment.html
45 lines (36 loc) · 1.63 KB
/
assignment.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/style.css">
<title>Introduction to JS: Operators | Assignment</title>
</head>
<body>
<header class="header">
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><a href="/" class="link">Concept</a></li>
<li class="nav-item"><a href="./assignment.html" class="link">Assignment</a></li>
</ul>
</nav>
</header>
<main class="main">
<section class="concept">
<h2 class="title">Assignment</h2>
<p class="definition">Create a text file with the name <code class="inline-code">answers.txt</code>. Answer the following questions inside that text file.</p>
<p class="definition">
<ul class="list">
<li class="list-item">Explain why a number data type added to a string data type returns a string.</li>
<li class="list-item">Name a scenario where using the <code class="inline-code">==</code> operator could cause a bug.</li>
<li class="list-item">Name the operator(s) that you find confusing and explain why.</li>
<li class="list-item">Explain a situation where you would use the Modulus operator and why.</li>
</ul>
</p>
<button id="submission-btn">Submit</button>
</section>
</main>
<footer></footer>
<script src="./js/assignment.js"></script>
</body>
</html>