Converting a project in the console, to include the UI?
https://github.com/callum-laing/build-progression
Github repo attached for code reference.
This isn't anything fancy, it's just a project for me to understand how to push the JS into the UI.
I want to use the addItem function and change the prompt into whatever the user submits in the html form. I'm not sure how to do that? I believe I can call the function using an onclick on the submit part of the form to actually add the item + quantity to the inventory, but I'm not sure how I change the prompt variables from a prompt, to whatever the user inputs in the 2 form fields...
GitHub
GitHub - callum-laing/build-progression: Multiple step layered prog...
Multiple step layered progression from console to UI - GitHub - callum-laing/build-progression: Multiple step layered progression from console to UI
0 Replies