Build the page
Five steps from a blank folder to a page you can share
Keep the first project deliberately small. A clear content brief, semantic markup, predictable layout rules, and a short review teach more than a large page assembled from copied snippets.
See the path
Step 01: Write the page brief before opening the editor
Keep: a one-page brief with audience, promise, content blocks, and primary action.
Give the page one audience, one promise, and one primary action.
Write who the page is for, what it helps them do, and what should happen next. For example: a beginner is choosing a short web project; the page explains the project; the visitor opens the brief or starts the lesson.
List the information needed for that decision and leave out anything that only fills space. A narrow brief gives every heading, paragraph, and link a job.
- Name one audience and one problem.
- Write one sentence that explains the page promise.
- Choose one primary action and one useful secondary link.
Step 02: Create a semantic HTML structure
Keep: Check: the HTML explains the page hierarchy and action without depending on color.
Make the page understandable before visual styling begins.
Use elements for their meaning: header, main, section, heading, paragraph, list, and link. Keep the heading order logical and write link text that explains where it goes. The page should still communicate its basic purpose if the stylesheet is temporarily removed.
Start with three files in one folder. Do not add a build tool until the plain version is clear enough to inspect.
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Build a small web project</title> <link rel="stylesheet" href="styles.css" /> </head> <body> <main> <p class="eyebrow">A practical starting point</p> <h1>Build one useful page.</h1> <p>Learn the structure, layout, and checks behind a small responsive site.</p> <a href="brief.html">Open the project brief</a> </main> </body> </html>Step 03: Add layout and visual hierarchy with CSS
Keep: a page with a readable content width, visible hierarchy, and layout rules that explain themselves.
Make the important content easy to scan without hiding the structure.
Start with readable type, a comfortable measure, and a small spacing scale. Use flexbox or grid for the page layout, but keep the rule tied to a visible relationship between elements. Avoid positioning the whole page with arbitrary offsets; it will break as soon as the text changes.
Choose one emphasis color for the primary action and check that the heading, supporting copy, and link do not compete for the same attention.
:root { --ink: #102c3b; --muted: #5b7180; --accent: #f77452; --surface: #f5f7f5; } * { box-sizing: border-box; } body { margin: 0; color: var(--ink); background: var(--surface); font: 1rem/1.6 system-ui, sans-serif; } main { width: min(100% - 2rem, 48rem); margin: 0 auto; padding: 12vh 0; } a { display: inline-block; padding: .7rem 1rem; color: white; background: var(--accent); border-radius: .4rem; } @media (min-width: 42rem) { main { padding: 18vh 0; } }Step 04: Make the small screen and keyboard path work
Keep: Check: a keyboard user can understand and reach the primary action on a narrow screen.
Treat responsive behavior and accessibility as part of the first version.
Resize the viewport from a wide screen to a narrow phone-sized view. Look for clipped text, horizontal scrolling, cramped links, and a heading that no longer has enough space. Prefer flexible widths, wrapping, and a small number of deliberate breakpoints over a desktop layout squeezed into a phone.
Move through the page with the keyboard. The focus indicator should be visible, links should make sense out of context, and the color contrast should not be the only way to understand an action.
- Test at a narrow width before adding another component.
- Check focus order and visible focus styles.
- Use text and structure, not color alone, to communicate meaning.
Step 05: Review, share, and record the next improvement
Keep: Finish line: one shareable page, one review note, and one deliberate next improvement.
Finish with evidence that the page works for its intended visitor.
Open the page in a second browser or device and ask someone who did not see the brief what the page is for and what they would click first. Compare their answer with your intended promise. Check the console, links, text wrapping, image behavior, and the page title before calling it finished.
Write one finding and one limitation. A small honest project is more useful than a polished page whose assumptions nobody can explain.
- Verify the main link and page title.
- Check wide, narrow, keyboard, and reduced-motion use.
- Record one change for the next version instead of expanding the scope immediately.
Quality checkpoint
The page is ready when another person can use it without your explanation.
Give the brief and the page to someone who was not in the build process. Ask them what the page is for, what they would do next, and whether anything feels difficult to read or reach. If their answer depends on your narration, improve the structure or wording before adding another feature.
Resources, courses & more guidance
About this path
Turn a blank folder into a small page with a clear message, readable structure, responsive spacing, and a review checklist you can use on the next project.
The useful finish line
Make one page work before you make five.
HTML and CSS are easier to learn when every decision has a visible purpose. This path uses one small landing page: a visitor should understand what it offers, find the main action, and use it on a narrow screen. You will keep the structure semantic, make the layout readable, and test the result before adding frameworks or extra pages.
The live part changes
Keep the plan. Pick a course that is live today.
The guide stays useful after an offer ends. This small shelf is refreshed from Forasm's verified public catalogue, so the course can change without breaking the learning path. It never checks coupons in the browser.
Original practice materials
Download the files used in this guide
These files were created for Forasm's exercises. They are small enough to inspect manually and may be downloaded for personal practice. Link to the original guide if you share work based on an exercise.
Primary references
Official sources behind the workflow
Product behavior can change. Use these official references when a feature, setting or usage limit differs from this guide.
- MDN Web DocsHTML: HyperText Markup LanguageReference for HTML structure, elements, semantics, and document organization.Read official source
- MDN Web DocsCSS: Cascading Style SheetsReference for CSS layout, responsive rules, visual styling, and the cascade.Read official source
- W3CWeb Content Accessibility GuidelinesPrimary guidance for making web content perceivable, operable, understandable, and robust.Read official source
Sources checked 2026-08-18. See the editorial policy for our sourcing and corrections process.
Beginner questions
Before you continue
Do I need JavaScript before learning HTML and CSS?
No. HTML gives the page structure and CSS controls its presentation. Learn JavaScript when the page needs behavior that HTML and CSS cannot provide, such as changing content after an interaction.
Should my first project be a full website?
Usually not. One page with a clear purpose is easier to finish, test, and explain. Once the structure and layout are predictable, adding a second page becomes a smaller design decision.
How do I know whether the page is responsive?
Resize it through narrow and wide widths, look for overflow or clipped content, and test the primary action with a keyboard. Responsive behavior is something you check in use, not just something you infer from a CSS file.
Continue the cluster
Take the next specific step
Each guide below solves a different problem, so you can move forward without repeating the same beginner material.
- Add behaviorBuild a small JavaScript web projectUse the HTML and CSS foundation to make one browser interaction predictable and testable.Open guide
- Design the screenBuild a clear Figma UI screenPlan hierarchy and a primary action before translating a screen into working markup.Open guide
- Make it visualMake one useful Canva graphicApply the same brief, hierarchy, and contrast checks to a single visual asset.Open guide