I was wondering how it would be possible to take an HTML input and with javascript make it so that if the user enters 1.html in the input it will take them to the file 1.html?
I was wondering how it would be possible to take an HTML input and with javascript make it so that if the user enters 1.html in the input it will take them to the file 1.html?
This is a rough illustration but should give you the general idea. There’s a lot you’d want to add to this but I figure you just want a starting point.
You may also wish to consult the location object docs.