-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (72 loc) · 4.04 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Your description goes here">
<meta name="keywords" content="one, two three">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Recipe Generator </title>
<script src="script.js" defer></script>
<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=Open+Sans:ital,wght@0,300;0,400;0,700;1,300&display=swap" rel="stylesheet">
<!--Bootstrap-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="normalise.css">
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div class="page-container">
<header>
<h1>Can't decide what to cook ?</h1>
</header>
<!-- Button trigger modal -->
<button id="btn" type="button" class="btn btn-primary fav btn-success" data-toggle="modal" data-target="#exampleModal">
<div class="container">
<div class="full-text"> Favourite Recipes</div>
<img class="heart" src="images/heart.png">
</div>
</button>
<section>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl" style="margin: 5% auto;">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Favourite Recipes</h5>
<button type="button" class="close btn-success" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body" id="modal-width"></div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary btn-success" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</section>
<section class="card ingredient-container">
<h2>Pantry</h2>
<br>
<div class="input-group mb-3 w-100">
<input type="text" class="form-control" placeholder="Ingredient" aria-label="Recipient's username" aria-describedby="button-addon2" id="ingredient" name="ingredient">
<button class="btn btn-outline-secondary btn-success" type="button" id="add">Add</button>
</div>
<div class="ingredients">
</div>
<button id="find" class="btn btn-outline-secondary btn-success">Search Recipes</button>
</section>
<section>
<div id="recipes" class="recipe-container"></div>
</section>
<footer>
<div>By Traceydh | Check out the code <a href="https://github.com/Traceydh/recipe-generator">here</a></div>
</footer>
</div>
<!--Bootstrap -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
</body>
</html>