why doesn’t my CSS show in my codepen? It works in my own code editor but not in codepen. I am building a city based off what I have learned in the "colored markers " project.
What do you mean? Your css shows what it can. Its showing the background color, and thats all it can show right now. Your css has several classes, but you have no classes in your html yet that match the classes you have in your css. Which is why only the background shows
the ciass selectors in the css should be also in the html
Check to see if you linked the CSS file to your project’s HTML page properly. Make sure that the path is correct and that the editor saves it properly.
stupid mistake. I took the wrong html code from another project and put it in this one.
thanks for noticing that for me, though
No worries it happens lol. Stuff like this has happened to me more times than I care to admit
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.