← Back

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

  1. first
  2. second
  3. third
My alt text
The Google Logo

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);
});