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
9 changes: 9 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 @@ -8,6 +8,15 @@
<body>

<!-- Add your code here -->
<form action="/login" method="post">
<label for="email">Email</label>
<input type="email" name="email" id="email" required>

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

<button type="submit">Submit</button>
</form>

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,21 @@

<!-- Add your code here -->

<img src="https://placehold.co/400x180"
alt="developer Image"
srcset="
https://placehold.co/800x360 640w
https://placehold.co/1200x540 1024w
https://placehold.co/1600x720 1440w
https://placehold.co/2000x900 1800w
"
sizes="
(min-width: 1800px) 2000px,
(min-width: 1440px) 1600px,
(min-width: 1024px) 1200px,
(min-width: 640px) 800px,

"
>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,37 @@
width: 100%;
height: auto;
}
@media (max-width : 600px) {
.responsive-image{
aspect-ratio: 1/1;
}
}

@media (min-width:601px){
.responsive-image{
aspect-ratio: 10/8;
}
}

</style>
</head>
<body>

<!-- Add your code here -->
<img
src="https://placehold.co/540x800"
alt="developer Responsive image"
class="responsive-image"
srcset="
https://placehold.co/1200x900 640w,
https://placehold.co/1600x720 1024w
"

sizes="
(min-width: 1024px) 1600px,
(min-width: 640px) 1200px
"
>

</body>
</html>
30 changes: 29 additions & 1 deletion Week 1.1 - HTML/4. Mock Up a Design/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,41 @@
<!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>
<style>

</style>

<body>

<!-- Add your code here -->
<section>
<h2>Phase 4:</h2>
<h1>Destination Thrive</h1>
<h3>Objective: create omni-channel synergy</h3>


<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Doloribus id excepturi neque voluptas nesciunt corporis, ad repellendus perferendis debitis, expedita quae possimus facere rerum quidem asperiores adipisci minima! Rem, molestias.
</p>

<h4>Key Focus:</h4>
<ul>
<li>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Corrupti, eveniet.</li>
<li>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Corrupti, eveniet.</li>
<li>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Corrupti, eveniet.</li>
<li>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Corrupti, eveniet.</li>
<li>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Corrupti, eveniet.</li>
</ul>

<h4>Time</h4>
<p>approx, 24 Months and beyond</p>
</section>

</body>

</html>
6 changes: 5 additions & 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,11 @@

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

</style>

<input type="text" />
Expand Down
7 changes: 5 additions & 2 deletions Week 1.2 - CSS/2. Selectors - Children/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
<body>

<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
8 changes: 5 additions & 3 deletions Week 1.2 - CSS/3. Selectors - Siblings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@

<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;
line-height: 1.6;
color: green;
}
</style>

Expand Down
31 changes: 27 additions & 4 deletions Week 1.2 - CSS/4. Inheritance and Systems/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,36 @@

<style>
/* Add your CSS here */
.btn{
padding: 12px 32px;
border-radius: 4px;
color: balck;
border: none;
margin: 5px;
cursor: pointer;
font-weight: bold;

}
.btn-default{
background-color: #f5f5f5;
}
.btn-primary
{
background-color: #90CDF4;
}
.btn-link{
background-color: transparent;
}
.btn-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="btn btn-default">Default</button>
<button class="btn btn-primary">Primary</button>
<button class="btn btn-link">Link</button>
<button class="btn btn-danger">Danger</button>

</body>
</html>
6 changes: 6 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,12 @@
width: 100px;
height: 100px;
background-color: rebeccapurple;
transition: transform 160ms ease;
}

.box:hover{
transform: scale(2);
transition: transform 200ms ease all;
}
</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 @@ -29,6 +29,7 @@
width: 100%;
height: 100%;
background-image: linear-gradient(to bottom, transparent, black);
pointer-events: none
}
</style>

Expand Down
2 changes: 1 addition & 1 deletion Week 1.3 - JavaScript/1. Filter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// 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(number => number %2===0);

// Custom Code END

Expand Down
7 changes: 3 additions & 4 deletions Week 1.3 - JavaScript/2. Map/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
<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=>({name}))

// Custom Code END

Expand Down
16 changes: 6 additions & 10 deletions Week 1.3 - JavaScript/3. Objects as a Map/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,15 @@

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

const infoMap = {
date: 'July 14, 2025',
time: '1:40 AM',
mood: 'Powerful, sprited'

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 infoMap[key] || 'error invalid option selected';
}
</script>

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

<script>
const counterEl = document.querySelector('[data-counter]');
const buttonEl = document.querySelector('[data-action="increment-counter"]')
let counter = 0;

function increment() {
Expand All @@ -20,6 +21,7 @@ <h1 data-counter>0</h1>
}

// Add your code here to make clicking the button run the increment function
buttonEl.addEventListener('click', increment)
</script>

</body>
Expand Down
7 changes: 7 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,13 @@ <h2>More Jeff Goldblum</h2>

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

const newWrapper = document.createElement('div');
newWrapper.innerHTML = template.innerHTML.trim();

container.appendChild(newWrapper.firstElementChild)
</script>

</body>
Expand Down
15 changes: 15 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,21 @@

<script>
// Add your code here

const movieList = document.querySelector('.movies');
const apiUrl = "https://ghibliapi.vercel.app/films";

fetch(apiUrl)
.then(response => response.json())
.then(data => {
data.forEach(item => {
const li = document.createElement('li');
li.textContent = item.title;
movieList.appendChild(li);
});
}).catch(error =>{
console.error('error fetching data' , error)
})
</script>

</body>
Expand Down
4 changes: 4 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,10 @@
<style>
.cards {
/* Add your code here */
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1rem;
padding: 1rem;
}
</style>

Expand Down
12 changes: 11 additions & 1 deletion Week 2.1 - CSS Grid/2. Placing Items/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,25 @@
display: grid;
margin: 0 auto;
max-width: 800px;
position: relative;
}

.photo > * { mix-blend-mode: multiply; }
.photo > * {
grid-area: 1/1;
width: 100%;
height: auto;
mix-blend-mode: multiply;

}
</style>
</head>
<body>

<style>
/* Add your code here */
.channel{

}
</style>

<div class="photo">
Expand Down
Loading