Add to this code to make it check my answers when i press submit

<button onclick="()">Submit</button>

To create a function that checks the answers when the submit button is clicked, you can add the following code:

```html
<button onclick="checkAnswers()">Submit</button>

<script>
function checkAnswers() {
// Add your answer checking logic here
// For example, comparing the user's input with the correct answer
let userAnswer = document.getElementById('userInput').value;
let correctAnswer = "Your Correct Answer Here";

if (userAnswer.toLowerCase() === correctAnswer.toLowerCase()) {
alert("Correct Answer!");
} else {
alert("Incorrect Answer. Please try again.");
}
}
</script>
```

Make sure to replace "Your Correct Answer Here" with the actual correct answer that you are checking against. Additionally, you would need to have an input field with an id of "userInput" for this code to work.