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
11 changes: 11 additions & 0 deletions Week 1.1 - HTML/1. Build a Form/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,16 @@

<!-- Add your code here -->

<form action="/login/" method="POST">
<label for="email">Email Address:</label>
<input type="email" name="Email">

<label for="password">Password:</label>
<input type="password" name="Password" id="">

<label for="submit">Login</label>
<input type="submit">
</form>

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@
</head>
<body>

<!-- Add your code here -->
<img
srcset="https://via.placeholder.com/2000x900 2000w, https://via.placeholder.com/1600x720 1600w, https://via.placeholder.com/1200x540 1200w, https://via.placeholder.com/800x360 800w, https://via.placeholder.com/400x180 400w"
sizes="(min-width: 1800px) 2000px,
(min-width: 1440px) 1600px,
(min-width: 1024px) 1200px,
(min-width: 640px) 800px"
src="https://via.placeholder.com/400x180" alt="placeholder image"
/>

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@
</head>
<body>

<!-- Add your code here -->
<img
srcset="https://via.placeholder.com/1600x720 1600w, https://via.placeholder.com/1200x900 1200w"
sizes="(min-width: 1024px) 1600px,
(min-width: 640px) 1200px"
src="https://via.placeholder.com/540x800" alt="placeholder image"
/>

</body>
</html>
45 changes: 44 additions & 1 deletion Week 1.1 - HTML/4. Mock Up a Design/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,51 @@
<title>Mock Up a Design</title>
</head>
<body>

<div id="scrollIndicator">
<ul>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li class="active"><a href="#phase4"></a></li>
<li><a href="#"></a></li>

</ul>
</div>

<!--content between top of page and phase 4 section-->

<!-- Add your code here -->
<section id="phase4">
<div id="sectionHeader">
<h4>Phase 4</h4>
<h2>Destination Thrive</h2>
<h5>Objective: Create omni-channel synergy</h5>
</div>

<div>
<p>This is the time to fully leverage your hard work and thrive. During this phase, attention should be given to creating omni-channel synergy, syncing your messaging and channels from top to bottom. Scale high performing channels and fully harvest the demand for your top of funnel awareness campaigns have been creating. Use insights gained from your contact lists, data, and web analytics to do prospecting and build look-a-like audiences for incremental growth.</p>
<h6>Key Focus:</h6>
<p>
<ul>
<li>Harvesting the demaand created by your content marketing efforts</li>
<li>Scale paid media and social efforts</li>
<li>Leverage your new audiences</li>
<li>Omni-channel synergy</li>
</ul>
</p>
<h6>Time</h6>
<img src="" alt="clock illustration">
<p>approx. 24 months and beyond</p>
</div>

</section>

</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
32 changes: 27 additions & 5 deletions Week 1.2 - CSS/4. Inheritance and Systems/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,36 @@
<body>

<style>
/* Add your CSS here */
/*global button styling*/
button {
border-radius: 4px;
padding: 12px 32px;
color: black;
}

.default {
background-color: #f5f5f5;
}

.primary {
background-color: #90CDF4;
}

.link {
background-color: transparent;
border: none;
}

.danger {
background-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>
7 changes: 7 additions & 0 deletions Week 1.2 - CSS/5. Transitions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
width: 100px;
height: 100px;
background-color: rebeccapurple;
transition: 160ms;
}

.box:hover {
width: 200px;
height: 200px;
transition: height 200ms;
}
</style>

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 @@ -22,6 +22,7 @@
<style>
/* Add 1 line to the CSS below to make the link clickable without changing the design */
.overlay {
pointer-events: none;
position: absolute;
z-index: 1;
top: 0;
Expand Down
15 changes: 13 additions & 2 deletions Week 1.3 - JavaScript/1. Filter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,22 @@

<script>
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 = [];

numberSorter()

function numberSorter() {
for(var x=0; x<=startingArray.length; x++) {
if(x % 2 == 0) {
endingArray.push(x)
}
}
}

// Custom Code END

Expand Down
4 changes: 4 additions & 0 deletions Week 1.3 - JavaScript/2. Map/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
// You must store your new array in the `endingArray` variable for it to log out properly.
let endingArray;

endingArray = startingArray.map(function(item){
return {"name":item};
})

// Custom Code END

console.log(endingArray);
Expand Down
33 changes: 21 additions & 12 deletions Week 1.3 - JavaScript/3. Objects as a Map/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,30 @@
console.log(information);

// Rewrite this function to replace the if/else logic with a map lookup.
function getInformation(key) {
let rtn;
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...';
var dataTable = {
date: 'October 6, 1986',
time: '21:13 PM',
mood: 'Powerful, spirited...'
}

return 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...';
// }

// return rtn;
return dataTable[key] || 'Error: Invalid operation selected...'
}


</script>

</body>
Expand Down
4 changes: 4 additions & 0 deletions Week 1.3 - JavaScript/4. Event Listeners/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ <h1 data-counter>0</h1>
}

// Add your code here to make clicking the button run the increment function

var myButton = document.querySelector('[data-action]')

myButton.addEventListener('click', increment)
</script>

</body>
Expand Down
5 changes: 5 additions & 0 deletions Week 1.3 - JavaScript/5. DOM Manipulation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ <h2>More Jeff Goldblum</h2>

<script>
// Add you code here
var text = document.querySelector('[type="text/template"]').innerHTML;

var paragraph = document.querySelector('.container');

paragraph.innerHTML += text;
</script>

</body>
Expand Down
5 changes: 5 additions & 0 deletions Week 1.3 - JavaScript/Data Fetching/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

<script>
// Add your code here
fetch('https://ghibliapi.herokuapp.com')
.then((response) => response.json())
.then((data) =>console.log(data))

//API seems to be down
</script>

</body>
Expand Down
3 changes: 3 additions & 0 deletions Week 2.1 - CSS Grid/1. Responsive Grids/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
<style>
.cards {
/* Add your code here */
/*grid display hasnt been declared anywhere else, declaring grid and min width dont make any changes, everything stays on an individual row anyway. */
display: grid;
min-width: 280px;
}
</style>

Expand Down
4 changes: 4 additions & 0 deletions Week 2.1 - CSS Grid/2. Placing Items/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

<style>
/* Add your code here */
.channel {
grid-row: 1;
grid-column: 1;
}
</style>

<div class="photo">
Expand Down
Loading