Skip to content

Demonstrating all the things I can do with Javascript

Notifications You must be signed in to change notification settings

dmuzzin/Javascript-Expert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

03.6 Do Now

Press the button on the webpage to change it up! Then answer the questions below:

  1. What changed about the webpage when you clicked the button?
  2. Take a look at line 6 of the JavaScript. Based on what changed, what do you think innerHTML does?
  3. Take a look at line 7 of the JavaScript. Based on what changed, what do you think .style does?
  4. Take a look at line 8 of the JavaScript. Based on what changed, what do you think .src does?

If you have time...

Try to change the following things:

  • On line 6 of the JavaScript, make it so that the header says your name when the button is clicked.
  • On line 7 of the JavaScript, make it so that the image is 500px when the button is clicked.
  • On line 8 of the JavaScript, change the src of the image to something random.

About

Demonstrating all the things I can do with Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published