ملف العمل الأصلي
before/index.html
تحتفظ الشيفرة وصفحات الأمثلة القابلة للتشغيل بمعرّفاتها ونصوصها التجريبية الأصلية. يشرحها الدرس وإرشادات الملفات بلغتك.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Project gallery</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main>
<h1>Projects you can explore</h1>
<nav aria-label="Page">
<a href="#projects">Projects</a><a href="#contact">Contact</a>
</nav>
<section id="projects">
<h2>Selected work</h2>
<div class="projects">
<article>
<h3>A reading-club page</h3>
<p>Find the book, meeting date and venue.</p>
<a href="#contact">Ask about this project</a>
</article>
<article>
<h3>A community garden diary</h3>
<p>Read updates about planting and shared tasks.</p>
<a href="#contact">Ask about this project</a>
</article>
</div>
</section>
<section id="contact">
<h2>Contact</h2>
<a href="mailto:alex@example.com">alex@example.com</a>
</section>
</main>
</body>
</html>