Debug Camperbot's Profile Page - Debug Camperbot's Profile Page

Tell us what’s happening:

in this activity

The

About

is giving error: “4. You should not change the About text for the h2 element.”
This is not correct because I did not change the text but only changed to

, which is the proper way to fix the bug.

Your code so far

<h1>Hello from Camperbot!</h1>

<h2>Welcome!</h2>

<h2>About</h2>

<p>My name is Camperbot and I love reading and learning new things.</p>

<h3>Background and Interests</h3>
<p>I enjoy solving puzzles.</p>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36

Challenge Information:

Debug Camperbot’s Profile Page - Debug Camperbot’s Profile Page

Just solved the error and was able to bypass the debug by changing hthe 2 element to the h3 element:

Welcome!

to

Welcome!

Not sure why this would bring up an error not related, but hope this helps!

The tests expect you to remove the second h1 element altogether, as per User Story 1:

Camperbot is not following best practices and has multiple h1 elements on the page. Remove all h1 elements except for the first one.

The tests also expect you to have only one h2 element for this particular task, which is why you failed when changing the h1 element to h2. However, you’ve successfully bypassed the test by changing it to an h3, so that’s fine!

1 Like

Thank you, I was stuck on that for awhile

1 Like