HTML
Mini Project – Landing Page
Build a complete landing page combining all HTML fundamentals you've learned so far.
Alex just finished their portfolio page and wants to create a professional landing page for their freelance web development business. This landing page needs to showcase their services, include a hero section, testimonials, and a call-to-action section. Time to combine everything you know about HTML structure, semantic elements, and content organization. A landing page serves one main purpose — getting visitors to take a specific action. Unlike a portfolio that shows past work, a landing page focuses on convincing potential clients to hire Alex's services. Think of it like a digital business card that does the selling for you.Planning Your Landing Page Structure
Before writing any HTML, you need to plan what sections your landing page will include. Most successful landing pages follow a proven structure that guides visitors from curiosity to action.Building the Hero Section
Your hero section needs three key ingredients: a compelling headline, supporting text that explains your value, and a clear call-to-action button. The headline should focus on the benefit to your client, not just what you do.<!-- Hero section that grabs attention immediately -->
<header>
<nav>
<h1>Alex Chen</h1>
<ul>
<li><a href="#services">Services</a></li>
<li><a href="#testimonials">Reviews</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
<section class="hero">
<h2>Get More Customers With a Website That Actually Works</h2>
<p>I build fast, mobile-friendly websites that turn visitors into customers. No confusing jargon, no endless revisions — just results that grow your business.</p>
<a href="#contact" class="cta-button">Get Your Free Quote</a>
</section>
</header>What just happened?
The navigation gives visitors quick access to key sections. The hero headline focuses on the customer benefit rather than technical features. The call-to-action button uses action-oriented text that creates urgency.
Services Section That Sells Benefits
Your services section shouldn't just list what you do. Each service needs to connect to a specific problem your ideal client faces. Think about the business owner who can't figure out why their current website doesn't bring in leads.<!-- Services focused on client benefits, not technical features -->
<main>
<section id="services">
<h2>Services That Grow Your Business</h2>
<div class="services-grid">
<article>
<h3>Custom Website Design</h3>
<p>Your website should work as hard as you do. I create mobile-friendly sites that load fast and convert visitors into paying customers.</p>
<ul>
<li>Mobile-responsive design</li>
<li>Fast loading speeds</li>
<li>SEO-friendly structure</li>
</ul>
</article>
<article>
<h3>Website Redesign</h3>
<p>Tired of a website that looks outdated? I transform existing sites into modern lead-generation machines that represent your brand properly.</p>
<ul>
<li>Modern, professional look</li>
<li>Improved user experience</li>
<li>Better search rankings</li>
</ul>
</article>
<article>
<h3>Maintenance & Support</h3>
<p>Focus on running your business while I keep your website secure, updated, and performing at its best. No technical headaches for you.</p>
<ul>
<li>Regular security updates</li>
<li>Content updates</li>
<li>Performance monitoring</li>
</ul>
</article>
</div>
</section>
</main>What just happened?
Each service article leads with the benefit first, then explains the features. The grid layout makes it easy to scan. Each unordered list breaks down complex services into digestible bullet points that clients can quickly understand.
Social Proof That Builds Trust
Testimonials aren't just nice quotes — they're your most powerful sales tool. But they need to be specific about results, not just compliments. A testimonial that says "Alex increased my leads by 40%" beats "Alex is great to work with" every time.<!-- Testimonials that provide specific, result-focused social proof -->
<section id="testimonials">
<h2>What Clients Say About Working With Me</h2>
<div class="testimonials-grid">
<blockquote>
<p>"Alex redesigned our restaurant website and online orders increased 60% in the first month. The mobile version finally works properly and customers can actually place orders now."</p>
<footer>
<strong>Maria Rodriguez</strong>
<span>Owner, Casa Bella Restaurant</span>
</footer>
</blockquote>
<blockquote>
<p>"My old website was embarrassing. Alex built a professional site that actually represents my law practice properly. I'm getting referrals from other attorneys now."</p>
<footer>
<strong>David Kim</strong>
<span>Attorney, Kim Legal Services</span>
</footer>
</blockquote>
<blockquote>
<p>"The maintenance service is worth every penny. I haven't worried about website problems in over a year. Alex handles everything so I can focus on my consulting business."</p>
<footer>
<strong>Jennifer Chen</strong>
<span>Founder, Strategic Solutions LLC</span>
</footer>
</blockquote>
</div>
</section>What just happened?
Each blockquote contains specific results rather than generic praise. The footer element properly attributes each testimonial. Notice how each testimonial matches one of the three services offered above.
blockquote element tells search engines and screen readers that this content is a quote from someone else. And each testimonial connects directly to one of your services — website redesign, custom development, and maintenance. That's not an accident.
Call-to-Action That Converts
Your final section needs to overcome the last bit of hesitation keeping prospects from contacting you. Remove risk with guarantees. Create urgency with scarcity. Make it dead simple to take the next step.<!-- Final call-to-action section that removes risk and creates urgency -->
<section id="contact">
<h2>Ready to Grow Your Business?</h2>
<p>Get a free website audit and project quote. I'll analyze your current site and show you exactly how to get more customers online.</p>
<div class="cta-benefits">
<h3>What You Get:</h3>
<ul>
<li>Free 30-minute consultation call</li>
<li>Detailed website audit report</li>
<li>Custom project timeline and pricing</li>
<li>No obligation - keep the audit even if you don't hire me</li>
</ul>
</div>
<div class="contact-info">
<p><strong>Email:</strong> alex@example.com</p>
<p><strong>Phone:</strong> (555) 123-4567</p>
<p><em>Taking on 3 new projects in March 2024</em></p>
</div>
</section>
<footer>
<p>© 2024 Alex Chen Web Development. Built with clean HTML and lots of coffee.</p>
</footer>What just happened?
The benefits list removes risk by offering value upfront. The scarcity message creates urgency without being pushy. The footer adds personality while maintaining professionalism.
Semantic Structure Best Practices
Your landing page HTML should tell a clear story to both humans and search engines. The semantic structure acts like an outline that makes sense even without any visual styling applied.<header>
<main>
<section id="services">
<section id="testimonials">
<section id="contact">
<footer>
Pro tip: Use ID attributes on your main sections so your navigation links can jump directly to them. When someone clicks "Services" in your nav, they'll scroll right to that section automatically.
Quiz
What should be the primary focus of a landing page hero section headline?
Which HTML element should Alex use to properly mark up client testimonials for both accessibility and SEO?
What makes testimonials most effective on a landing page?
Mini Project – Form Page
Build a contact form that captures leads and validates user input properly.