0
Background image help.
So no solutions worked on the last one but I think I worded it wrong. Im looking to have the background color as it is, starting at green, then later turn to white. But Iâm having a problem getting my actual background images to show. If you delete the <body class=âbodyâ> you should see what I want on top of the color. https://sololearn.com/compiler-playground/W9SlllA165OC/?ref=app Solutions on this did not work I think Iâm just wording it wrong. https://sololearn.com/discuss/3268280/?ref=app
6 Answers
+ 1
To fix the image display issue, you just need to delete the .body style on line 26 in the CSS tab.
Also:
A HTML document should have only one <body> element. Think of the body as a TV screen. It is a container for all the elements you want to show to the viewer.
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Your code has several other issues that the webdev course can help you fix.
+ 2
So a green to white gradient background?
+ 1
why are you putting a body tag inside head?
also, body tags everywhere. You really should review the basic html course. You just can't put these tags anywhere you want and expect to get a coherent web page.
I would also advise against mixing stylesheet and inline styles. it will make it very hard to debug your page. And again, the font tag is deprecated.Try not to use it.
+ 1
You're doing well! Your code is cool, and this project seems interesting. I have cleaned up and structured your code, but I'm not sure about your preferences for the background and picture placement. If you have any, please comment in the playground. I can provide tips, but I recommend taking an HTML course to brush up on the fundamentals. Happy coding!
https://sololearn.com/compiler-playground/W6fUFU6V9mSe/?ref=app
0
Chris Coder yes but with the background pictures visible on top
0
Chris Coder thank you, i know itll have tons of issues ive been learning like a month