17 lines
576 B
HTML
17 lines
576 B
HTML
<!DOCTYPE html>
|
|
<html lang="en" data-bs-theme="dark">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
|
|
<title>Character count</title>
|
|
</head>
|
|
<body>
|
|
<h1>Character count</h1>
|
|
<label for="text">Enter your text below.</label>
|
|
<textarea id="text"></textarea>
|
|
<p>You've written <strong><span id="character-count">0</span> characters</strong>.</p>
|
|
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html>
|