Web DevelopmentBeginnerFree to access
Responsive Business Website with HTML & CSS
Build a mobile-friendly multi-section business page using semantic HTML, CSS Grid and a working contact-information section.
Download free Markdown guideNo email, account or payment required · .md text format
What you will build
Make a real business landing page that works on phones and desktop without relying on a template builder.
Before you begin
- A code editor and a modern browser
- Basic HTML tags and CSS selectors
Local setup instructions
- Create index.html and open it in your browser.
- Use the starter markup below and create an optional styles.css when the page grows.
- Use browser DevTools to test a 375px mobile viewport.
Starter code
index.htmlThis is a working starting example, not the finished project. Follow the setup above and complete each milestone to build your own solution.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ClearPath Studio | Web Design</title>
<style>
body { margin: 0; font: 1rem/1.6 system-ui; color: #17243b; }
.wrap { max-width: 980px; margin: auto; padding: 1.5rem; }
nav a { margin-right: 1rem; color: inherit; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.cards article { padding: 1rem; border: 1px solid #ccd6e4; border-radius: .75rem; }
a:focus-visible { outline: 3px solid #1761a0; outline-offset: 3px; }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
</style>
</head>
<body>
<header class="wrap"><nav aria-label="Main"><a href="#services">Services</a><a href="#contact">Contact</a></nav></header>
<main class="wrap">
<h1>Thoughtful web design for small businesses</h1>
<p>ClearPath Studio builds simple, fast websites.</p>
<section id="services"><h2>Services</h2><div class="cards">
<article><h3>Websites</h3><p>Responsive layouts.</p></article>
<article><h3>Audits</h3><p>Accessibility improvements.</p></article>
</div></section>
<section id="contact"><h2>Contact</h2><p>Email: hello@example.com (replace with your own)</p></section>
</main>
<footer class="wrap"><p>ClearPath Studio — practice project</p></footer>
</body>
</html>Project build milestones
- Build a semantic header, navigation, main sections and footer.
- Create a hero with a clear service statement, services cards and an about section.
- Make the layout responsive with Grid or Flexbox and a mobile media query.
- Add an accessible contact section and a visible keyboard focus style.
- Check headings, image descriptions if added, contrast and mobile overflow.
Completion checklist
Use these checks to self-review the finished project.
- Page has exactly one h1 and descriptive section headings.
- Navigation links target existing sections and work with keyboard input.
- At 375px width the page has no horizontal scrollbar.
- A visitor can find the service and contact details without JavaScript.
Optional challenges
- Add a no-JavaScript FAQ section using details and summary.
- Split styles into a stylesheet and test image loading on slow networks.