Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,28 @@
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<div class="top"></div>
<h1>Header &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</h1>
<div class="b b1">
<div class="new">
New!

</div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>

<div class="b b2">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>


<div class="bottom"></div>





<!-- This is where you will begin your solution -->

</body>
</html>
19 changes: 19 additions & 0 deletions mockups/test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<head>
<title>Introduction to the DOM</title>
<!-- Here we reference our styles.css for our page styling -->
<link rel="stylesheet" href="./styles.css">
</head>
<section class="container">
<div class="left-half">
<article>
<h1>Left Half</h1>
<p>Weekends don't count unless you spend them doing something completely pointless.</p>
</article>
</div>
<div class="right-half">
<article>
<h1>Right Half</h1>
<p>If your knees aren't green by the end of the day, you ought to seriously re-examine your life.</p>
</article>
</div>
</section>
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 49 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
.b{
display:inline-block;
position: absolute;
width: calc(50%);
background-color: white;
border:9.32px solid black;
padding: 10px;
}
.b1{
left: 0px;
}
.b2{
right: 0px;
}

.new{
background-color: gray;
position: absolute;
top: 10px;
right:16%;
padding:8px;

}

.cont{
margin-top:10%;
}

.top{
position: fixed ;
top:0;
width: 100%;
height: 5%;
background-color: black;

}
.bottom{
position: fixed ;
bottom:0;
width: 100%;
height: 5%;
background-color: black;

}

h1 {
margin-top:50px;
text-align: center;
}