Complete solution (100% reference)
index.html- Main HTML pagescript.js- JavaScript logicstyles.css- Styling and layoutpackage.json- Dependenciessetup.sh- Setup scriptREADME.md- Instructions (below)💡 Download the ZIP, extract it, and follow the instructions below to get started!
By completing this activity, you will:
# Just open index.html in your browser
open index.html
# or double-click the file
Location: index.html - Line 32-33
Success Criteria:
<p></p>Example:
<p>A website is a collection of related webpages, while a webpage is a single page within a website. For example, Google.com is a website, but the Google Search page is a webpage.</p>
Location: index.html - Lines 54-59
Success Criteria:
class="concept-card"<h3> heading with text "JavaScript"<p> paragraph with descriptionExample Structure:
<div class="concept-card">
<h3>JavaScript</h3>
<p>Programming language that adds interactivity to websites</p>
</div>
Location: index.html - Lines 62-69
Success Criteria:
id="practice" and class="section"<h2> heading: "Practice What You've Learned"Example Structure:
<section id="practice" class="section">
<h2>Practice What You've Learned</h2>
<ul>
<li>Create a simple webpage with HTML</li>
<li>Style it using CSS</li>
<li>Add interactive elements with JavaScript</li>
</ul>
<p>Want to learn more? Check out <a href="https://www.youtube.com/results?search_query=web+design+basics" target="_blank">YouTube tutorials</a>!</p>
</section>
Location: style.css - Lines 70-77
Success Criteria:
CSS to Add:
.section {
background-color: rgba(255, 255, 255, 0.95);
margin: 2rem auto;
padding: 2rem;
max-width: 900px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
Location: style.css - Lines 90-96 and 98-102
Success Criteria:
CSS to Add:
.concept-card {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease;
}
.concept-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
Beginner:
Intermediate:
Advanced:
#667eea#764ba2rgba(255, 255, 255, 0.95)#333#667eeaStyles not showing?
style.css is in the same folder as index.html<link> tag in the HTML head is correctCards not displaying in a grid?
.concept-cardclass="concept-card".concepts-grid is working properlyNavigation links not working?
id="practice" and href="#practice")Before submitting, make sure:
Activity 01 - Introduction to Web Design W1: Front-end Design & User Experience Estimated Time: 45-60 minutes