Student starter code (30% baseline)
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!
<div> elements and semantic structure# Just open index.html in your browser
open index.html
# OR double-click index.html in your file explorer
No installation or setup needed! The template works immediately in any modern web browser.
Location: index.html - Inside the first dining-table div (around line 42)
Success Criteria:
class="green-plate"Hints:
.green-plate is already written for you (check style.css line 92)Expected Result: Three plates side-by-side (Red Spoon, Yellow Fork, Green Knife)
Location: index.html - After the first dining-table div AND style.css - TODO 2 section
Success Criteria:
<div class="dining-table"> container below the first onestyle.cssHints:
dining-table div structure as your starting point.red-plate, .yellow-plate, .green-plate colors are defined (lines 84-94).dining-table media queryExpected Result: Two dining table rows, each with 3 colorful circular plates
Location: index.html - All emoji spans AND style.css - TODO 3 section
Success Criteria:
<span class="food-emoji"> with <img> tagsalt text for accessibility (describe what the image shows)Hints:
<img> tag needs src, alt, and class attributeshttps://picsum.photos/150/150?random=X (change X for different images).food-emoji is styled (font-size, display, margin) - your .food-image needs similar treatmentborder-radius: 50%object-fit: cover./spoon.jpgImage Sources (for reference):
Expected Result: Circular plates with actual food photos instead of emojis
border-radius)border-radius: 50%; in CSS (line 69).dining-table has display: flex; (line 49)# not . -> #title { ... }id="title" per page)<link rel="stylesheet" href="style.css"> is in <head>:hover pseudo-class syntax (line 77-80)transition property for smooth animation<!-- ID: Unique, one per page -->
<div id="title">Only one</div>
<!-- Class: Reusable, multiple per page -->
<div class="plate">First plate</div>
<div class="plate">Second plate</div>
/* ID Selector: # symbol */
#title { background-color: aqua; }
/* Class Selector: . symbol */
.plate { border-radius: 50%; }
.dining-table {
display: flex; /* Enable Flexbox */
justify-content: center; /* Horizontal alignment */
align-items: center; /* Vertical alignment */
gap: 40px; /* Space between items */
}
.plate {
width: 200px;
height: 200px;
border-radius: 50%; /* Makes it circular */
}
Before submitting:
Total: 30-40 minutes
After completing this activity:
Activity 05: HTML Division W1: Front-end Design & User Experience Telebort Engineering Time: 30-40 minutes