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!
Build your first HTML webpage from scratch using nested lists to create a monthly agenda.
In this activity, you will:
Estimated Time: 45-60 minutes
# Just open index.html in your browser
open index.html
# or double-click the file
./setup.sh
npm start
# Open http://localhost:8080
When you open index.html, you'll see:
Location: index.html - After November </li> closing tag, inside the <ol> list
Success Criteria:
<li> element for December matching November's structure<strong>December</strong> for the month name<ul> with three categories: Goals, To-dos, EventsContent Requirements:
Hints:
<li> section (lines 16-40 in index.html)<ul> inside <li> inside <ul> inside <li>Expected Output:
2. December
• Goals
- Try 5 new restaurants
• To-dos
- Feed cat
- Adopt another cat
• Events
- Outing with friends on the 20th
- Cousin birthday on the 27th
Location: index.html - After the closing </ol> tag
Success Criteria:
<a> tag with href and target="_blank" attributesHints:
<a> tag syntaxtarget="_blank" attribute opens the link in a new tab<p> paragraph taghttps://www.youtube.com/results?search_query=html+nested+lists+tutorial| Tag | Purpose | Example |
|---|---|---|
<h1> to <h6> |
Headings | <h1>Main Title</h1> |
<p> |
Paragraph | <p>Text here</p> |
<ol> |
Ordered list | <ol><li>Item 1</li></ol> |
<ul> |
Unordered list | <ul><li>Bullet</li></ul> |
<li> |
List item | <li>List item</li> |
<a> |
Link | <a href="url">Link text</a> |
<!-- --> |
Comment | <!-- Note --> |
<title> tag to "My Monthly Agenda"<h1>My Monthly Agenda</h1> inside <body><ol> with November and December<li> for each month<ul> inside each month<a href=""> syntaxYour webpage should display:
My Monthly Agenda
1. November
• Goals
- Lose 1kg of weight
- Walk a total of 100,000 km
• To-dos
- Adopt a cat
• Events
- Telebort class weekly at Sat/5pm
- Family gathering on the 24th
2. December
• Goals
- Try 5 new restaurants
• To-dos
- Feed cat
- Adopt another cat
• Events
- Outing with friends on the 20th
- Cousin birthday on the 27th
<li> is inside <ul> or <ol><tag> needs </tag> (except self-closing tags)<h1> instead of <title><title> goes in <head>, <h1> goes in <body>Before submitting:
After completing this activity:
Activity 02 - Introduction to HTML W1: Front-end Design & User Experience Telebort Engineering Time: 45-60 minutes