Skip to content
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

added newFile.js #1661

Open
wants to merge 18 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
4 changes: 4 additions & 0 deletions LS Homework Notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
List of LS Homework issues:
1) Can't complete Lesson06 unit tests - from the terminal, the test looks like it starts running then gets stuck in an infinite loop
2) Can't complete Lesson07 Question 'invokeMethod' - can't seem to invoke the method properly
3) Can't complete Lesson08 Question 3 'addReverseString' - my solution seems like it would work, but the directions aren't super clear. come back to this later.
Binary file added Lesson02-HTML-CSS/homework/background-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 53 additions & 1 deletion Lesson02-HTML-CSS/homework/homework.html
Original file line number Diff line number Diff line change
@@ -1 +1,53 @@
<!-- 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>Shayne Smith's HTML homework</title>
<link rel="stylesheet" href="stylesExtraCredit.css" />
<!-- <style>
h1 {
color: lightsalmon;
}

img {
width: 400px;
}

.thirdDiv {
height: 600px;
width: 500px;
background-color: lime;
padding: 50px;
border: 3px solid blue
}

#spanId {
font-size: 18 px;
margin: 50 px;
}
</style> -->
</head>

<body>
<div class="divClass">
<h1>Shayne Smith</h1>
<h3>Lambda School</h3>
<h4>HTML/CSS homework</h4>
</div>
<div class="divClass">
<span id="spanId">Steak and potatoes</span>
<a href="https://www.rolfanddaughters.com/">Rolf and Daughters</a>
</div>
<div id="thirdDiv">
<ul>
<a href="https://www.bonappetit.com/recipe/brown-butter-basted-steak">
<li><img src="http://lorempixel.com/400/200/food/" /></li>
</a>
<a href="https://www.bonappetit.com/recipe/make-ahead-mashed-potatoes">
<li><img src="http://lorempixel.com/400/200/food/" /></li>
</a>
</ul>
</div class="divClass">
</body>

</html>
20 changes: 20 additions & 0 deletions Lesson02-HTML-CSS/homework/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
h1 {
color: rgb(53, 49, 47);
}

img {
width: 400px;
}

#thirdDiv {
height: 600px;
width: 500px;
background-color: rgb(91, 156, 199);
padding: 50px;
border: 3px solid blue
}

#spanId {
font-size: 18 px;
margin: 50 px;
}
45 changes: 45 additions & 0 deletions Lesson02-HTML-CSS/homework/stylesExtraCredit.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/* sets background on entire page to an image */
html {
background: url(./background-image.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

body {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

div {
width: 100%;
text-align: center;
}

h1 {
color: rgb(255, 241, 235);
}

.divClass {
color: rgb(255, 241, 235)
}

img {
width: 400px;
}

#thirdDiv {
height: 600px;
width: 500px;
background-color: rgb(91, 156, 199);
padding: 50px;
border: 3px solid blue
}

#spanId {
font-size: 18 px;
margin: 50 px;
justify-content: center;
}
32 changes: 29 additions & 3 deletions Lesson03-CSS-Positioning/homework/homework.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,62 @@ 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 {
display: none;
}



/* 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;
flex-direction: row-reverse;
justify-content: space-between;
align-items: center;
}


/* Exercise Six */

#exerciseSeven {
display: flex;
flex-direction: column-reverse;
justify-content: center;
align-items: flex-end;
align-self: stretch;
}

#itemFour {
align-self: center;
}
23 changes: 23 additions & 0 deletions Lesson04-JS-I/homework/feynmanWritingPrompts.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Variables {
Variables are essentially placeholders. You can fill them with whatever you want. It could be numbers, words, letters, or even your birthdate.
}

Strings {
Strings are a type of data that can be used by a computer. They are "strings" of text or a series of characters that represent text information.
}

Functions (arguments, return){
Functions are rules that perform a certain task. They can do any number of useful things like adding 2 numbers, finding a name in a database, or determining if a number is prime.

Arguments are what functions take as input. The arguments are manipulated according to the function's rules, creating an output.

The return statement is the mechanism functions used to output updated information.
}

if statements{
'If statements' are statements that determine whether a statement is true or false and control whether certain rules are executed.
}

Boolean values (true, false) {
Boolean values are a deep and fundamental computer concept. They are the input to control statements like 'if statements'. Boolean values can either be true/false, 1/0, or on/off.
}
Loading