reading-notes

Think you might be in the wrong place? Go home!

Why are forms so important in web development?

Forms are important in web development for several reasons:

In summary, forms are essential for user engagement, data collection, and enabling various web applications and functionalities.

When designing a form, what are some key things to keep in mind when it comes to user experience?

A well-designed form contributes to a smooth user experience, encourages engagement, and increases the likelihood of users successfully completing it.

List 5 form elements and explain their importance.

How would you describe events to a non-technical friend?

Events are like notifications that occur when something happens, like clicking a button, moving the mouse, or pressing a key on a computer. Think of events as messages sent by your computer to let you know that a specific action has taken place. For example, when you click a link on a website, that’s an event. Events are used to make computers respond to your actions and do things like opening a new page or showing a pop-up message.

When using the addEventListener() method, what 2 arguments will you need to provide?

Describe the event object. Why is the target within the event object useful?

The event object contains event information. event.target identifies the element that triggered the event, helpful for distinguishing elements when multiple share an event type.

What is the difference between event bubbling and event capturing?

Event bubbling and event capturing are two phases of how events propagate through the DOM (Document Object Model) when an event occurs on an element. They describe the order in which event handlers are executed.

Information gathered using ChatGPT