In the index.html file at the very end of the code there are 2 red notification regarding </DOCTYPE!>
Its must be in lowercase
Its must be paired, no start tag
Yet when reviewing the codes of my earlier lessons on HTML I notice neither have been the case.
The DOCTYPE is always written in capitals and there is actually never a closing tag at the end.
So what going on in this particular code and what is the correct solution to fixing the code ?
On line 6 of index.html , copy and paste the code below to apply the CSS file to the existing HTML.
I’ve tried pasting:
on line 6 before and after" .header{"
No luck. I hit solution and the page changes on the right but the text editor doesn’t at all on line 6
And consistently "Get Help/Solution/Get Code Solution doesn’t return anything other than the original unsolved page. I’ve tried to just keep moving on but not sure why this doesn’t work.
It should be pasted into the HTML document, not the stylesheet. Switch tabs to index.html and paste that on line 6, then Run.
As a complete aside, relating to the earlier question with respect to DOCTYPE, first, it is not an HTML tag, but an SGML tag, being as it is not written inside the <html></html> element. Second, it is not case sensitive so may be written in either lower or upper case.
Does anyone else have had the issue that background images weren’t loaded?
I’m trying to see if it is something in my browser settings or something in the stylesheet or html code, but I wasn’t able to find anything yet.
Line 8 and line 94 are missing the semicolon to close the background declaration. Confused me at first and am wondering how they can miss a simple thing like this in the syntax but be teaching at the same time.
“Just for practice, change the color property from **white** to **black** and press Run to see what changes!”
Hi all, just a quick question. On instruction 2, when changing the color properties, **black** doesn’t seem to work, while trying out **red** or **blue** , both do take place and the word appears with the designated property. Any reason why this is happening?
even after i switch the tab it is still not letting me paste the link when i right click my mouse the option to paste is not even showing up its not my computer because i can paste the link in another doc. on word
Hello, I see that we put the HTML link tag to the CSS file on line 6. Could it have been on any line in the HTML file, or was there a specific reason we put it after the title?
Thank you for your quick response! When I add it above the element, at the top (above the tag), it still stylizes the page. Is this just on CodeAcademy or would this happen in regular HTML programming as well?