HTML & CSS · Final Project · Lesson 25 of 25
Building and Polishing
Concept
Building and Polishing
Combine semantic HTML, the box model, flexbox or grid, and a media query into one finished, responsive page.
Build and check your work at each screen size as you go, rather than styling everything for desktop first and trying to fix mobile at the very end.
By the end of this lesson
- Explain the core idea behind Building and Polishing.
- Predict output before running a change.
- Test one realistic and one unusual input.
- Use the result to make the next decision.
How to study this page
- 1. Read one concept.
- 2. Change the example.
- 3. Run, compare, and explain.
- 4. Complete the challenge below.
ExampleRunnable
.hero {
display: flex;
flex-direction: column;
align-items: center;
padding: 48px 16px;
}Try it Yourself »Self-check before continuing
Without looking at the example, describe what changes when you modify one input in Building and Polishing. Then reopen the editor and prove your explanation with a small test.
You are ready to continue when you can predict, test, and explain the result.
Your turn
Build your landing page's hero section and make it responsive.
Loading editor…
Console