Academics · Study Skills

Change the code,
watch the page change.

Two editors, HTML and CSS, and a live preview that updates as you type. Ten short challenges ask for a color, a centered paragraph, a bordered box, rounded corners, a styled class, a restyled link, a flex row, a centered fixed-width box, a second-level heading with a list and a link. Each is checked against what the browser computed, so any correct way of writing it passes. You can also write your own page and download it.

Write code, read the checklist, pass the challenge

The first challenge is ready below. The worked example loads three passed challenges and opens the fourth. Saved on this device only.

Loading the playground. If nothing appears, turn on JavaScript.

What you get

Academics · Study SkillsOpen to everyone

What you finish with
Ten passed challenges you can see on My progress, and a page of your own that you can download as an .html file.
Who it is for
Students learning web basics for the first time, adults changing careers, teachers and families who want a safe place to try HTML and CSS, and anyone building a first page.
Format
A browser playground with a sandboxed preview. Saves your code and progress on this device; downloads your own page as an .html file; exports and imports a progress file.
Access
Open to everyone · no sign-in. Everything you type stays in this browser; nothing is sent to Caveat.
Where it lives
The Study Skills space in Caveat Academics.
Support
Questions about access, an order or a correction: team@caveatacademic.com.

How to use it

  1. Open the first challenge and read the goal.
  2. Type CSS or HTML and watch the preview change.
  3. Read the checklist under the goal; each line turns done when the browser agrees.
  4. Use a hint or a solution if you are stuck, then try the next challenge.
  5. Switch to Your own page to build something and download it.

Open the playground

What the checklist reads

How one CSS rule reaches the page1A selector picks elementsh1 picks every heading; .cardpicks every element with class2A property names what to changecolor, padding, display: eachis one thing the browser knows3A value says howcolor: #008080 asks for teal;padding: 16px asks for sixteen4The browser computes the resultIt combines your rule with itsdefaults and any other rules5Read the computed valueThe playground checks what thebrowser computed, not the text6Fix what is not true yetA misspelled property isskipped silently, so checkHow one CSS rule reaches the page1A selector picks elementsh1 picks every heading; .card picksevery element with class card.2A property names what to changecolor, padding, display: each is onething the browser knows how to change.3A value says howcolor: #008080 asks for teal; padding:16px asks for sixteen pixels.4The browser computes the resultIt combines your rule with its defaultsand any other rules that match.5Read the computed valueThe playground checks what the browsercomputed, not the text you typed.6Fix what is not true yetA misspelled property is skippedsilently, so check each line of thechecklist.
In the worked example, the first three challenges are already passed and the fourth, rounded corners, is next.

A rule has three parts

A selector chooses the elements, a property names what to change and a value says how. In h1 { color: teal; }, h1 is the selector, color is the property and teal is the value. A missing semicolon or a misspelled property makes the browser skip that line without telling you.

Computed, not typed

Colors can be written as names, hex codes or functions, and sizes as pixels or other units. The checklist reads the value the browser worked out, so teal and #008080 both pass the first challenge.

A sandbox keeps it safe

The preview runs in a sandboxed frame with a content security policy. Scripts do not run, and nothing from the internet loads, so you can paste any markup you like without it reaching out or changing this page.

Sources

  1. MDN Web Docs, Mozilla. CSS: Cascading Style Sheets, and the HTML elements reference (developer.mozilla.org).
  2. World Wide Web Consortium. CSS Backgrounds and Borders, CSS Box Model, and CSS Flexible Box Layout specifications (w3.org).
  3. WHATWG. HTML Living Standard, the sections on sectioning, lists and the a element (html.spec.whatwg.org).

The page of code in each challenge is made up. Everything you type stays in this browser: the preview cannot load anything from the internet and nothing is sent to Caveat. Support: team@caveatacademic.com.

Written with AI, then checked before it is published. How we checkFound a mistake? Report it and we fix it, or refund you.Cancel anytime.