Skip to content

added newFile.js #1663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
49 changes: 48 additions & 1 deletion Lesson02-HTML-CSS/homework/homework.html
Original file line number Diff line number Diff line change
@@ -1 +1,48 @@
<!-- In this file you will complete the homework found in the homework-readme.md file -->
<!-- In this file you will complete the homework found in the homework-readme.md file -->
<html>
<head>
<title>Sone Thaya's HTML Homework</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<div class="container">
<div class="divClass">
<h1>Sone Thaya</h1>
<h3>Lambda School</h3>
<h4>HTML/CSS homework</h4>
</div>
<div class="divClass">
<span id="spanId">My favorite food is pizza.</span>
<br>
<a href="http://www.pizzahut.com">Pizza Hut</a>
</div>
<div class="thirdDiv">
<h4>favorite toppings</h4>
<ul>
<li>pepperoni</li>
<li>bacon</li>
</ul>
<img src="https://www.kingarthurflour.com/sites/default/files/styles/featured_image/public/recipe_legacy/20-3-large.jpg?itok=1EY8KWJG" />
</div>

<div class="types">
<header>Pizza Toppings</header>
<section>
<article>
<h4>Cheese Pizza</h4>
<p>Cheese Pizza
Your favorite cheese pizza made with classic marinara sauce topped with mozzarella cheese</p>
</article>
<article>
<h4>Pepperoni Pizza</h4>
<p>This gourmet pizza is ideal for easy late night delivery, complete with mozzarella cheese and pepperoni.</p>
</article>
<article>
<h4>Supreme Pizza</h4>
<p>Enjoy this freshly prepared pizza for family dinner or a group lunch, including pepperoni, seasoned pork, beef, mushrooms.</p>
</article>
</section>
</div>
</div>
</body>
</html>
37 changes: 37 additions & 0 deletions Lesson02-HTML-CSS/homework/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
h1 {
color: aqua;
}
img {
width: 400px;
}
.thirdDiv {
margin: auto;
height: 600px;
width: 500px;
background-color: red;
padding: 50px;
border: 5px solid black;
}
.spanId {
font: 18px;
margin: 50px;
}
body {
background-image: url(https://www.simplyrecipes.com/wp-content/uploads/2007/01/homemade-pizza-horiz-a-1200.jpg);
background-size: cover;
}
.container {
justify-content: center;
flex-direction: center;
text-align: center;
}
section {
display: flex;
border: 5px solid black;
background-color: aqua;
}
header {
font-size: 36px;
background-color: darkorchid;
border: 5px solid black;
}
48 changes: 32 additions & 16 deletions Lesson03-CSS-Positioning/homework/homework.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,57 @@ Lesson 3: CSS positioning homwork. All of your work should be done in this file.
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 {

text-align: center;
}


/* Exercise Two: Positioning a Header Bar*/

/* Place code here */



#exerciseTwo {
border: none;
}
/* Exercise Three: */

/* Place code here */



#exerciseThree {
top: 100px;
left: 200px;
position: relative;
}
/* Exercise Four: */

/* Place code here */


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

/* Exercise Five */

/* Place code here */
#exerciseFive {
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: row-reverse;
}



/* Exercise Six */

/* Exercise Seven */
#exerciseSeven {
display: flex;
display: flex;
justify-content: space-around;
}
#itemFour {
align-self: flex-end;
}
#itemThree {
align-self: center;
}
#itemTwo {
align-self: center;
}
Empty file added newFile.js
Empty file.