<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet">
<div class="container mt-4">
<h3>Select your favorite color:</h3>
<input class="form-check-input" type="radio" name="color" id="red" value="red" required>
<label class="form-check-label" for="red">
<input class="form-check-input" type="radio" name="color" id="blue" value="blue">
<label class="form-check-label" for="blue">
<input class="form-check-input" type="radio" name="color" id="green" value="green">
<label class="form-check-label" for="green">
<button type="submit" class="btn btn-primary">Submit</button>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js"></script>