-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (93 loc) · 4.43 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
92
93
<!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">
<link rel="icon" href="assets/img/code_black_24dp.svg">
<link rel="stylesheet" href="assets/css/normalize.css">
<link rel="stylesheet" href="assets/css/style.css">
<title>Regular Expressions Tester Online For JavaScript</title>
</head>
<body>
<header class="header">
<div class="wrapper">
<div class="header__inner">
<a href="index.html" class="header__logo">RexExpTester</a>
</div>
</div>
</header>
<section class="section">
<div class="wrapper">
<div class="section__inner">
<div class="regex">
<div class="regex__item">
<p class="regex__title">Regular expression to test:</p>
<div class="regex__input-wrapper">
<div class="regex__input-leftelem">/</div>
<input class="regex__input" id="reg" type="text" value="">
<div class="regex__input-rightelem">/</div>
</div>
<p class="regex__title">String to test:</p>
<textarea class="regex__input" id="str" type="text" value=""></textarea>
<p class="regex__title">Flags</p>
<div class="regex__flags">
<div class="regex__check">
<input class="regex__flag" id="flag-g" type="checkbox">
<label for="flag-g">g</label>
<div class="regex__flag--prompt">the search looks for all matches</div>
</div>
<div class="regex__check">
<input class="regex__flag" id="flag-i" type="checkbox">
<label for="flag-i">i</label>
<div class="regex__flag--prompt">case insensitive</div>
</div>
<div class="regex__check">
<input class="regex__flag" id="flag-m" type="checkbox">
<label for="flag-m">m</label>
<div class="regex__flag--prompt">multiline mode</div>
</div>
<div class="regex__check">
<input class="regex__flag" id="flag-s" type="checkbox">
<label for="flag-s">s</label>
<div class="regex__flag--prompt">dot matches newline</div>
</div>
<div class="regex__check">
<input class="regex__flag" id="flag-u" type="checkbox">
<label for="flag-u">u</label>
<div class="regex__flag--prompt">unicode</div>
</div>
<div class="regex__check">
<input class="regex__flag" id="flag-y" type="checkbox">
<label for="flag-y">y</label>
<div class="regex__flag--prompt">searching at the exact position in the text</div>
</div>
</div>
<button class="regex__btn" id="btn">Match</button>
</div>
<div class="regex__item">
<div class="regex__results">
<p class="regex__title">Results:</p>
<div class="regex__result" id="result"></div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="wrapper">
<div class="footer__inner">
<p>Created by <b>Karina S.</b></p>
<div class="footer__social">
<a href="https://github.com/karinasulm"><img src="assets/img/github-brands.svg" alt=GitHub"></a>
<a href="https://codepen.io/karinasulm"><img src="assets/img/codepen-brands.svg" alt="CodePen"></a>
<a href="https://t.me/karinasulm"><img src="assets/img/telegram-brands.svg" alt="Telegram"></a>
<a href="https://www.instagram.com/skkaarin"><img src="assets/img/instagram-brands.svg" alt="Instagram"></a>
</div>
</div>
</div>
</footer>
<script src="assets/js/script.js"></script>
</body>
</html>