Please review my Tribute Page project. I have passed all tests but I do not like the img-caption. I also dislike the the tribute-info. Is the h2 text and the
all in one. The reason I am asking is I cannot change the color of the text in h2.
codepen provides you with validators for HTML, CSS and JS. Click on the arrow in the upper right of each section and then click on the respective ‘Analyze’ link. There are a few things you should clean up.
I see you’re calling the Montserrat font in CSS but I don’t see anywhere where you’ve linked to it or imported it.
When you copy/paste text from somewhere like Wikipedia it sometimes includes references to footnotes. (Those are the numbers in the brackets.) If you’re not going to include the footnotes, you should remove them from your paragraphs for easier reading.
I like that you are giving tribute to the amazing sandwich!
I would suggest you add some margin and padding to the text so that it is centered a bit better. add some spacing on the sides.
you actually can change the color of the h2.
When linking to a font that is something that would go in the <head> Since codepen only want you to put in code that goes between the body tags you need to put your link to your font in the head by clicking on the Settings button. You’ll see an area titled ‘Stuff for <head>’ Put the link to your font there.
I see HTML has validation errors. You can clean these up. For instance you have <img id="image" src="yada, yada"</image> The img element is not closed. It should be <img id="image" src="yada, yada">
(The img element is self closing so </image> is not valid.
align is not valid on the <p> element so you should remove that. Styling can be done in CSS
The reason your image-caption is not styled is because you have it set with an id (id="img-caption") but in your CSS declaration you’ve called it image-caption. And that is not the correct way to reference an id.
You have a link away to read more but it doesn’t show because there’s no text for the reader to click.
If you look at the bottom of my page you will see a link. I have it in HTML but it is not underscored. I need to work on it some more as I want to make it BOLD and the font larger.
Question: Would I use CSS or HTML for that?