Why are my html and css codes not working on SoloLearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why are my html and css codes not working on SoloLearn?

I copied my html and css code on laptop which was working already and the website I tried to practice on was looking great. After copying the code to SoloLearn, everything scattered and I don't understand why https://code.sololearn.com/WKs2CUvJgzwX/?ref=app

22nd Jan 2022, 2:58 AM
CHARLES LARTEY
CHARLES LARTEY - avatar
5 Answers
+ 1
The links to CSS files and local images don't work in code playground. Instead, put all CSS inside CSS tab and remove all stylesheet links. For the images, the simplest solution is storing in the internet, then pointing the img tags there.
22nd Jan 2022, 3:08 AM
Emerson Prado
Emerson Prado - avatar
+ 1
Look for the error mensagem and search for it on the stack overflow or similar. Usually is a depresietion over the different version of the used compiler. Not always bycose you are in the wrong way. Dont get the it to serious. Your code is Great 👍
24th Jan 2022, 1:17 AM
Vinicius Matos
Vinicius Matos - avatar
0
Thanks but for the images, I am aware of its linkage. Its the css colors and layouts which is my problem. But I also placed the css in css tab and its not working
22nd Jan 2022, 3:15 AM
CHARLES LARTEY
CHARLES LARTEY - avatar
0
Since there's a huge lot of HTML objects and CSS styles, I can't really tell how things should look like. Would you mind focusing in a few key examples?
23rd Jan 2022, 1:27 PM
Emerson Prado
Emerson Prado - avatar
0
Thanks to you all. The code just worked after recopying from my computer and I don't know why
25th Jan 2022, 11:21 PM
CHARLES LARTEY
CHARLES LARTEY - avatar