Question: Could you please help me to write a Javascript code that will do the following. Please keep it as simple as possible as I am

Could you please help me to write a Javascript code that will do the following. Please keep it as simple as possible as I am new to coding in Javascript.

create 2 buttons. button1 and button2. If button1 is pushed then "button1 is pressed" is displayed. If button2 is pressed, then "button2 is pressed" is displayed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!