So I've been messing around with JS, and I wanted to make a dark theme toggle button as seen here.
However, that tutorial only shows how to make it work with the <style>
tag in HTML, not using an external CSS file.
How could I make it toggle the class .d_theme
from an external CSS file?