Cant link css file correctly to my index.html

My website URL is: http://plutokimo.epizy.com/

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

TestPage

Hello Karim this testpage is working

test

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:
#Kasten
{

width: 200px;
height: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 : https://codeshare.io/5X90dY

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

3 Likes

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.

3 Likes

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.