here's a little test I want to do:
in the main html I simply want a text input, and a submit button...
when I type something in the input and click 'submit',
it calls a function that generates an html with:
<html> <head><title>JS Generated HTML</title></head> <body> //(text in input) </body> </html>
does anyone know of a way to write a function that can do that?? :/
if-else, I may be able to do it using Py instead of JS
but I want to try it in JS first...