+ 1
CSS issue
I've recently started to learn CSS and I am having an issue with the code. I have tried to make the head and body on my latest code (CSS 1) different colours and it isn't working. How do I fix this?
10 Réponses
+ 5
You should link your code with the question. It will give us opportunity to answer you correctly.
+ 3
@D.C.M.P. There will be a insert option when you are adding a post to add code or another post. If there's not then link your code there by it copying it's link from sololearn website.
+ 2
https://code.sololearn.com/WsxGlUPuRk8S/#
Copied this from site
+ 2
Hope it helps
+ 2
Yes, @Splitty thank you
+ 1
The head doesn't get rendered. If you mean the header, then just style the header element in your code. But your header container has to be inside of the body tag. No way to style the actual head tag.
+ 1
Thanks guys. @Akash I don't know how to do that. I used the sololearn html app before but this one is new to me and I'm still figuring it out.
@Niush and @Splitty thanks for clarifying.
+ 1
@Akash OK. I'll attempt to make a new post called CSS Problem 2. If I can't see the insert option I'll go to the site.
+ 1
I believe, this is what you want to do?
https://code.sololearn.com/WocV905k05Ea/?ref=app
Head shouldn't contain any elements, it's just for Metadata. I moved your code into body, and made the title a h1 element. Hope that helps.
0
<head> section can't be customized.