0

help with code css

help, I cant link the css to html, long story I copied this code from git hub, thankfullly the js is working well https://code.sololearn.com/WF8Y4pH2uN4U/?ref=app

14th Jul 2019, 11:25 PM
Leonardo Monterey
Leonardo Monterey - avatar
8 Answers
0
that nesting looks more like scss to me
14th Jul 2019, 11:46 PM
Taste
Taste - avatar
0
so how do i fix it?
15th Jul 2019, 12:07 AM
Leonardo Monterey
Leonardo Monterey - avatar
0
either, keep the nesting rule but in css way body > something in every rule or remove the body, or just make it a rule on its own
15th Jul 2019, 12:09 AM
Taste
Taste - avatar
0
ok I think I was seeing that, i copied directly from git hub, and I do notice that there are 2 bodies. you are saying to remove one of them. do I need to write the link ref css, Idk if I need that for the SoloLearn Editor??? and thanks for your response , I was thinking that maby it was body linked kinda like h1, h2, h3 kinda thing but I guess not.
15th Jul 2019, 12:26 AM
Leonardo Monterey
Leonardo Monterey - avatar
0
you can remove the first body.
15th Jul 2019, 12:27 AM
Taste
Taste - avatar
0
go figuer I had removed the second one, let me try thanks
15th Jul 2019, 12:29 AM
Leonardo Monterey
Leonardo Monterey - avatar
0
thank you , but why did it work is it because of the editor, or whatever, but thanks very much I was spinning my wheels. I am kinda new to this well actully coding and not learning the lesson, quite a big diffrence, I guess I am new to debugging. anyways , thanks
15th Jul 2019, 12:32 AM
Leonardo Monterey
Leonardo Monterey - avatar
0
its just not a plain css, dont worry. they look pretty similar
15th Jul 2019, 12:33 AM
Taste
Taste - avatar