you are asked to create a simple form that obtains from the user three inputs (an input string, a substring, and index value). Your code should then, based on this input, provide the output from various string object operations. The actual layout/design of the web page is left up to you, but an example of one that can be used for reference is shown below: What will you submit? You should submit: • Screen-shot of the web page with valid input and substring. • Screen-shot of the web page with valid input and non-existent substring. • Your HTML file. • Your JavaScript file.
Fig: 1
Fig: 2