/en-tutor-prep-s2-term1-ict-web-design/
/en-tutor-prep-s2-term1-ict-web-design/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

S2 Term 1 | ICT: Web Design | 45-minute flow, teaching script, common errors, practice with answers

S2 Term 1 | ICT: Web Design | 45-minute flow, teaching script, common errors, practice with answers

  • 2026-11-30

Lesson prep guide · S2 Term 1 ICT

Students say web design is making a page look nice, but cannot say what HTML, CSS and JavaScript each do, nor how a page travels from a typed URL to a drawn screen.

Lesson objectives Students can (1) name the three layers with one example each; (2) give the 5 steps from URL to screen in order; (3) compute a 0.4-second load for 500 KB at 10 Mbps and note that images are 80 per cent of the weight.

01 Prior knowledge check (first 3 minutes)

If any item below fails, fix it first, or this lesson stalls:

Skill Quick check Pass standard
Units How many kilobits is 1 kilobyte? 8 kilobits
Percentages 400 KB out of 500 KB is what share? 80 per cent
Order Does the browser download first or request first? Request first, then download

02 Lesson flow (45 minutes)

Time Stage Tutor does Student does
0–5 min Opening diagnostic Ask what a page is made of and sort answers into content, look, behaviour Most mention only the look
5–13 min Three layers Read the top of the figure and give one example per layer Write one example each from sites they use
13–25 min Five steps Walk the bottom of the figure and ask who acts at each step Copy the 5 steps in order and mark the actor
25–35 min Load time Show 500 times 1,000 times 8, then divide by 10 million Work it once, then remove the images and work again
35–41 min Why pages feel slow Large images, external fonts and scripts, too many requests One practical fix per cause
41–45 min Exit check Collect three answers and note layer, order or unit errors Work without notes

03 Teaching script (read it aloud)

Act one: three layers, three jobs

Think of a page as three files. HTML carries content and structure: which line is a heading, which are paragraphs, which form a list. CSS carries appearance: colour, type, spacing, column placement. JavaScript carries behaviour: what happens on a click, whether a form was filled correctly. They change independently: swap the CSS and the look changes while the words stay; change the HTML and the CSS usually has to follow. Design and content are therefore separate questions.

Students restate: HTML structure, CSS appearance, JavaScript behaviour, three files changed separately.

Act two: five steps from URL to screen

Most common misconception: thinking the browser recognises a name and gets the picture directly, or that DNS is a search engine. DNS is only the phone book turning a domain name into an IP address.

The steps: type the URL; DNS resolves the name to an IP; the browser requests the page from that server; the server returns HTML and the browser downloads CSS, JavaScript and images; the browser applies CSS to the HTML structure and paints the screen. If any step is slow, the user sees a blank page.

Students restate: DNS only translates the name; the browser paints after the files arrive.

Act three: computing load time

Take 50 KB of HTML, 20 KB of CSS, 30 KB of JavaScript and 400 KB of images, 500 KB in all. Convert to bits by multiplying by 8: 500 times 1,000 times 8 is 4,000,000 bits. At 10 Mbps, which is 10,000,000 bits a second, the ideal load is 0.4 seconds. Real pages are slower because requests queue, mobile speeds vary, and images are 80 per cent of the weight. Cut the images from 400 KB to 100 KB and the total becomes 200 KB, or 0.16 seconds.

Students restate: bytes times 8 gives bits; the images are usually the heaviest file.

04 Question types and steps

Type Example Steps Answer
Layer matching Structure, appearance, behaviour Match each to HTML, CSS, JavaScript h1 to HTML, colour to CSS, click to JavaScript
Ordering 5 steps Start at the URL and sort by when each happens URL, DNS, request, download, render
Load time 500 KB at 10 Mbps KB times 1,000 times 8, then divide by bps 0.4 seconds
Percentages 400 KB of 500 KB Part over total times 100 80 per cent
Three layers of a web page, and five steps from URL to screenHTML: structureheadings, paragraphs, lists, imagesCSS: presentationcolour, type, spacing, layoutJavaScript: behaviourclicks, validation, updatestype the URL1DNS finds the IP2server replies3HTML and CSS arrive4browser renders5Changing CSS changes the look; changing HTML changes the content.Load time is total bytes times 8, divided by the connection speed in bits per second.

Each layer has one job: HTML carries content and structure, CSS carries colour and layout, JavaScript carries behaviour. The five steps below run from typing a URL to seeing the page: DNS turns the name into an IP, the server replies, and the browser renders once HTML and CSS have arrived. Students merge design with content, and this figure separates them.

Sanity check (must teach):500 times 1,000 times 8 is 4,000,000 bits; divided by 10,000,000 it is 0.4 seconds; images are 80 per cent. Drop the factor of 8 and the answer becomes an impossible 0.05 seconds.

05 Three independent practice questions

Question Answer What to observe
A page of 500 KB at 10 Mbps: what is the ideal load time? 0.4 seconds Missing the factor of 8 gives 0.05 seconds
Compress the images from 400 KB to 100 KB. What are the new total and load time? 200 KB and 0.16 seconds Both the total and the time must change
Which layer does each belong to: a larger heading font, and a back-to-top button? Font is CSS; the button and its click behaviour are HTML plus JavaScript Structure and behaviour must be separated

06 Common errors and correction lines

Error Student usually writes Tutor says
Design treated as content “Web design is making the text look good” “Looks are CSS; content and structure are HTML, and the two are taught separately.”
DNS as a search engine “DNS searches for the site” “DNS only turns the domain name into an IP address; searching is a different service.”
Factor of 8 dropped “500 divided by 10 is 50 seconds” “KB is bytes and the speed is in bits, so multiply by 8 first.”
Only the total size “The file is big, so it is slow” “Say which file: images are 80 per cent, so compressing them helps most.”

07 Homework (paper and question numbers)

08 Exit check (last 3 minutes)

Question Answer Verdict
What does each layer do? HTML structure, CSS appearance, JavaScript behaviour Only appearance means act one is retaught
How many steps from URL to screen? 5: URL, DNS, request, download, render Wrong order means act two is retaught
How long does 500 KB take at 10 Mbps? 0.4 seconds 50 seconds means the factor of 8 was dropped

09 Tutor FAQ

Which year group is this page for?

S2 Term 1 ICT web and internet section; S1 can use act one only, S3 can add responsive design and optimisation.

Can 45 minutes cover three layers, five steps and the arithmetic?

Yes. Layers and steps take 20 minutes, 44 per cent; the load calculation 10, the causes 6, the exit check 4.

Is there a paper to set as homework?

Yes. Questions 9, 11 and 12 of part three of the S2 ICT paper, all with answers.

Find a tutor freeTutor sign-up →

©2026 TutorZone · www.tutorzone.com.hk · Terms of use · All rights reserved. Original TutorZone material for personal study and teaching only; not for resale or republication.

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →