-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfavourite.html
69 lines (63 loc) · 2.27 KB
/
favourite.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
<!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>Favourites</title>
<link rel="shortcut icon" href="/groot.ico" type="image/x-icon">
<!-- stylesheet here-->
<link rel="stylesheet" href="/style/index.css">
<link rel="stylesheet" href="/style/favourite.css">
<script src="https://kit.fontawesome.com/9d34235b2f.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- !! Navbar structure start here -->
<nav class="navbar" id="navbar">
<!-- logo and app name -->
<div class="app-logo-name">
<img src="./images/groot.jpg" alt="logo">
<div class="app-name">
<span id="first-name">Superhero</span>
<span id="last-name">Hunter</span>
</div>
<!-- home and favourites links -->
<div class="nav-btn">
<a href="index.html" id="home" class="cur-poi">Home</a>
<a href="favourite.html"
target="_parent"
id="favourite"
class="cur-poi"
onclick="showFavouriteList"
>Favourites</a>
</div>
</div>
<!-- Profile logo -->
<div class="profile cur-poi">
<i class="fa-solid fa-circle-user"></i>
</div>
<!-- foldable nav menu -->
<div class="foldable-menu">
<div id="open-menu" >
<i class="fa-solid fa-bars cur-poi"></i>
</div>
<div id="close-menu" class="hide">
<i class="fa-solid fa-xmark cur-poi"></i>
</div>
<div class="nav-list hide" id="nav-list">
<a href="index.html">Home</a>
<a href="favourite.html" onclick="showFavouriteList">Favourites</a>
<a href="index.html">profile</a>
<a href="login.html">Logout</a>
</div>
</div>
</nav>
<!-- ! contain all favourite superheros -->
<h2>Your Favourite Superheros</h2>
<section class="superhero-container">
<!-- superhero card list container-->
<div class="superhero-card-container" id="superhero-card-container"></div>
</section>
</body>
<script src="/features/favourite.js"></script>
</html>