-
Notifications
You must be signed in to change notification settings - Fork 0
/
task-06.html
40 lines (32 loc) · 1.06 KB
/
task-06.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
<!DOCTYPE html>
<html lang="ru">
<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>Задание 6</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background-color: #fff;
color: #424242;
line-height: 1.5;
}
#validation-input {
border: 3px solid #bdbdbd;
}
#validation-input.valid {
border-color: #4caf50;
}
#validation-input.invalid {
border-color: #f44336;
}
</style>
</head>
<body>
<p><a href="index.html">На главную</a></p>
<input type="text" id="validation-input" data-length="6" placeholder="Введи 6 символов" />
<script src="js/task-06.js" type="module"></script>
</body>
</html>