DEV Community

Discussion on: Dark mode toggle animation using CSS !

Collapse
3p4r4 profile image
lenin jose mendoza espina

Lo he solucionado, el script debe cargarse al final del body

Collapse
murtuzaalisurti profile image
murtuza Author • Edited

Great! You have to link your CSS and JavaScript file in your HTML page..

Collapse
merthod profile image
Merthod

O usa defer