Code Test - Can you spot the error?

Hello everyone,

Would you please spot the error?

I have been trying to execute the code, but it showed that there must be at least 5 code elements and 10

elements. It is already there. Would you please help with that?

There should be 10 elements with the p tag. And I don’t see any code.

1 Like

p1, p2, p3 etc are not valid element names

lu is also not a valid element name

you do not have any code elements

1 Like

Thanks @ieahleen !

My understanding is that a β€œp” element looks like <p> </p>. I, thus, wonder what is exactly wrong?

See the ptag here => https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p

1 Like

correct, it looks like <p>, not like <p1> or <p2> or something else like that

1 Like

That worked for the β€œp” error. Thanks, @ieahleen!

then you just need to just use the code element

and also please fix the lu element, if you want an unordered list the element name is ul

1 Like

@ieahleen I have rectified the

    error, but the issue is still persistent. I really appreciate your kind help.

Hello~!

I loaded up your codepen, and I am still seeing that you have elements <p1>, <p2>, etc. These are not valid HTML elements - instead, they should be <p> elements.

Additionally, I am not seeing any <code> elements in your HTML yet. :slight_smile:

1 Like

Thanks, @nhcarrigan!

All done, and code executed.

Have a great day!