Ask coding questions

← Back to all posts
i tried doing DARK MODE USING CSS
Agzamikail (2)

i tried doing DARK MODE USING CSS ,but for some reason I didn't work, can you please tell me why it didn't work
i tried to do so https://www.instagram.com/p/CGM0J_wACjl/

Comments
hotnewtop
IntellectualGuy (672)

in your link tag in the head, some of your code is wrong replace it with

<link rel="stylesheet" type="text/css" href="style.css">

you forgot to put css after style. and also forgot to put a closing angular bracket - >

Agzamikail (2)

i did it but it doesn't work @IntellectualGuy

IntellectualGuy (672)

@Agzamikail It does, I can see it working

Baconman321 (1056)

You spelled your style.css wrong.

You did style., it should be style.css :/