summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8grid1/8.3.index.html
diff options
context:
space:
mode:
Diffstat (limited to 'HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8grid1/8.3.index.html')
-rw-r--r--HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8grid1/8.3.index.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8grid1/8.3.index.html b/HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8grid1/8.3.index.html
new file mode 100644
index 0000000..195a419
--- /dev/null
+++ b/HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8grid1/8.3.index.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <title>Grid Gallery</title>
+ <meta charset="utf-8">
+ <style>
+* { box-sizing: border-box; }
+body { background-color: #FEFEFE; }
+header { text-align: center; }
+
+#gallery {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, 200px);
+ grid-template-rows: auto;
+ grid-gap: 2em; gap: 2em;
+}
+
+
+
+
+
+
+
+ </style>
+ </head>
+ <body>
+ <header>
+ <h1>Grid Gallery</h1>
+ </header>
+ <main>
+ <div id="gallery">
+ <img src="8.3.bird1.jpg" width="200" height="150" alt="Red Crested Cardinal">
+ <img src="8.3.bird2.jpg" width="200" height="150" alt="Rose-Breasted Grosbeak">
+ <img src="8.3.bird3.jpg" width="200" height="150" alt="Gyrfalcon">
+ <img src="8.3.bird4.jpg" width="200" height="150" alt="Rock Wren">
+ <img src="8.3.bird5.jpg" width="200" height="150" alt="Coopers Hawk">
+ <img src="8.3.bird6.jpg" width="200" height="150" alt="Immature Bald Eagle">
+ </div>
+ </main>
+ </body>
+</html>
+
+