-
Notifications
You must be signed in to change notification settings - Fork 0
Build a Product Landing Page
Missy edited this page May 11, 2023
·
1 revision
Objective: Build an app that is functionally similar to https://product-landing-page.freecodecamp.rocks/
User Stories:
- Your product landing page should have a
header
element with a correspondingid="header"
- You can see an image within the
header
element with a correspondingid="header-img"
(A logo would make a good image here) - Within the
#header element
, you can see anav
element with a correspondingid="nav-bar"
- You can see at least three clickable elements inside the
nav
element, each with the classnav-link
- When you click
a .nav-link button
in thenav
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!
Note: Be sure to add <link rel="stylesheet" href="styles.css">
in your HTML to link your stylesheet and apply your CSS
Tests
- Waiting: You should have a
header
element with an id of header. - Waiting: You should have an
img
element with an id ofheader-img
. - Waiting: Your
#header-img
should be a descendant of the#header
. - Waiting: Your
#header-img
should have asrc
attribute. - Waiting: Your
#header-img
’ssrc
value should be a valid URL (starts with http). - Waiting: You should have a
nav
element with anid
ofnav-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 anhref
attribute. - Waiting: Each
.nav-link
element should link to a corresponding element on the landing page (has anhref
with a value of another element’s id. e.g.#footer
). - Waiting: You should have a
video
oriframe
element with anid
ofvideo
. - Waiting: Your
#video
should have asrc
attribute. - Waiting: You should have a
form
element with anid
ofform
. - Waiting: You should have an
input
element with anid
ofemail
. - Waiting: Your
#email
should be a descendant of the#form
. - Waiting: Your
#email
should have theplaceholder
attribute with placeholder text. - Waiting: Your
#email
should use HTML5 validation by setting itstype
toemail
. - Waiting: You should have an
input
element with anid
ofsubmit
. - Waiting: Your
#submit
should be a descendant of the#form
. - Waiting: Your
#submit
should have atype
ofsubmit
. - Waiting: Your
#form
should have anaction
attribute of https://www.freecodecamp.com/email-submit. - Waiting: Your
#email
should have aname
attribute ofemail
. - 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.
- Responsive Web Design Certification
- JavaScript Algorithms and Data Structures (Beta) Certification
- Front End Development Libraries Certification
- Data Visualization Certification
- Relational Database Certification
- Back End Development and APIs Certification
- Quality Assurance Certification
- Scientific Computing with Python (Beta) Certification
- Data Analysis with Python Certification
- Information Security Certification
- Machine Learning with Python Certification
- College Algebra with Python Certification
- A2 English for Developers (Beta) Certification
- (New) Foundational C# with Microsoft Certification
- The Odin Project (Beta)
- Coding Interview Prep
- Project Euler
- Rosetta Code
- Legacy Responsive Web Design Challenges
- JavaScript Algorithms and Data Structures Certification
- Legacy Python for Everybody