renners7777 / FCC---Product-landing-page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build a Product Landing Page

Objective: Build an app that is functionally similar to https://product-landing-page.freecodecamp.rocks. Do not copy this demo project.

User Stories:

Your product landing page should have a header element with a corresponding id="header"
You can see an image within the header element with a corresponding id="header-img" (A logo would make a good image here)
Within the #header element, you can see a nav element with a corresponding id="nav-bar"
You can see at least three clickable elements inside the nav element, each with the class nav-link
When you click a .nav-link button in the nav element, you are taken to the corresponding section of the landing page
You can watch an embedded product video with id="video"
Your landing page has a form element with a corresponding id="form"
Within the form, there is an input field with id="email" where you can enter an email address
The #email input field should have placeholder text to let users know what the field is for
The #email input field uses HTML5 validation to confirm that the entered text is an email address
Within the form, there is a submit input with a corresponding id="submit"
When you click the #submit element, the email is submitted to a static page (use this mock URL: https://www.freecodecamp.com/email-submit)
The navbar should always be at the top of the viewport
Your product landing page should have at least one media query
Your product landing page should utilize CSS flexbox at least once

Fulfill the user stories and pass all the tests below to complete this project. Give it your own personal style. Happy Coding!

Waiting: You should have a header element with an id of header. Waiting: You should have an img element with an id of header-img. Waiting: Your #header-img should be a descendant of the #header. Waiting: Your #header-img should have a src attribute. Waiting: Your #header-img’s src value should be a valid URL (starts with http). Waiting: You should have a nav element with an id of nav-bar. Waiting: Your #nav-bar should be a descendant of the #header. Waiting: You should have at least 3 .nav-link elements within the #nav-bar. Waiting: Each .nav-link element should have an href attribute. Waiting: Each .nav-link element should link to a corresponding element on the landing page (has an href with a value of another element's id. e.g. #footer). Waiting: You should have a video or iframe element with an id of video. Waiting: Your #video should have a src attribute. Waiting: You should have a form element with an id of form. Waiting: You should have an input element with an id of email. Waiting: Your #email should be a descendant of the #form. Waiting: Your #email should have the placeholder attribute with placeholder text. Waiting: Your #email should use HTML5 validation by setting its type to email. Waiting: You should have an input element with an id of submit. Waiting: Your #submit should be a descendant of the #form. Waiting: Your #submit should have a type of submit. Waiting: Your #form should have an action attribute of https://www.freecodecamp.com/email-submit. Waiting: Your #email should have a name attribute of email. Waiting: Your #nav-bar should always be at the top of the viewport. Waiting: Your Product Landing Page should use at least one media query. Waiting: Your Product Landing Page should use CSS Flexbox at least once.

About


Languages

Language:HTML 69.5%Language:CSS 30.5%