forked from ManishPoduval/teaching-dom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (26 loc) · 974 Bytes
/
Copy pathindex.html
File metadata and controls
30 lines (26 loc) · 974 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
28
29
30
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>DOM intro, selectors and manipulation</title>
</head>
<body>
<h1 id="title1">Primary title</h1>
<h2 id="title2">Secondary title</h2>
<p class="paragraph">Here is some text in the first paragraph.</p>
<p class="paragraph">
And here is some other text in the second paragraph.
</p>
<p class="paragraph">However, there is the third paragraph as well.</p>
<h5 class="subtitle">Oh, subtitle I am!</h5>
<div class="myInputs">
<input type="number" min="0" placeholder="Price" />
<input type="text" placeholder="Name" />
</div>
<section class="products">
<h2 class="title2" id="products">Products</h2>
</section>
<!-- load JS file last when DOM already loaded so you can access and manipulate with the DOM elements -->
</body>
</html>