File size: 1,217 Bytes
ef987bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!doctype html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <title>Language Learning Fixture</title>
  <style>

    body { font-family: Arial, sans-serif; margin: 32px; }

    section { border: 1px solid #bbb; padding: 16px; margin-bottom: 16px; }

    .hidden { display: none; }

  </style>
</head>
<body>
  <section data-testid="login-screen">
    <input data-testid="username" value="" placeholder="username">
    <input data-testid="password" value="" placeholder="password" type="password">
    <button data-testid="login-button">Login</button>
    <p data-testid="login-status">not logged in</p>
  </section>
  <section data-testid="language-screen" class="hidden">
    <select data-testid="language-select">
      <option>中文</option>
      <option>英文</option>
      <option>日文</option>
    </select>
    <button data-testid="next-button">Next</button>
    <p data-testid="language-status"></p>
  </section>
  <section data-testid="lesson-screen" class="hidden">
    <ul data-testid="lessons"></ul>
  </section>
  <script src="src/LoginScreen.tsx"></script>
  <script src="src/register.tsx"></script>
  <script src="src/lesson.tsx"></script>
</body>
</html>