Cant link css file correctly to my index.html

My website URL is:

So i already created an index.html which is working perfectly fine, here is the code:


Hello Karim this testpage is working


now i have another css file which is stored in a folder called “css” and the name of the file is : “helloworld.css”

Here is the code:

width: 200px;
bakground-color: green;


All it is supposed to do, is to give the div with the id “Kasten” a blue background. Sadly this is not working. Am i linking it somehow incorrectly in my index.html ?

i dont know why its not showing my code, here is the code of the index.html : Dec 17, 2019 - Codeshare

simply Change bakground-color: green; to background-color: green; :slight_smile:


Whoops, thank you i did it. But it’s still not working :frowning:

Refresh the page with Ctrl and F5 pressed together, or clear your browser cache, and see if it works.


ok lol now it works thank you both very much

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.