Answers for "html counter input"

7

html counter input

<!DOCTYPE html>
<html>
<body>

<form>
  <label for="points">Points:</label>
  <input type="number" id="points" name="points" step="3">
  <button onclick='console.log(document.getElementById("points").value)'>Count</button>
</form>
</body>
</html>
Posted by: Guest on August-27-2021

Browse Popular Code Answers by Language