IDE(s) vs Sololearn's Code Playground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

IDE(s) vs Sololearn's Code Playground

Why is the output of the exact same code of HTML, external CSS & external JS different? https://sololearn.com/compiler-playground/WW6Q2Q9rJ2f2/?ref=app

18th Feb 2024, 3:02 PM
Eriito
Eriito - avatar
2 Answers
+ 4
you mixed up css, html and Javascript in the css tab, resulting in invalid code
18th Feb 2024, 4:15 PM
Lisa
Lisa - avatar
+ 1
randomly copy pasting things is not how web pages are made...
19th Feb 2024, 5:32 AM
Bob_Li
Bob_Li - avatar