Need help finding the cause of errors in Personal Portfolio Page

Checking the code of my Personal Portfolio Webpage I cannot find the cause of the following 2 errors:

4. The projects section should contain at least one element with a class of "project-tile" to hold a project.
expected 0 to be above 0
AssertionError: expected 0 to be above 0
    at Proxy.f (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:549:2957)
    at Proxy.u (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:431:130)
    at Function.a.isAbove (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:574:960)
    at a.<anonymous> (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:608:104251)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:259477
    at ay.xg.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:259772)
    at r.Qg.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:274680)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:275616
    at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:274033)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:274103
5. The projects section should contain at least one link to a project.
expected 0 to be above 0
AssertionError: expected 0 to be above 0
    at Proxy.f (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:549:2957)
    at Proxy.u (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:431:130)
    at Function.a.isAbove (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:574:960)
    at a.<anonymous> (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:608:104426)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:259477
    at ay.xg.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:259772)
    at r.Qg.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:274680)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:275616
    at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:274033)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:274103

After checking my code using “analyze HTML” function and “W3C validator”, I found no problem.

My code has “project-tile” classes inside “projects section”, and 4 links to my projects (these links works well), it seems that the code fulfills the requirements of the user stories.

Are there any problems that I don’t find?
Waiting for advices. Thank you.

Check the wording of the user story. It says “My portfolio should have a projects section with an id of projects.

You have it coded as;

<!-- projects -->    
  <section>
    <h2 id="projects">My projects</h2>
    <div class="project">
...

Hope that helps.

1 Like

Thank you Roma, but the user story you mentioned is No.3 that is cleared. I have no idea of user stories 4 and 5, that I think is fulfilled.

this is the “section” that makes user story #3 pass
<h2 id="projects">My projects</h2>
but that “section” does not contain anything that would make user stories 4 and 5 pass
user story 4 says “The projects section should contain at least one element with a class of project-tile to hold a project.
That does not happen within <h2 id="projects">My projects</h2>
user story 5 says “The projects section should contain at least one link to a project.
Again, that does not happen with <h2 id="projects">My projects</h2>

Does that make sense/help?

1 Like

Roma, I just totally understand what you mean: I fixed problematic points and all the error messages cleared.

1 Like

By the way I wonder how to make use of GitHub. Should I put the small project such as this codes onto GitHub repositories?

Yes, you can. It will give you practice with creating repo’s in GitHub as well as doing a push when you make changes to your code.

1 Like

Thank you Roma, I will do it!