HTML Lesson 32 – Mini Project - Landing Page | Dataplexa
MINI PROJECT

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.
1
Hero Section - Grab attention immediately
2
Services - What you offer and why it matters
3
Social Proof - Testimonials and results
4
Call to Action - Get them to contact you
The hero section appears above the fold — that's the part visitors see without scrolling. You have about 3 seconds to convince them to stay, so your headline and subheading need to clearly explain what you do and why they should care.

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>
localhost/landing.html

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.

Notice how the headline talks about getting customers, not building websites. People don't buy websites — they buy the results those websites deliver. And the call-to-action offers something free, which removes the barrier to getting started.

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>
localhost/landing.html

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.

Each service starts with a pain point the client feels, then positions your service as the solution. The bullet points give specific features, but the main description focuses on outcomes. That's how you sell services — benefits first, features second.

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>
localhost/landing.html

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.

The 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>
localhost/landing.html

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.

The phrase "keep the audit even if you don't hire me" removes all risk from contacting you. And "taking on 3 new projects" creates scarcity without sounding desperate. People want what others want, but they also fear missing out.

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>
Navigation + Hero Section
<main>
Primary content (Services)
<section id="services">
Multiple service articles
<section id="testimonials">
Social proof blockquotes
<section id="contact">
Call-to-action content
<footer>
Copyright and final details
This structure follows a logical flow that matches how people read landing pages. Header introduces you and grabs attention. Main content explains your services. Supporting sections build trust and drive action. Footer wraps everything up professionally.

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.

Each section has a single, clear purpose. Services explain what you offer. Testimonials prove it works. The contact section makes it easy to hire you. And the semantic HTML helps search engines understand exactly what each part of your page contains. Your landing page now combines everything you've learned — proper document structure, semantic HTML elements, compelling content organization, and clear calls-to-action. Most importantly, it focuses on your visitor's needs instead of just listing your technical skills.

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.