SurveyForm cannot pass the test

Hi everyone. I have done my second project but it cannot pass the test. I have one task left undone according to test.

  • 1. I can see a title with id=“title” in H1 sized text.

  • 2. I can see a short explanation with id=“description” in P sized text.

I have input H1 sized text with id=“title”., but it still shows that one task is not completed yet. Here is a link to my project: https://codepen.io/msouldze/pen/NWbGPaL

Please help me. I appreciate your help.

Two things;

  1. Keep the test script when forking the pen (<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>)
    • The test script should be included, with all tests passing, when you submit your projects. (And don’t make us have to add it to check your project)
  2. 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 failing message says;

I can see a short explanation with id="description" in P sized text.  
There should be an element with id="description" : expected null to not equal null  
AssertionError: There should be an element with id="description" : expected null to not equal null  

You have not met that criteria.

Quick glance at your code;

  1. This </br> is not a valid HTML element.
    Also, do not use the <br> element to force line breaks or spacing. That’s what CSS is for.
  2. Make your page responsive. Remember, the R in RWD stands for Responsive
    There’s a horizontal scrollbar on smaller screens

Thank you so much for your help. I looked again at code and I have fixed it.
As for the test script, I will include it from now on.

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