HTML Layout Activity

 The header of the Page

The Body
and the Footer

the code used to make it

<!DOCTYPE html>
<html>
<head>
<style>
.item1 { grid-area: header; }
.item2 { grid-area: menu; }
.item3 { grid-area: main; }
.item4 { grid-area: right; }
.item5 { grid-area: footer; }

.grid-container {
  display: grid;
  grid-template-areas:
    'header header header header header header'
    'menu main main main main right'
    'menu footer footer footer footer footer'
    'menu footer footer footer footer footer';
  grid-gap: 4px;
  background-color: #9c3c00;
  padding: 2px;
}

.grid-container > div {
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 100px 0;
  font-size: 30px;
}
</style>
</head>
<body>

<div class="grid-container">
  <div class="item1"> <h1>Puppy Town</h1> <br>
  <img src="https://www.cesarsway.com/wp-content/uploads/2019/09/AdobeStock_195276899.jpeg" style="width:700px;height:500px;"></div>
  <div class="item2"><h1>List of Breeds</h1> <br>
  German Shepherd <br>
  Golden Retriever <br>
  Wolf <br>
  Dog <br>
  Stray <br>
  Labrador <br>
  Poodle</div>
  <div class="item3">Puppies are great fun but also a great responsibility. This new addition to your family will require lots of love, attention and plenty of supplies. To get you started, we'll help with training, discipline, play time and everything in between.</div>  
  <div class="item4">More Doggos <br>
  <img src="https://www.sciencemag.org/sites/default/files/styles/article_main_large/public/main_puppies_1280p.jpg?itok=ZZ1podQK" style="width:700px;height:500px;"></div>
  <div class="item5">Shhh they're sleeping <br>
  <img src="https://cdn.shopify.com/s/files/1/0272/4770/6214/articles/why-are-my-newborn-puppies-crying.jpg?v=1593020059" style="width:700px;height:500px;"></div>
</div>

</body>
</html>

Comments

Popular posts from this blog

Animation Transition Activity

Adding A Youtube Link Embed

let's talk about Sketches