Page1.html has a form with a drop-down menu containing options Color and Shape. There is also a submit button.
Assuming Page2.html displays various shapes like Blue Square, Red Square, Blue Circle, Red Circle, is it feasible to create a JavaScript file that can read the values selected in the form on Page1.html? Upon submitting, the JavaScript will redirect to Page2.html with filtered results.
For example, if 'blue' and 'square' are selected in the form and submitted, can we hide all shapes on Page2.html other than Blue Squares? Or perhaps display only the filtered shapes?
I am curious to hear your thoughts on this scenario!