Question: Create 4 functions by using the getElementById ( ) method , the inner HTML property, the click event , and a simple function declaration for
Create functions by using the getElementByIdmethod the inner HTML property, the click event and a simple function declaration for the follwing questions in the images:
This screen shot uses the Firefox browser
Function is called when question is clicked on and answer is displayed
What is JavaScript?
What is the DOM?
What is the World Wide Web Consortium WC
JavaScript is a scripting language that runs in the web page.
This screen shot uses the Firefox browser
Function is called when question is clicked on and answer is displayed
What is JavaScript?
What is the DOM?
What is the World Wide Web Consortium WC
The DOM is the structure of the elements on the web page.
This screen shot uses the Firefox browser
Function is called when question is clicked on and answer is displayed
What is JavaScript?
What is the DOM?
What is the World Wide Web Consortium WC
WC is the organization that sets web standards.
This screen shot uses the Firefox browser
Answer is cleared out when button is clicked hint: innerHTML
This screen shot uses the Firefox browser
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
