Hi,
I am working on HTML text basics 1 .
I would like to have my code looked at for accuracy.
Thank you!
Hello! Looks like you’ve gone above and beyond on this one.
As far as setting h1, h2, and p tags up in their locations, 100%! Love that you added all the important meta info, etc.
Some extras for thought:
-
I would recommend adding white space in between the different html tags to aid in readability of the code (ie. press “Enter” for a line-break between your h1 and p, etc.
–I’ve found it helpful to be mindful of how you see pros organizing and spacing out their code. CodePen also has nice “Format HTML/CSS” options in the dropdown menus at the top-right of the respective windows. These format options may help you get a better idea of standard indentations. -
Also, you’ll learn some more tricks for CSS later on that will help clean up the html portion further, so be on the look out!
–For instance, you could cut & paste the entire style section over to the CSS window of CodePen to clean up the html window (and then delete the style tags from the html side, of course). Instead of inline styling for bolds, underlines, italics, etc you can add span tags with classes (classes with names like “wavy”, “bold”, “italic” and add the related .wavy, .bold, .italic elements to your CSS to achieve the same effect and further clean up your html.
Keep up the great work!
Hi Timandes,
Thanks for reviewing my code. I especially appreciate your lengthy reply with additional tips on formatting and CSS use.
Cheers!