I'm about a month in, into learning HTML and CSS. I've just started Freecodecamp's small projects, the current one being a tribute page that I need to write myself while satisfying certain conditions in order to pass.
I've tried my best to code my tribute page to the conditions asked. Here's a link to my code so far: https://codepen.io/pr-pixel/pen/RwrrNBm
Here is a link on the freecodecamp conditions that I need to satisfy to pass: https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-projects/build-a-tribute-page
And lastly here is a link to the Freecodecamp's example tribute page, which mine is supposed to look like: https://codepen.io/freeCodeCamp/full/zNqgVx
Personally, I think I've put too many unwanted tags. Also for some reason the CSS doesn't work so I'm still trying to figure that out. Ultimately, I just want pointers and tips on the best way to go about this and what I've done wrong.
I'm fairly sure there are answers out there but I don't want to simply look at them and copy them into my code, cause' I feel I won't learn that way.
Your CSS should work, provided you use it correctly. Do you use an external CSS file? In that case you must remove the HTML tags you have there. If you put it in HEAD, it should work as is.
Only, you have no HEAD and no BODY either. Add those. And a TITLE (title is actually a required element, strange as it may seem).
Off-topic post moved to its own thread.
https://forums.htmlhelp.com/index.php?showtopic=60300
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)