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
28 changes: 25 additions & 3 deletions src/Assignment-1/assignment1.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
/* Our CSS file. */


.container, .content {
width: 100%;
height: 100%;
.container,
.content {
width: 100%;
height: 100%;
}

.full-width-div {
height: 50vh;
width: 100vw;
}

.left-div {
height: 100%;
width: 50vw;
float: left;
}

.right-div {
height: 100%;
width: 50vw;
float: right;
}
h1{
vertical-align: middle;
text-align: center;
}
24 changes: 22 additions & 2 deletions src/Assignment-1/assignment1.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,28 @@

<!-- This is just a comment. Ignore this line.-->
<!-- Start your code from here -->


<div class="full-width-div" >
<div class="left-div">
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
<ul><li>List Item 3.1</li>
<li>List Item 3.2</li>
</ul>
</ul>
</div>
<div class="right-div">
<img src="https://images.unsplash.com/photo-1648693956698-ad30bf033b35?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=870&q=80" alt="image by Aedrian" width="100%" height="100%">
</div>
<div class="full-width-div" >
<div class="left-div">
<img src="https://images.unsplash.com/photo-1647966524274-7accdc8b29f2?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1032&q=80" alt="Image by Chandler Cruttenden" width="100%" height="100%">
</div>
<div class="right-div">
<h1>The largest community of photo enthusiasts</h1>
</div>
</div>
<!-- End your code -->

</div>
Expand Down