<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AI Chat Interface</title>
<link rel="stylesheet" href="style.css" />

</head>
<body>
<main class="chat-app">
  <header class="chat-header">
    <h1>AI Chat</h1>
    <button id="clearBtn" class="btn-clear">Clear</button>
  </header>
  <section id="messages" class="messages" aria-live="polite"></section>
  <form id="chatForm" class="chat-form">
    <input id="userInput" type="text" placeholder="Type your message..." autocomplete="off" required />
    <button type="submit">Send</button>
  </form>
</main>
<script src="script.js"></script>
</body>
</html>