-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (61 loc) · 2.19 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
<!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="./styles/elements.css">
<link rel="stylesheet" href="./styles/styles.css">
<link id="currentTheme" rel="stylesheet" href="./styles/lightTheme.css">
<link rel='stylesheet' href='https://cdn-uicons.flaticon.com/uicons-regular-rounded/css/uicons-regular-rounded.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=Gabarito:wght@400;500;600&display=swap" rel="stylesheet">
<title>Random cats</title>
</head>
<body>
<div class="randomCatsContainer">
<div class="randomCatsContent">
<h1>Random cats app</h1>
<p>
Random cat viewer, choose the image you like the most and mark it as your favorite one
</p>
<div class="buttonActions">
<button type="button" id="switchTheme">
<i class="fi fi-rr-swatchbook"></i> theme
</button>
<button type="button" id="githubButton">
<a href="https://github.com/danielbatres/api-rest-fundamentals-javascript" target="_blank">
<i class="fi fi-rr-code-compare"></i> Repositorio
</a>
</button>
</div>
<section id="uploadingCat">
<h2></h2>
<form id="uploadingForm">
<input id="file" type="file" name="file" />
</form>
<button type="button" id="upload">
Upload cat photo
</button>
</section>
<span id="error"></span>
<ul>
<li id="randomCatsNavigation">
<i class="fi fi-rr-gallery"></i>
Random cats
</li>
<li id="favoriteCatsNavigation">
<i class="fi fi-rr-heart"></i>
Favorites
</li>
</ul>
<section id="cats">
</section>
</div>
</div>
<script src="./javascript/constants.js"></script>
<script src="./javascript/api.js"></script>
<script src="./javascript/dynamicContent.js"></script>
<script src="./main.js"></script>
</body>
</html>