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
33 changes: 32 additions & 1 deletion Lesson02-HTML-CSS/homework/homework.html
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
<!-- In this file you will complete the homework found in the homework-readme.md file -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Matt Goff's HTML homework</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="divClass">
<h1>Matt Goff</h1>
<h3>Lambda School</h3>
<h4>HTML/CSS homework</h4>
</div>
<div class="divClass">
<span id="spanId">Some Food</span>
<a href="https://www.google.com">Google</a>
</div>
<div id="thirdDiv">
<ul>
<li>
<img src="http://lorempixel.com/200/200" alt=""> Item 1
</li>
<li>
<img src="http://lorempixel.com/200/200" alt=""> Item 2
</li>
</ul>
</div>
</body>
</html>

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

img {width: 40px;}

body {
background-color: aqua;
}

div {
text-align: center;
margin: 0 auto;
}

li {
/* display: inline; */
display:table;
margin:0px auto 0px auto;
}

#thirdDiv {
height: 300px;
width: 300px;
background-color: bisque;
padding: 50px;
border: 4px;
border-style: solid;
}

#spanId {
font-size: 18px;
margin: 50px;
}
33 changes: 27 additions & 6 deletions Lesson03-CSS-Positioning/homework/homework.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,57 @@ in this folder, you are in the wrong place.

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

display: block;
text-align: center;
}


/* Exercise Two: Positioning a Header Bar*/

/* Place code here */

#exerciseTwo {
visibility: hidden;
}


/* Exercise Three: */

/* Place code here */

#exerciseThree {
position: relative;
top: 100px;
left: 200px;
}


/* Exercise Four: */

/* Place code here */

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


/* Exercise Five */

/* Place code here */

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


/* Exercise Six */

#exerciseSeven {
display: flex;
align-items: center;
justify-content: space-evenly;
}

#itemOne {
align-items: center;
}
Empty file added newfile.js
Empty file.