Technical Documentation issue

Ive having trouble with # 12 on the Technical Documentation project. I cant figure out whats wrong.

12. Each element with the class of “nav-link” should contain text that corresponds to the text within each (e.g. if you have a “Hello world” section/header, your navbar should have an element which contains the text “Hello world”).

Heres the Codepen: https://codepen.io/freeCodeCamp/pen/MJjpwO?editors=1100

Hey @reynaldo.delvalle23 ,

I think you gave us the wrong link. :slight_smile:

Two things;

  1. The link you provided is the FCC pen that you are supposed to fork so you can write your own
  2. When a test fails click the red button to see which test(s) are failing and text to help you correct the issue.
  • Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.

Sorry here is the right link https://codepen.io/delvrd23/pen/ExNeLGx

@reynaldo.delvalle23

  • Keep the test script when forking the pen (<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>)
    • The test script, with all tests passing, should be included when you submit your projects.

See my previous post about reading the entire failing message. It tells you everything you need to know.

Ok it seems to be working now actually. Thanks.

Good job, I’ll take your word for it. I don’t see the test script and the test is still failing.
Be sure and hit that save button.

So i just realized based on the view the test passes and fails.

https://codepen.io/delvrd23/pen/yLVxjdr. If the code is on the left or right it shows 14/16. But if the code is on top then 16/16 passes. Granted i havent worked on # 1 in layout yet. But # 12 in content still seems to be giving me trouble. I looked at the red comments not sure whats being done wrong.

I don’t understand what you mean by this. In full view or editor view all tests pass.

Again, I don’t understand. On the left or right of what? code is an element

I don’t understand this either. All the tests are passing so what red comments are you seeing?

So, the area where u write code, HMTL, CSS , JAVASCRIPT. You can change the view to appear on the left, right, top, or full view. In full view or top it passes 16/16. But on the left or right, it fails 14/16. When i said code i just meant where the area to write the code appears. Left, right, top, or full view. But in full view it does pass so for now i guess i am satisfied.

Ahhhhh…I see. Not view but editor layout. Tbh, I don’t have enough screen real estate to run the editor on the left or right. I can see why the one test would fail (false positive) but as to the other, that seems to be a codepen issue. Interesting.
I’ll try and remember to look into it and open an issue with codepen if I figure something out. Though it’s not high on my list. :slightly_smiling_face:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.