FREE PLAYBOOK WORKSHOP / HTML & CSS
Build a face.
Keep every stage.
Build a CSS Smiley Face Gallery
Turn a yellow circle into a smile, one feature at a time. Alternate HTML and CSS, copying your own previous face before adding the next feature.
12 guided steps · Five face stages · About 45–60 minutes · No JavaScript or installation needed
12 steps · Saved work · Instant feedback
This entire workshop is free. Signed out, your code and completed steps stay in this browser. Sign in with your Code Zone website account to save across devices and keep the work on your profile.

WHAT YOU WILL BUILD
One page. Five stages you can compare.
- A yellow circle.
- A circle with a left eye.
- A face with both eyes.
- A face with a smile.
- A smiling face with pupils.
Every face shares the same stylesheet. Changing the shared face rule changes every circle. New eyes, mouths and pupils appear only in the examples where you add their HTML.
The face uses relative positioning, and its features use absolute positioning. Both eyes share one top position, so they line up naturally.
YOUR COPY-AND-ADD ROUTINE
Copy your work, then build on it.
- Copy the previous section, including its heading and face.
- Paste it below the next stage’s labeled comment, inside the main gallery.
- Give the copy its new stage id and heading.
- Add the new feature using the checklist.
- Switch to CSS to style that feature.
All stage comments and CSS section comments are provided from Step 1. Keep them and the earlier sections. Copy the section only, not the whole document. Complete code examples are in optional hints; your task is a checklist you turn into code.
YOUR PATH THROUGH THE WORKSHOP
HTML, then CSS. Repeat.
- 01HTMLCreate the gallery page
- 02CSSStyle the page
- 03HTMLBuild the first face
- 04CSSMake a yellow circle
- 05HTMLCopy it and add the left eye
- 06CSSStyle the left eye
- 07HTMLCopy it and add the right eye
- 08CSSLine up the right eye
- 09HTMLCopy it and add the mouth
- 10CSSTurn the mouth into a smile
- 11HTMLCopy it and add the pupils
- 12CSSFinish the eyes
OPTIONAL FINISHING CHALLENGE / NOT GRADED
Give your last face a personality.
After completing the guided steps, keep all five stages and try extra CSS rules that target only stage 5. This is a separate design challenge, not another required checkpoint.
- Change the final face’s color without changing the earlier circles.
- Move its pupils so the face looks to one side. Keep each pupil inside its eye.
- Change its mouth to give it a different expression.
- Explain why the earlier faces stayed the same and why the pupils move relative to their eyes.
Your earned steps remain saved. The original checks still expect the workshop’s requested values. Share your design and what you changed with the community.