reading-notes

Class 9 Notes

Why are forms so important in web development?

They are used in collecting data of users or allowing them to control an interface

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

You shouldbe keeping things simple and not asking too many questions. Otherwise people will get fruestrated.

List 5 form elements and explain their importance.

Label: Allows you to name each section of the form input of type : Allows you to gather an user info text area: allows you to type a messsage for the user. li: allows you to list items out button: allows you to create a submit button

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

Its basically when the user chooses to do something on the web page the page what I would describe as a plan in place to respond to what the user does.

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

what will initate the change and what will change

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

its a function that fires an event. They are important because they tell specific total funtion when a user pick one of several choices

What is the difference between event bubbling and event capturing?

Event bubbling describes how the browser handles events targeted at nested elements.

Capturing is like event bubbling but the order is reversed