P4 Product Landing Page Student Template
Duplicate this file for style tile, desktop/mobile starter frames, component states, and critique notes.
HTML/CSS Implementation Β· Phase 2
You've completed your Figma designβnow it's time to bring it to life with HTML and CSS.
Your Figma design is your roadmap. Reference it constantly as you code. The closer your implementation matches your design, the better your final result.
Your landing page should use semantic HTML5 elements to create a clear, accessible structure.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Product Name</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<header id="header">
<!-- Navigation goes here -->
</header>
<main>
<!-- All your main content sections go here -->
</main>
<footer>
<!-- Footer content goes here -->
</footer>
</body>
</html>
Break your content into logical <section> elements:
<main>
<section id="hero">
<!-- Hero content -->
</section>
<section id="video">
<!-- Embedded video -->
</section>
<section id="features">
<!-- Feature cards using <article> elements -->
</section>
<section id="data">
<!-- Product data table -->
</section>
<section id="contact">
<!-- Contact form -->
</section>
</main>
| Use <section> for: | Use <article> for: |
|---|---|
| Thematic groupings of content | Self-contained, independent content |
| Major page divisions | Content that could stand alone |
| Content with a heading | Reusable components |
| Example: Features section, Contact section | Example: Feature cards, testimonials |
If the content could be pulled out and used somewhere else independently β use <article>
<section id="features">
<h2>Features</h2>
<article>
<img src="icon1.png" alt="Feature icon">
<h3>Feature Name</h3>
<p>Feature description...</p>
</article>
<article>
<img src="icon2.png" alt="Feature icon">
<h3>Feature Name</h3>
<p>Feature description...</p>
</article>
<article>
<img src="icon3.png" alt="Feature icon">
<h3>Feature Name</h3>
<p>Feature description...</p>
</article>
</section>
Learn more: MDN β <article> vs <section>
Your landing page must include all of the following elements with the specified IDs and classes.
Requirements:
id="header"id="header-img"id="nav-bar"class="nav-link"How your Figma design shows the navigation.
Requirements:
Embed a video related to your product.
Requirements:
id="video"<iframe> OR HTML5 <video> elementEmbedding a YouTube video:
<iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" title="Product video" frameborder="0" allowfullscreen> </iframe>
Making video responsive:
max-widthwidth: 100%; height: auto; for simple scalingRequirements:
<article> elementTable appears in the page (not in a modal). Modal implementation is a stretch goal.
Requirements:
id="data-table"<thead>, <tbody>, <th>, and <td><th> elements have scope attributeRequirements:
id="contact-form"type="text", required)type="email", required β HTML5 validation)required)id="submit"<label> elementsaction attribute (can use placeholder URL)Add visual interest with a transform effect. Examples:
transform: translateY(-4px) β Button hover lift effecttransform: scale(1.05) β Card scale on hovertransform: rotate(45deg) β Icon rotationCreate motion with a @keyframes animation. Examples:
Your page must work on multiple screen sizes:
@media query (recommended: 768px breakpoint):focus states:invalid, :valid)Required:
alt attributesDeploy your site as usual:
index.html)Your README must include:
Submit all three URLs:
Manual deductions applied after calculation:
WR0NG_L1NK: Link goes to Figma instead of GitHub/Live Site: β5 points404_ERR0R: Live site link does not load: β20 pointsN0_R3ADM3: README file missing from Repo: β5 points| β | Checklist Item |
|---|---|
| β | HTML validates ( |