Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions