Build a CodePen.io app that is functionally similar to this: FCC Technical Documentation Page. Fulfill the below user stories and get all of the tests to pass. Give it your own personal style.
You can use HTML, JavaScript, and CSS to complete this project. Plain CSS is recommended because that is what the lessons have covered so far and you should get some practice with plain CSS. You can use Bootstrap or SASS if you choose. Additional technologies (just for example jQuery, React, Angular, or Vue) are not recommended for this project, and using them is at your own risk. Other projects will give you a chance to work with different technology stacks like React. We will accept and try to fix all issue reports that use the suggested technology stack for this project. Happy coding!
-
User Story #1: I can see a
mainelement with a correspondingid="main-doc", which contains the page's main content (technical documentation). -
User Story #2: Within the
#main-docelement, I can see severalsectionelements, each with a class ofmain-section. There should be a minimum of 5. -
User Story #3: The first element within each
.main-sectionshould be aheaderelement which contains text that describes the topic of that section. -
User Story #4: Each
sectionelement with the class ofmain-sectionshould also have an id that corresponds with the text of eachheadercontained within it. Any spaces should be replaced with underscores (e.g. Thesectionthat contains the header "Javascript and Java" should have a correspondingid="Javascript_and_Java"). -
User Story #5: The
.main-sectionelements should contain at least 10pelements total (not each). -
User Story #6: The
.main-sectionelements should contain at least 5codeelements total (not each). -
User Story #7: The
.main-sectionelements should contain at least 5liitems total (not each). -
User Story #8: I can see a
navelement with a correspondingid="navbar". -
User Story #9: The navbar element should contain one
headerelement which contains text that describes the topic of the technical documentation. -
User Story #10: Additionally, the navbar should contain link (
a) elements with the class ofnav-link. There should be one for every element with the classmain-section. -
User Story #11: The
headerelement in the navbar must come before any link (a) elements in the navbar. -
User Story #12: Each element with the class of
nav-linkshould contain text that corresponds to theheadertext within eachsection(e.g. if you have a "Hello world" section/header, your navbar should have an element which contains the text "Hello world"). -
User Story #13: When I click on a navbar element, the page should navigate to the corresponding section of the
main-docelement (e.g. If I click on anav-linkelement that contains the text "Hello world", the page navigates to asectionelement that has that id and contains the correspondingheader. -
User Story #14: On regular sized devices (laptops, desktops), the element with
id="navbar"should be shown on the left side of the screen and should always be visible to the user. -
User Story #15: My Technical Documentation page should use at least one media query.
-
Remember to use the Read-Search-Ask method if you get stuck.
- All technical content found on the official Sass website.