Tell us what’s happening:
Describe your issue in detail here.
Each .nav-link should have an href attribute that links to its corresponding .main-section (e.g. If you click on a .nav-link element that contains the text “Hello world”, the page navigates to a section element with that id). and
Your Technical Documentation project should use at least one media query.
The first thing that sticks out is how visually neat your code blocks are. Secondly, I am looking at the href names for your page jumps for the links.
This will not work. They all must have unique names that will discover that unique section of the page titled areas.
In addition, your media query does not need the extra text between @media and the (“and your arguments here”). Or that is what I’m used to seeing unless your lesson has asked you to do otherwise.
Within your code in the nav element you should do as ‘nhcarrigan’ and I suggested. Unique names are needed. The computer will do as you order it. It will go to that spot, but you have it named for every section. So once it finds that section at the top of your page, the computer will not look for it elsewhere.
When you find a unique name remember to give your href this exact name but place a ‘#’ in front of the text.
Secondly, your visible text should be the same as the href but Capitalized appropriate letters with no ‘#’ for your link titles that show on your page.
Lastly, your section id attribute should reflect the same name and naming format as your href but you do not need your ‘#’.
This should create a digital phone-line to your navigation links and the sections on your page.
I hope that this helps guide you better. But first, I would get up and take a 5 minute break before hand. Sometimes I need to step away then come back to it.
Sorry where would i need to look
Each .nav-link should have an href attribute that links to its corresponding .main-section (e.g. If you click on a .nav-link element that contains the text “Hello world”, the page navigates to a section element with that id).
You have similarities here. However, your next .nav-link should be named something different. I know you will pull through this. Sleep well. Oh, remember the Technical Page Exam wants you to use more than one word titles to force you to place ‘_’ within your hrefs. So be mindful.
Tell us what’s happening:
Describe your issue in detail here.
Failed:Your Technical Documentation project should use at least one media query.*
Failed:Each .nav-link should have an href attribute that links to its corresponding .main-section (e.g. If you click on a .nav-link element that contains the text “Hello world”, the page navigates to a section element with that id)
Each .main-section should have an id that matches the text of its first child, having any spaces in the child’s text replaced with underscores (_ ) for the id’s
The last one is due to having another id inside. I am not getting the media query to work. I also cannot figure out what the href and the id is supposed to be since I know they should be unique but there is a step to make them all the same so i cannot change the text in the id or after in the nav-link Your code so far
“Each .main-section should have an id that matches the text of its first child, having any spaces in the child’s text replaced with underscores (_) for the id’s”
Does the id for that section match what the test is asking for? The text of the first child, which is the header, is “Technial Documentation page”. So based on this, what should the id of the section be in order to pass the test?
Just to let you know, you are actually pretty close on this one, you just added a little too much to the id. But you did the same thing for all the other sections as well. Each header in a section should have different text in it. They should not all say “Technial Documentation page”. Then your section ids will be unique.