-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrandom-character.html
41 lines (40 loc) · 1.49 KB
/
random-character.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
<!DOCTYPE html>
<html lang="en">
<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>Random characters</title>
<link rel="stylesheet" href="./CSS/style.css">
<link rel="stylesheet" href="./CSS/theme.css">
<script src="./JavaScript/random-character.js" defer></script>
<script src="./JavaScript/theme.js" defer></script>
</head>
<body>
<header class="header">
<nav>
<ul class="header-nav">
<li> <a href="./index.html">Gallery</a></li>
<li> <a href="./random-character.html">Random character</a></li>
<li> <a href="./favorities.html">Favorite</a></li>
</ul>
</nav>
<div data-theme="light" class="theme">
<p class="app-title"><span id="current-theme">Light</span> Theme</p>
<button class="toggle-button" id="toggle-theme">Change</button>
</div>
</header>
<main>
<div class="random-card">
<img src="" alt="" id="random-img">
<div class="random-name">
<span id="random-id">1</span>. <span id="random-name">Rick</span>
</div>
<div>
<button class="add-to-fav" id="add-to-fav">💖Add to favorite</button>
<button class="get-random" id="get-random">✨Get Random</button>
</div>
</div>
</main>
</body>
</html>