Your page looks good @YagneshP. Some things to revisit;
- Codepen provides the boilerplate for you. It only expects the code you’d put within the
body
element in HTML. (No need to include thebody
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. - Run your HTML code through the W3C validator.
- There are HTML coding errors you should be aware of and address.
- Main one is the
code
element gets wrapped in thepre
element. Not vice versa. And there are a few other things to clean up.
- Main one is the
- Since copy/paste from codepen you can ignore the first warning and first two errors.
- There are HTML coding errors you should be aware of and address.
Side note; I see an error in the testing that I’ll open an on.
The user story #14 says;
“On regular sized devices (laptops, desktops), the element with id="navbar"
should be shown on the left side of the screen and should always be visible to the user.”
I’m noticing that your navbar scrolls with the #main-doc
.
Thank you for the notes! I have changed the code as per your suggestion. I didn’t understand “Side note; I see an error in the testing that I’ll open an on.” this part of your note. Please help me to understand. Thanks once again for the help.