-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathday-2.html
More file actions
27 lines (25 loc) · 799 Bytes
/
day-2.html
File metadata and controls
27 lines (25 loc) · 799 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
25
26
27
<!DOCTYPE html>
<html lang="en">
<head>
<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>Day 2: Prompt and input</title>
</head>
<body>
<h1>Input from user</h1>
<h2>Example</h2>
<p>There are many ways to get input from a user. Forms are a common way. A very simple way is the prompt function in JavaScript. Invoking the prompt function will cause a pop-up to appear on your screen. Some people find pop-ups annoying or even block them, so use this technique sparingly!</p>
<ul>
<li>
<a href="day-2a.html">Part A</a>
</li>
<li>
<a href="day-2b.html">Part B</a>
</li>
<li>
<a href="day-2c.html">Part C</a>
</li>
</ul>
</body>
</html>