-
Notifications
You must be signed in to change notification settings - Fork 15
/
data.html
52 lines (51 loc) · 1.5 KB
/
data.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
<!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="style2.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
/>
<link
rel="stylesheet"
href="https://unpkg.com/mouse-follower@1/dist/mouse-follower.min.css"
/>
<script src="https://unpkg.com/mouse-follower@1/dist/mouse-follower.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.10.4/gsap.min.js"></script>
<script src="https://unpkg.com/mouse-follower@1/dist/mouse-follower.min.js"></script>
<title>Document</title>
</head>
<body>
<header>
<a href="index.html"
><img src="./img/back.png" alt="back icon" /> Go back to home page</a
>
</header>
<div class="container">
<div class="box">
<div class="search">
<input
data-cursor-text="Search Your Recipe"
type="text"
id="ingredientInput"
placeholder="Enter ingredients (comma-separated)"
/>
<br />
<button id="searchBtn">Search</button>
</div>
<div class="outer">
<div id="recipes" class="recipes"></div>
</div>
</div>
</div>
<script src="script.js"></script>
<script>
const cursor = new MouseFollower({
container: document.body,
speed: 0.3,
});
</script>
</body>
</html>