-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (63 loc) · 2.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recipe Roll - Random Recipe Generator</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.cdnfonts.com/css/futura-pt" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
<div class="container">
<div class="bookmarks-btn-container">
<button class="bookmarks-btn" aria-label="Saved Recipes">
<i class="fa-solid fa-bookmark"></i>
</button>
</div>
<div class="header-container">
<div class="title-container">
<h1>RECIPE ROLL</h1>
</div>
<div class="mobile-refresh">
<img src="icons/refresh_icon-white.png" alt="Refresh">
</div>
<canvas id="confetti-canvas"></canvas>
</div>
<div class="bookmarks-overlay">
<div class="bookmarks-credit">
<p>Made by <a href="https://jgbh.dk" target="_blank">JGBH</a></p>
</div>
<div class="bookmarks-header">
<h2>Saved Recipes</h2>
<button class="close-bookmarks">close</button>
</div>
<div class="bookmarks-list"></div>
</div>
<div class="recipe-card">
<div class="recipe-content">
<div class="recipe-image">
<img id="recipeImage" src="https://spoonacular.com/recipeImages/716429-556x370.jpg" alt="Recipe">
</div>
<div class="recipe-info">
<div class="recipe-header">
<h2 id="recipeName">LOADING...</h2>
<button class="bookmark-btn" title="Save Recipe">
<i class="fa-regular fa-heart"></i>
</button>
</div>
<div class="recipe-actions">
<a id="recipeLink" href="#" target="_blank" class="view-recipe">View Recipe →</a>
</div>
<div class="recipe-details">
<p id="cookTime"> 30 mins</p>
<p id="difficulty"> Easy</p>
<p id="servings"> Serves: 4</p>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>