Week 7: Lab #14
JavaScript Resize Function
DUE: Tuesday, 2/28 @ 5pm
- Create a page with a single image of your choice.
- Create a form with inputs for width and height and a submit button with the text "Resize".
- When the "Resize" button is pressed, call a JavaScript function to read the values from the input fields and apply them to resize the image on the page.
- Create another button that calls a JavaScript function which creates a console.log() message that prints out the current width and height of the image on the page.
Upload your completed lab by the due date specified above and make sure that you add a working link to it on your class page, otherwise it will not be reviewed and you will not receive credit.