1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alisiya [41]
1 year ago
11

an engineer is writing a web application that requires some user input. the engineer has put a submit button on their page and n

ow needs a way for their program to recognize when the button has been clicked. the engineer should add a(n) to their javascript.
Computers and Technology
1 answer:
Setler [38]1 year ago
7 0

In order to make the program recognize the clicking of a button, the engineer should add an event listener to the JavaScript code.

An event is considered to be a vital part of JavaScript because a web page responds according to the event that occurred. Some events are generated by APIs and some are user-generated events. For example, clicking or moving the mouse button and pressing a key on the keyboard are user generated events.

In order to handle the user-generated events in JavaScript,  an event listener is used. An event listener is a function or procedure in a JavaScript program that waits for an event to occur; such as pressing a key on the keyboard or clicking the button. Therefore based on the scenario given in the question statement, the engineer should use an event listener to his JavaScript code so that the code can recognize the click of the button.

You can learnmore about event at

brainly.com/question/20169706

#SPJ4

You might be interested in
The _____ of each phrase in a melody can be drawn with a curved line that follows the direction of the note progression.
maksim [4K]
The shape of each phrase, im 90% sure
4 0
4 years ago
Question 1
DaniilM [7]

Answer:

Explanation:

<u>Question 1:</u>

You don’t necessarily have to go out and purchase a brand new fuel-efficient car to save on gas. There is plenty you can do to increase your gas mileage.

<em>Replace Air Filter and Spark Plugs </em>

Replacing the air filter and spark plugs during a routine auto checkup not only helps your car last longer, but it can help your engine burn gas more efficiently

<em>Properly Inflate Tires </em>

Inflate the tires when they look low, but even if they are slightly low, undetectable to the eye, they could significantly reduce your mileage. Basically, under-inflated tires result in your engine using more gas to move the car.

<em>Use Cruise Control</em>

Using cruise control helps to maintain a safe, legal, and gas-efficient speed.Using cruise control helps reduce the need to accelerate and brake, which makes travel more gas-efficient.

<u>Question 2:</u>

Because younger drivers are more likely to get in a accident.

<u>Question 3:</u>

Laws regarding hazard light use are vague in many states, according to The American Automobile Association, in Virginia, “hazard light use is not permitted while driving except for emergency vehicles, stopped or slowed vehicles to indicate a traffic hazard, when traveling as part of a funeral procession.

<u>Question 4:</u>

Pull over at a safe location: If a police officer indicates for you to pull over, put on your turn signal to drive to the nearest, safe location and pull over. As such, turn off your ignition, turn on your interior car lights (if it's dark outside), and completely roll down your driver's side window.

5 0
3 years ago
Read 2 more answers
True or false: in order to keep yourself and co workers safe, you must be able to recognize electrical hazards
solong [7]
I believe it’s true
8 0
3 years ago
Read 2 more answers
Information storage:Select one:a. Eliminates the need for professional judgment.b. Keeps data in a form accessible to informatio
Vikentia [17]

Answer:

B. Keeps data in a form accessible to information processors

Explanation:

Information storage is the part of the accounting system that keeps data accessible to the information processors. In other words, an accounting system’s information storage unit is either a hard drive or server that usually contains a database.

8 0
3 years ago
Which social network site has 1.5 billion actives users per month?
aksik [14]
I think it is Twitter.
6 0
3 years ago
Other questions:
  • Universal containers has included its orders as an external data object in to Salesforce. You want to create a relationship betw
    7·1 answer
  • Before text can be formatted you must first
    10·2 answers
  • According to the article words have the power to change people's behavior. Describe one example of this from the article
    6·1 answer
  • Suppose a developer gets class XYZ files and documentation from a subcontractor. This class does not implement the Comparable in
    9·1 answer
  • 2 The software needed to send an email is:
    7·1 answer
  • Open IDLE. Create a new script file (File--&gt;New File, Ctrl n on Windows, Cmd n on macOS). On the first line, place your name
    6·1 answer
  • What would this look like if you were to write the pseudocode but for c++?
    5·1 answer
  • Why do we use if statements?
    9·1 answer
  • Which of the expressions is false? when a = 10 and b = 4
    8·1 answer
  • What are the three computer components that hold a dangerous amounts of electricity? Even when it’s unplugged.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!