Following a submission of numerical input, I am looking to navigate from the index.html file to another HTML file or similar destination.
Could someone provide assistance?
Below is the code I have written:
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="nick.jpg">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Bet</h1>
<form action="cool.html">
<label class="amountMoney" for="amountMoney">Enter the desired amount of money. The sum will be converted into dollars.</label>
<h3>The value must not exceed 100 or go below 10</h3>
<input id="amountMoney" type="number" placeholder="Amount of money" min="10" max="100" required>
<button type="submit">Submit</button>
</form>
<script src="script.js" defer></script>
</body>
</html>
By the way, I am referencing a different CSS file in cool.html