العودة إلى الدرس

ملف العمل الأصلي

reference/public/search.html

تحتفظ الشيفرة وصفحات الأمثلة القابلة للتشغيل بمعرّفاتها ونصوصها التجريبية الأصلية. يشرحها الدرس وإرشادات الملفات بلغتك.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <title>Search these notes</title>
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <main>
      <h1>Search these notes</h1>
      <form>
        <label>Topic<input name="query" type="search" required /></label
        ><button>Search</button>
      </form>
      <p role="status"></p>
      <ul id="results"></ul>
      <a href="index.html">Browse all articles</a>
    </main>
    <script type="module" src="search.js"></script>
  </body>
</html>