Add comments and styling enhancements to Woordenteller application

This commit is contained in:
vista-man
2025-01-27 20:32:34 +01:00
parent 078130fc43
commit 83cbbd1a4a
3 changed files with 20 additions and 7 deletions

View File

@@ -4,14 +4,14 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Woordenteller</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="style.css"> <!-- Link to the CSS file -->
</head>
<body>
<h1>Woordenteller</h1>
<textarea id="textInput" rows="10" cols="50"></textarea><br>
<button id="countButton">Tel Woorden</button>
<div id="result"></div>
<h1>Woordenteller</h1> <!-- Header -->
<textarea id="textInput" rows="10" cols="50"></textarea><br> <!-- Textarea for input -->
<button id="countButton">Tel Woorden</button> <!-- Button to count words -->
<div id="result"></div> <!-- Div to display results -->
<script src="woordenteller.js"></script>
<script src="woordenteller.js"></script> <!-- Link to the JavaScript file -->
</body>
</html>