Original working file
public/en/index.html
Code and working example pages keep their original identifiers and sample text. The lesson and file guidance explain them in your language.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>A small website, clearly explained</title>
<link rel="stylesheet" href="../style.css" />
<link rel="canonical" href="https://YOUR-SITE.example/en/" />
<link rel="alternate" hreflang="en" href="https://YOUR-SITE.example/en/" />
<link rel="alternate" hreflang="tr" href="https://YOUR-SITE.example/tr/" />
</head>
<body>
<main>
<nav aria-label="Language"><a href="../tr/" lang="tr" hreflang="tr">Türkçe</a></nav>
<h1>A small website, clearly explained</h1>
<p>See my work and find out how to contact me.</p>
<section>
<h2>Contact</h2>
<a href="mailto:hello@example.com">hello@example.com</a>
</section>
</main>
</body>
</html>