generated from cs1300-2022/cs1300-html-css-js-students
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (51 loc) · 1.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>WebDev Studio</title>
<!-- import javascript variables and functions -->
<script src="app.js" defer></script>
<!-- import CSS styles -->
<link rel="stylesheet" href="styles.css" />
</head>
<!-- page content goes into <body> -->
<body>
<div id="cs1300-gallery">
<h1>Welcome to my bakery</h1>
<p>Add your own images and styles!</p>
<!-- TODO: PART I Add your own images and use CSS flex to make sure they work on different screen sizes -->
<div class="gallery-container">
<img
class="gallery-item"
src="./assets/jeff.jpg"
alt="jeff watching u"
/>
<img class="gallery-item" src="./assets/bakery1.jpeg" alt="pastries" />
<img
class="gallery-item"
src="./assets/pastry1.jpeg"
alt="singular pastry"
/>
<img
class="gallery-item"
src="./assets/pastry2.jpeg"
alt="singular pastry"
/>
<img
class="gallery-item"
src="./assets/pastry3.jpeg"
alt="singular pastry"
/>
<img
class="gallery-item"
src="./assets/pastry4.jpeg"
alt="singular pastry"
/>
</div>
<!-- TODO: PART II Uncomment the line below, and hook up this button to display data from an API -->
<button onclick="updatePage()">
Press this button to display some fruit data
</button>
<div id="fruit-gallery"></div>
</div>
</body>
</html>