JavaScript/Changing elements/Exercises

Topic: Change element's content and attributes

We use the HTML page of the previous page for the exercises.

1. Modify the function  in a way that it disables the button. Its text shall change to "I'm disabled". Hint: To disable a button, its attribute  must be set to.

2. Modify the function  in a way that it opens the link in a new window:.