Write the code to display a form along with the javascript as shown below. User should be able to select a picture after clicking on browse button and when he presses “click” button, the picture should be displayed.
Next the user should be able to enter value of image height and width and when he presses “apply” button, the size of picture should change as shown: