1st post here and 1st attempt at a coding project. I have finished my tribute page on code Pen and passed all the tests, yet when I paste the exact same code into FCC, it’s not being validated.
This is the msg in the console-
Your img element should have a display of block
Your #image should have a max-width of 100%
Your #image should be centred with its parent
You need to style the html page, if you don’t link the css stylesheet, you are not styling the html page. The new curriculum can walk you through a real page structure, instead of the hidden implementation details of places like codepen
I have searched for this problem online, have referenced people who have finished the project on YouTube, and looked at the code for the example you have given for this project. Still can’t see any mention of head in anyones code anywhere, nor can I see the CSS linked in anyone else’s code. Very confusing
Thank you hbar, ilenia and Jeremy for the help but unfortunately it is still not passing.
I have again followed and re-completed all tutorials etc, as suggested on this thread(w3, FCC- old and new curriculum ), repeatedly pasted the exact code that is displayed on the FCC note section at the bottom into a head element, playing around with it based on other lines of code I have seen examples of, and still the same 3 error messages regarding the img/image element.
Still going through other examples of tribute page code available on the internet and snipping bits of code to try and make it work but no joy.