How this web site was built
How to create a static web site hosted in AWS, using S3 and Cloudfront.
This is my first paragraph heading
This is my first paragraphc text
Second Paragraphc heading
2nd paragraph text
List of steps
- first
- second
- third
This is a code sample
const themeToggle = document.getElementById("theme-toggle");
themeToggle.addEventListener("click", () => {
const current = document.documentElement.getAttribute("data-theme");
const next = current === "dark" ? "light" : "dark";
document.documentElement.setAttribute("data-theme", next);
localStorage.setItem("theme", next);
});