We came across many new conceptual things and terminology. It was overall a great experience. While attending the session we came to alot of concepts.
👉 An event refers to an action or occurrence that happens in the system you are programming. The system then notifies you about the event so that you can respond to it in some way if necessary.
👉 Onclick event occurs when we click any element on that page
Mouseover event occurs when mouse just hovers over that element.
Mouseout event occurs when mouse stop hovering over that element
👉 JS supports different types of boxes:
👉 BOM or Browser Object Model is the
browser specific things that are available for JS to use and manipulate.qq
👉 We can also integrate CSS and JS using certain properties. When we get the element using ID then we can use the style property
and the different attributes under it like border, background-color, etc.
👉 Whenever we want some data from the
backend servers then we send request to the server. Now the server will run some operations on the backend and then provide the data to us. This data is called as response.
👉 Synchronous is when we want functions to run one after the other. In this way then if one function takes long time to get the response then the page becomes unresposive. Thus we need to go for asynchronous functions such that this function will go and wait for the response while the page will be responsive and be able to run other functions as well.
We can use JSON with JS
var obj =JSON. parse(text)
👉 The GET methods is used to get the query string whereas the POST method is used for create operation on the backend.
👉 The output that comes from the backend is formatted in some manner but for HTML it will be seen as just one line. So we can use pre tag in HTML to pre-format the text.