Hello all!
Can you do me a favor and have a look at my first project? https://codepen.io/saydha/full/KKVRqPK
Thanks.
Hello all!
Can you do me a favor and have a look at my first project? https://codepen.io/saydha/full/KKVRqPK
Thanks.
Welcome to the forums @vladimircarrion. Your page looks good. Some things to revisit;
The test script should be included, with all tests passing, when you submit your projects.
Run your HTML code through the W3C validator.
Review the lesson about giving meaningful text to links.
Itâs bad practice to skip headers like you did. Donât go from h1
to h4
. Better to use h2
next.
Thank you for the advice. Iâll correct those mistakes and post it back to see my progress.
Hey Vladimir,
nice to meet you!
Great job so far!
My ideas:
When I remove the font fantasy
, it will work again.
Keep us posted!
Hello @miku86. I didnât get back to you because I decided to chage my tribute page and be a little bit more original. This is it. In my opinion, itâs much better than the first one. https://codepen.io/saydha/full/JjXodqe
Hello @Roma. I decided to be more original in my tribute page and came up with this https://codepen.io/saydha/full/JjXodqe. I am still having problem with the W3C validator. It pops up 3 errors. I fix it and continue appearing.
I just looked and see about 11 errors from the validator. They look easy enough;
head
is missing a required instance of child element title
.head
element you need to add a title
element. something like; <title>Tribute to Jeff</title>
This </img>
is not a valid tag. The img
element is self closing. Review this lesson
This line is not closed properly;
<img id="image" src="https://www.the-sun.com/wp-content/uploads/sites/6/2020/06/msemail_GettyImages-587967668jpg-JS559849238-e1591188498280.jpg" alt="Jeffrey Epstein"
thereâs a missing >
at the end
This <figcaption />
is not a proper closing tag.
The last error says you have a closing p
tag but no opening one. And there is no opening one.
Cleaning up some of the code alleviates some of the underlying errors thatâs why only six changes are needed to fix eleven errors.
As an aside, codepen provides the boilerplate for you. It only expects the code youâd put within the body
element in HTML. (No need to include the body tags). For anything you want to add to the <head>
element click on the âSettingsâ button, then HTML and add it into the âStuff for <head>â box. When you run it through the validator youâd see one warning and two errors but you can ignore them. Youâre more concerned with the errors in your HTML code. Not the boilerplate.