The easiest way to get a perfect score is to have a look at the popup when you run the tests:
Error #1: My product landing page should have a element with corresponding id=âheaderâ.
You have the <header
element, but it does not have the id="header"
attribute.
#2: I can see an image within the #header element with a corresponding id=âheader-imgâ. A company logo would make a good image here.
You donât seem to have an <img>
tag anywhere. The lesson wants one within the <header>
tag, so your header will end up looking a bit like:
<header>
<img>
</header>
with header text and other attributes added.
And so on, for any other errors reported.
hth
Iâd suggest you put the links at the side of the page so I can access them whenever I want. At al else, you did great. I love the fonts and colors you picked.
Hi @Prometheus03, your page looks good but a couple of things you may want to revisit.
- if you surround your
<code>
with<pre>
tags you wonât need to use<b>
- if you notice, stdio.h and error.h donât appear on your page and show up as errors when you run your code through a validator. You cannot put them in the greater than/less than tags because HTML thinks theyâre (invalid) HTML elements. You need to use the HTML entities for greater than and less than.
hey hi! thanks for the orientations. i made some adjustments , let me know what you think
https://codepen.io/Joseph_242/pen/OYryzg
Looks really good @Prometheus03. You missed changing the entities for <error.h>
. Itâs at the end of the first paragraph in âError Handlingâ.
Good job! Youâre welcome