-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (86 loc) · 2.61 KB
/
index.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!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="https://cdnjs.cloudflare.com/ajax/libs/modern-normalize/0.7.0/modern-normalize.min.css"
/>
<link rel="stylesheet" href="./css/styles.css" />
<title>js-hw-07</title>
</head>
<body>
<h1>Task 1</h1>
<ul id="categories">
<li class="item">
<h2>Животные</h2>
<ul>
<li>Кот</li>
<li>Хомяк</li>
<li>Лошадь</li>
<li>Попугай</li>
</ul>
</li>
<li class="item">
<h2>Продукты</h2>
<ul>
<li>Хлеб</li>
<li>Петрушка</li>
<li>Творог</li>
</ul>
</li>
<li class="item">
<h2>Технологии</h2>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>JavaScript</li>
<li>React</li>
<li>Node</li>
</ul>
</li>
</ul>
<hr />
<h1>Task 2</h1>
<ul id="ingredients"></ul>
<hr />
<h1>Task 3</h1>
<ul id="gallery"></ul>
<hr />
<h1>Task 4</h1>
<div id="counter">
<button type="button" data-action="decrement">-1</button>
<span id="value">0</span>
<button type="button" data-action="increment">+1</button>
</div>
<hr />
<h1>Task 5</h1>
<input type="text" placeholder="Ваше имя?" id="name-input" />
<h1>Привет, <span id="name-output">незнакомец</span>!</h1>
<hr />
<h1>Task 6</h1>
<input type="text" id="validation-input" data-length="6" placeholder="Введи 6 символов" />
<hr>
<h1>Task 7</h1>
<input id="font-size-control" type="range" />
<br />
<span id="text">Абракадабра!</span>
<hr>
<h1>Task 8</h1>
<div id="controls">
<input type="number" min="0" max="100" step="1" />
<button type="button" data-action="render">Создать</button>
<button type="button" data-action="destroy">Очистить</button>
</div>
<div id="boxes"></div>
<hr>
<script src="./js/task-1.js" type="module"></script>
<script src="./js/task-2.js" type="module"></script>
<script src="./js/task-3.js" type="module"></script>
<script src="./js/task-4.js" type="module"></script>
<script src="./js/task-5.js" type="module"></script>
<script src="./js/task-6.js" type="module"></script>
<script src="./js/task-7.js" type="module"></script>
<script src="./js/task-8.js" type="module"></script>
</html>