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
32 changes: 31 additions & 1 deletion Lesson02-HTML-CSS/homework/homework.html
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
<!-- In this file you will complete the homework found in the homework-readme.md file -->
<html>

<head>
<title>David Winchester's HTML homework</title>
<!-- <style></style> -->
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>

<body class="container">
<div class="divClass">
<h1>David Winchester</h1>
<h3>Lambda School</h3>
<h4>HTML/CSS homework</h4>
</div>
<div class="divClass">
<span id="spanId">St. Louis does pizza in a very unique way. The crust is very thin. It's also unleavened, which makes it cracker-like. It's cut it into squares. Most importantly, it uses a unique cheese called Provel. It's like mozzarella, but not stretchy and with flavor.</span>
<a href="http://www.imospizza.com">Imo's Pizza</a>
</div>
<div id="thirdDiv">
<ul>
<li>
<img src="https://upload.wikimedia.org/wikipedia/commons/6/6f/Imos_Hampton_Deluxe-OliveCanadianbacon.JPG" />
</li>
<li>
<img src="https://upload.wikimedia.org/wikipedia/commons/6/6b/Imos_Pizza_in_the_box_1.jpg" />
</li>
</ul>
</div>
</body>

</html>
33 changes: 33 additions & 0 deletions Lesson02-HTML-CSS/homework/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
h1 {
color: darkslateblue;
}

img {
width: 400px;
}

#thirdDiv {
height: 600px;
width: 500px;
background-color: whitesmoke;
padding: 50px;
}

.spanId {
font-size: 18px;
margin: 50px;
}

.divClass {
text-align: center;
}

.container {
margin: auto;
width: 600px;
}

html {
background: url("https://upload.wikimedia.org/wikipedia/commons/4/48/STL_Skyline_2007_edit.jpg") no-repeat center fixed;
background-color: #cccccc;
}
39 changes: 28 additions & 11 deletions Lesson03-CSS-Positioning/homework/homework.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,55 @@ in this folder, you are in the wrong place.

/* Exercise One: Centering the text in a span */


/* We will start this one off for you: */
#exerciseOne {

#exerciseOne {
text-align: center;
display: block;
}


/* Exercise Two: Positioning a Header Bar*/

/* Place code here */

#exerciseTwo {
color: #e5efff;
border: 1px solid #e5efff;
}


/* Exercise Three: */

/* Place code here */

#exerciseThree {
margin-left: 200px;
margin-top: 100px;
}


/* Exercise Four: */

/* Place code here */

#exerciseFour {
position: fixed;
top: 0;
left: 0;
}


/* Exercise Five */

/* Place code here */

#exerciseFive {
display: flex;
flex-direction: row-reverse;
justify-content: space-evenly;
align-items: center;
}


/* Exercise Six */

#exerciseSeven {
display: flex;
}
display: flex;
flex-direction: row;
justify-content: center;
align-items: stretch;
}
Loading