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
13 changes: 10 additions & 3 deletions Week 1.1 - HTML/1. Build a Form/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Build a Form</title>
</head>
<body>

<!-- Add your code here -->

<body>
<form action="/login/" method="POST" id="form1">
<label for="email">Email Adress:</label>
<input id="email" name="email">
<label for="password">Password:</label>
<input id="password" name="password">
</form>
<button type="submit" form="form1" value="submit">Submit</button>
</body>

</html>
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@
</style>
</head>
<body>

<!-- Add your code here -->

<img
src="https://via.placeholder.com/400x180" width="400" height="180"
srcset="
https://via.placeholder.com/800x360 640w,
https://via.placeholder.com/1200x540 1024w,
https://via.placeholder.com/1600x720 1440w,
https://via.placeholder.com/2000x900 1800w
"
/>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand All @@ -8,7 +9,9 @@
<style>
*,
*::before,
*::after { box-sizing: border-box; }
*::after {
box-sizing: border-box;
}

html {
margin: 0;
Expand All @@ -22,9 +25,13 @@
}
</style>
</head>
<body>

<!-- Add your code here -->

<body>
<picture>
<source media="(min-width: 640px)" srset="https://via.placeholder.com/1200x900" />
<source media="(min-width: 1024px)" srset="https://via.placeholder.com/1600x720" />
<img alt="resource" src="https://via.placeholder.com/540x800" width="540px" height="800px"/>
</picture>
</body>

</html>
34 changes: 32 additions & 2 deletions Week 1.1 - HTML/4. Mock Up a Design/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,43 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mock Up a Design</title>
</head>

<body>

<!-- Add your code here -->

<header>
<h2 style="line-height: 0px">Phase 4: </h2>
<h3 style="font-size: 40px">Destination Thrive</h3>
<h4>Objective: Create omni-channel synergy</h4>
</header>
<main>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Unde fugit, possimus suscipit culpa quibusdam
blanditiis delectus, tempora in itaque, nam quos nisi. Cumque voluptates, molestias quo quisquam fugiat
itaque
nam blanditiis suscipit ad obcaecati dolores iusto optio unde doloremque dolor saepe expedita nemo dicta
labore
in fugit consequuntur deleniti! Eveniet ea minima, adipisci necessitatibus asperiores aliquid ullam
laboriosam
iusto ratione vero ex quidem est deleniti voluptatem, a unde eius ab, impedit accusamus? Hic, optio commodi
aliquid minima iusto eaque quaerat?</p>
<section>
<h3>Key Focus: </h3>
<li>Harvesting the demand created by your content marketing efforts</li>
<li>Scale paid media and social efforts</li>
<li>Leverage your new audiances</li>
<li>Omni-channel synergy</li>
</section>

<section>
<h3>Time &#128354</h3>
<p>approx. 24 months and beyond</p>
</section>
</main>

</body>

</html>
2 changes: 1 addition & 1 deletion Week 1.2 - CSS/1. Selectors - Attributes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<style>
/* Update the following line of CSS to only style the inputs of type `text` */
* { border: 2px solid rebeccapurple; }
input[type="text"] { border: 2px solid rebeccapurple; }
</style>

<input type="text" />
Expand Down
2 changes: 1 addition & 1 deletion Week 1.2 - CSS/2. Selectors - Children/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<style>
/* Update the following line of CSS to only style the immediate `.item` children of `.container` */
.container .item { border: 2px solid rebeccapurple; }
.container > .item { border: 2px solid rebeccapurple; }
</style>

<ul class="container">
Expand Down
2 changes: 1 addition & 1 deletion Week 1.2 - CSS/3. Selectors - Siblings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<style>
/* Update the following line of CSS to only style `<p>` that follow an `<h2>` */
p {
h2 + p {
font-size: 22px;
line-height: 1.5;
color: rebeccapurple;
Expand Down
33 changes: 28 additions & 5 deletions Week 1.2 - CSS/4. Inheritance and Systems/index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,44 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Inheritance and Systems</title>
</head>

<body>

<style>
/* Add your CSS here */
button {
border-radius: 4px;
padding: 12px 32px;
color: black;
}
.default {
background-color: #f5f5f5;
}
.primary {
background-color: #90CDF4;
border-color: #90CDF4;
}
.link {
background-color: transparent;
}
.danger {
background-color: #FEB2B2;
border-color: #FEB2B2;
}

</style>

<!-- Add as many or as few classes as needed to accomplish the goal to the buttons below -->
<button>Default</button>
<button>Primary</button>
<button>Link</button>
<button>Danger</button>
<button class="default">Default</button>
<button class="primary">Primary</button>
<button class="link">Link</button>
<button class="danger">Danger</button>

</body>

</html>
5 changes: 5 additions & 0 deletions Week 1.2 - CSS/5. Transitions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
height: 100px;
background-color: rebeccapurple;
}
.box:hover {
width: 200px;
height: 200px;
transition-duration: 200ms;
}
</style>

<div class="box"></div>
Expand Down
1 change: 1 addition & 0 deletions Week 1.2 - CSS/6. Tricks - Click Passthrough/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
width: 100%;
height: 100%;
background-image: linear-gradient(to bottom, transparent, black);
pointer-events: none;
}
</style>

Expand Down
16 changes: 12 additions & 4 deletions Week 1.3 - JavaScript/1. Filter/index.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Filter</title>
</head>

<body>

<script>
const startingArray = [1,2,3,4,5,6,7,8,9,10];




const startingArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

// Custom Code BEGIN
// Modify the code in this block however you need to get the desired ending array.
// You must store your new array in the `endingArray` variable for it to log out properly.
let endingArray;
let endingArray = startingArray.filter((num) => {
return num % 2 === 0
})

// Custom Code END

console.log(endingArray);
</script>

</body>

</html>
9 changes: 7 additions & 2 deletions Week 1.3 - JavaScript/2. Map/index.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Map</title>
</head>

<body>

<script>
const startingArray = ['Sergio', 'Keve', 'Kam', 'Bree', 'Blake'];

// Custom Code BEGIN
// Modify the code in this block however you need to get the desired ending array.
// You must store your new array in the `endingArray` variable for it to log out properly.
let endingArray;
let endingArray = startingArray.map((name) => {
return { name: name }
})

// Custom Code END

console.log(endingArray);
</script>

</body>

</html>
30 changes: 15 additions & 15 deletions Week 1.3 - JavaScript/3. Objects as a Map/index.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Objects as a Map</title>
</head>

<body>

<script>
const information = getInformation('date');
console.log(information);

// Rewrite this function to replace the if/else logic with a map lookup.
function getInformation(key) {
let rtn;

if (key === 'date') {
rtn = 'October 6, 1986';
} else if (key === 'time') {
rtn = '21:13 PM';
} else if (key === 'mood') {
rtn = 'Powerful, spirited...';
} else {
rtn = 'Error: Invalid option selected...';
const infoObject = {
date: 'October 6, 1986',
time: '21:13 PM',
mood: 'Powerful, spirited...',
default: 'Error: Invalid option selected...',
}

return rtn;
const objectArr = Object.entries(infoObject);
const infoObjectMap = new Map(objectArr);
return infoObjectMap.get(key)
}



</script>

</body>

</html>
8 changes: 4 additions & 4 deletions Week 1.3 - JavaScript/4. Event Listeners/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
<title>Event Listeners</title>
</head>
<body>

<h1 data-counter>0</h1>
<button data-action="increment-counter">+1</button>

<script>
const counterEl = document.querySelector('[data-counter]');
let counter = 0;
Expand All @@ -18,8 +16,10 @@ <h1 data-counter>0</h1>
counter++;
counterEl.innerText = counter;
}

// Add your code here to make clicking the button run the increment function
const counterBtn = document.querySelector('[data-action="increment-counter"]');
counterBtn.addEventListener("click",()=>{
increment();
})
</script>

</body>
Expand Down
4 changes: 3 additions & 1 deletion Week 1.3 - JavaScript/5. DOM Manipulation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ <h2>More Jeff Goldblum</h2>
</main>

<script>
// Add you code here
let myScript = document.querySelector('script[type="text/template"]').innerHTML
let textContainer = document.querySelector('main.container')
textContainer.insertAdjacentHTML("beforeend",myScript);
</script>

</body>
Expand Down
Loading