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
Binary file added module2-solution/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion module2-solution/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
<!DOCTYPE html>
<html>
<head>

<meta charset="utf-8">
<title>module2-solution</title>

</head>
<style >
/*basic style*/
Expand Down Expand Up @@ -143,4 +145,4 @@ <h1>Woo Hoo !!!</h1>
<p class="content">Pay attention to the spacing shown in the mockup illustrations. Note the spacing between sections (both horizontal and vertical). Note the horizontal spacing between the edges of the section and the edges of the browser window. Also, note the spacing between the dummy text in each section and the edges of the section. Lastly, make sure the dummy text is "pushed down" enough so it doesn't overlap the section title region. (Hint: use margins and padding and use border-box as your box-sizing as discussed in Lecture 19.)</p>
</div>
</body>
</html>
</html>
3 changes: 2 additions & 1 deletion module2-solution/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
box-sizing: border-box;
}
body {
background-color: #9E8851;
background-image: url("background.jpg");
background-color: #FEF5CA;
}
h1 {
margin: 100px;
Expand Down