doctype html
html(lang="en")
head
meta(charset='UTF-8')
meta(name='viewport' content='width=device-width, initial-scale=1.0')
title NEW PROJECT
link(rel='stylesheet' href='style.css')
script(defer, src='script.js')
body.dark
Toggle
Want To make it a toggle button by adding this id "body" to <body> element and a toggle button and give it id example "toggleBtn"
doctype html
html(lang="en")
head
meta(charset='UTF-8')
meta(name='viewport' content='width=device-width, initial-scale=1.0')
title NEW PROJECT
link(rel='stylesheet' href='style.css')
script(defer, src='script.js')
body#body
button#toggleBtn
JavaScript
make a scipt.js in your root path and put this codes