Tell us what’s happening:
the following messages are received which i fail to understand why:
-
The navbar element should contain one element which contains text that describes the topic of the technical documentation.
The navbar element should contain only one element.: expected 0 to equal 1
AssertionError: The navbar element should contain only one element.: expected 0 to equal 1
at s.u (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:262:1134)
at s.e.(anonymous function) [as equal] (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:325:126)
at Function.n.strictEqual (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:224:568)
at r. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:154:300326)
at c (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:31608)
at o.f.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:31544)
at m.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:37114)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:37976
at s (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:36426)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:36495 -
The element in the navbar must come before any link () elements in the navbar.
Cannot read property ‘compareDocumentPosition’ of null
TypeError: Cannot read property ‘compareDocumentPosition’ of null
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:154:301484
at NodeList.forEach ()
at r. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:154:301462)
at c (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:31608)
at o.f.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:31544)
at m.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:37114)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:37976
at s (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:36426)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:36495
at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:159:35901)
Your code so far
link to codepen
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36
.
Link to the challenge: