Technical documentation page. I keep failing on the last test

Hi everyone,
my code pen: https://codepen.io/mah752/pen/qBrdbYd

I don’t understand how to pass the last test.
This is my issue: #Layout

  1. On regular sized devices (laptops, desktops), the element with id=“navbar” should be shown on the left half of the screen. It should always be visible to the user and should remain stationary. You may need to enlarge the viewport or zoom out to ensure the navbar doesn’t scroll with the page content.
    Left of bounding rectangle is not correct.: expected 8 to be at most -610.8333740234375
    AssertionError: Left of bounding rectangle is not correct.: expected 8 to be at most -610.8333740234375
    at Proxy.g (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:549:5585)
    at Proxy.l (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:431:130)
    at Function.n.isAtMost (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:574:1164)
    at a. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:151073)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:38668
    at i.g.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:38963)
    at N.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45686)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:46651
    at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45075)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45145

Your page the way it is now passes all tests.

If the test is failing it may be that you have your browser too narrow. The line says On regular sized devices (laptops, desktops), the element with id=“navbar” should be shown on the left half of the screen.

1 Like

Your tests pass on my browser, maybe your extensions or something else causes this error.

1 Like

Thank you! I made my browser larger and it works now.

2 Likes

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