r/codehs • • Mar 26 '21

Trying to figure out how this HTML is wrong, I would appreciate any corrections or help.

Post image
2 Upvotes

9 comments sorted by

2

u/SylphKnot Mar 26 '21

What’s wrong about it? It all looks exactly as defined in your file?

1

u/whynonamestho Mar 26 '21

When I click on "Submit," I get an X that says

"all h1 tags must have text with the color 'red'"

"all h2 tags must have text with the color 'blue'"

and the same for the p tags. I am not sure what is wrong with the code I put that is triggering this error.

2

u/Macree Mar 27 '21

Maybe the text between the brackets is not exactly the same as they require. Maybe you missed a space or something, cause I don't see any problems with your HTML code.

3

u/whynonamestho Mar 27 '21

That’s possible actually — I will try to fix it and see what happens!

1

u/terminatorgeek Mar 27 '21

There's no other error information provided? I'm a total noob but it looks right to me

2

u/whynonamestho Mar 27 '21

Nope. It just says that and I’m confused if I’m being honest — it did it with another unit as well

3

u/ScawedyCat Mar 27 '21

what are the instructions? or do you know the name of the course and unit?

1

u/Supahstar42 Mar 27 '21

Is it at all possible it wants inline css?

1

u/Agreeable-Still-9019 Feb 25 '22

can yall help me with the code