+ 3

[SOLVED]What's wrong in my code?

pls. help me with this. my code is not working. Pls. find out the error and answer pls. If you go to the css part and edit .Gradient with body, It's working. https://code.sololearn.com/Wz3xu852Rdy1/?ref=app

11th Sep 2018, 2:17 PM
Manan
Manan - avatar
4 Respuestas
+ 6
Hi Manan, You did not assign the section box with any height or width nor text. By default it's 0(/null/undefined) pixels, points or percentage. So there will be no output if you did not assign the width and height or create text in the tag itself. Hope this helps. Look at the changes at the code👍: https://code.sololearn.com/WymgyIrp20mq/?ref=app
11th Sep 2018, 2:37 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
+ 2
11th Sep 2018, 11:05 PM
Robert Aros
Robert Aros - avatar
+ 1
There is nothing to show in section tag,your styles are applied but you dont see them,you can specify the height and width in your css class or add some content to section tag
12th Sep 2018, 11:52 AM
KarSah
KarSah - avatar
0
See you have to write background instead of background-image You have not specified the dimensions of the gradient so it will spawn at 0,0 which is invisible. So you can see this https://code.sololearn.com/W4oCO8zM85b0/?ref=app
12th Sep 2018, 9:05 AM
Yash
Yash - avatar