Radio button help only get 1

cant figger out why i only get i radio button not 2.

<!DOCTYPE html>

	<html>

		<head>
			<title>hello</title>
		</head>

		<body>

			<input id="better" type="radio" name="idk">
			<label for="better">1</label><br>
			<label for="better">2</label>

		</body>
		<footer>

		</footer>
</html>

You only have one <input> in your HTML so that’s all you’ll get. Each radio button needs to have its own <input>.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.