I am trying to use a simple form in a TypeScript-based Astro application. I want to grab what is entered into the input box and put it in the console. I have a working application here.
But when I enter data and press the button, I see nothing in the console.
I want to know two things:
- Why don't I see anything in the console?
- Why do I see the email address as a parameter in the resulting URL?
I actually just want to know that my onSubmit
event is actually firing.