Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
0d162ca
Created mock up design
sebasgamboa2711 May 12, 2025
845c859
Merge pull request #8 from sebasgamboa2711/Sebas-Bootcamp-1.4
sebasgamboa2711 May 12, 2025
2a26ac3
Update index.html
sebasgamboa2711 May 13, 2025
261a093
Update index.html
sebasgamboa2711 May 13, 2025
f736f9a
Update index.html
sebasgamboa2711 May 13, 2025
cf9a0c9
Update index.html
sebasgamboa2711 May 13, 2025
8eec716
Update index.html
sebasgamboa2711 May 13, 2025
13fd6a7
Update index.html
sebasgamboa2711 May 13, 2025
e09ceec
Update index.html
sebasgamboa2711 May 13, 2025
a58fc9e
HTML Solutions
sebasgamboa2711 May 13, 2025
3f52da4
Update index.html
sebasgamboa2711 May 14, 2025
5d6dee8
Update index.html
sebasgamboa2711 May 14, 2025
9841625
Update index.html
sebasgamboa2711 May 14, 2025
6e1f6a3
Update index.html
sebasgamboa2711 May 14, 2025
7c73712
Update index.html
sebasgamboa2711 May 14, 2025
026373f
Update index.html
sebasgamboa2711 May 15, 2025
db8ce24
Update index.html
sebasgamboa2711 May 15, 2025
775be30
Update index.html
sebasgamboa2711 May 15, 2025
a53e2b3
Update index.html
sebasgamboa2711 May 16, 2025
49a57fa
Update index.html
sebasgamboa2711 May 16, 2025
7e201cd
Update index.html
sebasgamboa2711 May 16, 2025
a5e64b8
Update index.html
sebasgamboa2711 May 16, 2025
e56af78
HTML 1.4 Fix
sebasgamboa2711 May 21, 2025
b931c3f
CSS 1.2.4 Fix
sebasgamboa2711 May 21, 2025
2b929f7
3-across
sebasgamboa2711 May 28, 2025
e393e64
Re work fixes
sebasgamboa2711 Jun 5, 2025
81b31ab
Re work fixes
sebasgamboa2711 Jun 6, 2025
e8eacb6
Re work fixes V3
sebasgamboa2711 Jun 6, 2025
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
15 changes: 14 additions & 1 deletion Week 1.1 - HTML/1. Build a Form/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@
</head>
<body>

<!-- Add your code here -->
<form action="/login/" method="POST">
<h2>Login</h2>

<!-- Email Field -->
<label for="email">Email Address</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required aria-label="Email Address">

<!-- Password Field -->
<label for="password">Password</label>
<input type="password" id="password" name="password" placeholder="Enter your password" required aria-label="Password">

<!-- Submit Button -->
<button type="submit">Login</button>
</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 -->
<!-- Responsive Image -->
<picture>
<source srcset="https://placehold.co/2000x900" media="(min-width: 1800px)">
<source srcset="https://placehold.co/1600x720" media="(min-width: 1440px)">
<source srcset="https://placehold.co/1200x540" media="(min-width: 1024px)">
<source srcset="https://placehold.co/800x360" media="(min-width: 640px)">
<img src="https://placehold.co/400x180" alt="A responsive placeholder image">
</picture>

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

<!-- Add your code here -->
<!-- Responsive Image -->
<picture>
<source srcset="https://placehold.co/1600x720" media="(min-width: 1024px)">
<source srcset="https://placehold.co/1200x900" media="(min-width: 640px)">
<img src="https://placehold.co/540x800" alt="A responsive placeholder image">
</picture>

</body>
</html>
36 changes: 35 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 @@ -7,7 +7,41 @@
</head>
<body>

<!-- Add your code here -->
<!-- Slider Wrapper -->
<div class="slider">
<!-- Dot Navigation -->
<nav class="dot-navigation">
<ul>
<li><button aria-label="Go to slide 1"></button></li>
<li><button aria-label="Go to slide 2"></button></li>
<li><button aria-label="Go to slide 3"></button></li>
<li><button aria-label="Go to slide 4" class="active"></button></li>
<li><button aria-label="Go to slide 5"></button></li>
</ul>
</nav>

<!-- Slide Section -->
<section class="slide">
<h1>Phase 4: Destination Thrive</h1>
<h2>Objective: Create omni-channel synergy</h2>
<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 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>

<!-- Key Focus Section -->
<h3>Key Focus:</h3>
<ul>
<li>Harvesting the demand 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>

<!-- Time Section -->
<h3>Time</h3>
<p>approx. 24 months and beyond</p>
</section>
</div>

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

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

<style>
/* Update the following line of CSS to only style `<p>` that follow an `<h2>` */
p {
font-size: 22px;
line-height: 1.5;
color: rebeccapurple;
}
h2 + p {
font-size: 22px;
line-height: 1.5;
color: rebeccapurple;
}
</style>

<section>
Expand Down
42 changes: 36 additions & 6 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,44 @@
<body>

<style>
/* Add your CSS here */
/* Base button styles */
button {
border-radius: 4px;
padding: 12px 32px;
color: black;
border: none;
cursor: pointer;
font-size: 16px;
}

/* Default button */
.button-default {
background-color: #f5f5f5;
}

/* Primary button */
.button-primary {
background-color: #90CDF4;
}

/* Link button */
.button-link {
background-color: transparent;
text-decoration: underline;
border: none;
padding: 0; /* Remove padding for link style */
}

/* Danger button */
.button-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="button-default">Default</button>
<button class="button-primary">Primary</button>
<button class="button-link">Link</button>
<button class="button-danger">Danger</button>

</body>
</html>
18 changes: 12 additions & 6 deletions Week 1.2 - CSS/5. Transitions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,18 @@
<body>

<style>
/* Modify the CSS below to add the desired hover effect and animation */
.box {
width: 100px;
height: 100px;
background-color: rebeccapurple;
}
/* Add hover effect and animation */
.box {
width: 100px;
height: 100px;
background-color: rebeccapurple;
transition: transform 200ms ease-in, transform 160ms ease-out;
transform-origin: center;
}

.box:hover {
transform: scale(2); /* Grows to twice its size */
}
</style>

<div class="box"></div>
Expand Down
18 changes: 9 additions & 9 deletions Week 1.2 - CSS/6. Tricks - Click Passthrough/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
<body>

<style>
/* Add 1 line to the CSS below to make the link clickable without changing the design */
.overlay {
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: linear-gradient(to bottom, transparent, black);
}
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: linear-gradient(to bottom, transparent, black);
pointer-events: none; /* Added line to allow clicks to pass through */
}
</style>

<div class="container">
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
2 changes: 1 addition & 1 deletion Week 1.3 - JavaScript/2. Map/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.map(name => ({ name }));

// Custom Code END

Expand Down
20 changes: 8 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 @@ -13,19 +13,15 @@

// Rewrite this function to replace the if/else logic with a map lookup.
function getInformation(key) {
let rtn;
// Create a map using an object
const infoMap = {
date: 'October 6, 1986',
time: '21:13 PM',
mood: 'Powerful, spirited...'
};

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 the value from the map or a default error message
return infoMap[key] || 'Error: Invalid option selected...';
}
</script>

Expand Down
3 changes: 2 additions & 1 deletion Week 1.3 - JavaScript/4. Event Listeners/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ <h1 data-counter>0</h1>
counterEl.innerText = counter;
}

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

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

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

// Get the inner HTML of the template
const templateContent = template.innerHTML;

// Select the .container element
const container = document.querySelector('.container');

// Append the template content to the .container element
container.innerHTML += templateContent;
</script>

</body>
Expand Down
16 changes: 15 additions & 1 deletion Week 1.3 - JavaScript/Data Fetching/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,21 @@
<ul class="movies"></ul>

<script>
// Add your code here
// Fetch data from the Ghibli API
fetch('https://ghibliapi.vercel.app/films')
.then(response => response.json()) // Parse the JSON response
.then(films => {
// Select the .movies list
const moviesList = document.querySelector('.movies');

// Loop through the films and create <li> elements for each title
films.forEach(film => {
const listItem = document.createElement('li');
listItem.textContent = film.title; // Set the text content to the film title
moviesList.appendChild(listItem); // Append the <li> to the .movies list
});
})
.catch(error => console.error('Error fetching data:', error)); // Handle errors
</script>

</body>
Expand Down
21 changes: 2 additions & 19 deletions Week 2.1 - CSS Grid/1. Responsive Grids/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,14 @@
<title>Responsive Grid</title>

<style>
*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
margin: 0;
padding: 0;
}

.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
margin: 0 auto;
padding: 0 20px;
max-width: 1200px;
}
</style>
</head>
<body>

<style>
.cards {
/* Add your code here */
}
</style>

<section class="cards">
<article class="card">
Expand Down
11 changes: 10 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 @@ -18,7 +18,16 @@
<body>

<style>
/* Add your code here */
.photo {
display: grid;
margin: 0 auto;
max-width: 800px;
}

.photo > * {
grid-area: 1 / 1; /* Place all images in the same grid cell */
mix-blend-mode: multiply;
}
</style>

<div class="photo">
Expand Down
Loading