-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (43 loc) · 1.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Chuck Norris</title>
<link rel="stylesheet" href="css/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;1,700&display=swap" rel="stylesheet">
</head>
<body>
<div class="wrapper">
<main class="main">
<h2 class="main__logo">MSI 2020</h2>
<h2 class="main__welcome-text">hey!</h2>
<h3 class="main__description">Let’s try to find a joke for you:</h3>
<form class="getJokesForm" id="formJoke">
<div>
<input value="random" type="radio" name="jokeCategory" id="randomCategory" checked >
<label for ="randomCategory">Random</label>
</div>
<div>
<input value="category" type="radio" name="jokeCategory" id="category">
<label for ="category">From categories</label>
<ul id="categoriesList" class="getJokes-form-categoriesList"></ul>
</div>
<div>
<input value="search" type="radio" name="jokeCategory" id="searchCategory">
<label for ="searchCategory">Search</label>
</div>
<input type="text" id="searchCategoryText" class="main__placeholder" placeholder="Free text search...">
<button class="main__btn" type="submit">Get a joke</button>
</form>
<div id="jokeContainer"></div>
</main>
<aside class="aside__favourite-jokes">
<h2 class="aside__title">Favourite</h2>
<div id="jokeContainerFav"></div>
</aside>
</div>
<script src="./js/script.js"></script>
</body>
</html>