Javascript Workshop Self Reflection

πŸ‘‰ What is the role of the browser other than accessing the website?
Browser acts as a Interpreter for html, CSS and JavaScript.
πŸ‘‰ What is an event in browser?
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.
πŸ‘‰ What are the various ways to include JavaScript in our HTML code?
users can add JavaScript to HTML pages.
Embedding code, Inline code, External file.
πŸ‘‰ Write the syntax of print statement in JavaScript?
document.write(variable name)
πŸ‘‰ What is JavaScript framework give some examples of it?
Javascript frameworks are pre-created modules and functions that can readily be used for example angular js, react js etc.
πŸ‘‰ How we can run JavaScript code directly in browser? Give one example?
We can run javascript code directly use <script> tag or js extension.
example: javascript:alert(β€œHello world”)
πŸ‘‰ What is the role of div tag and ID in HTML?
<div id=”d1"> tag is used to create a division/container in a page and id is to give this div a unique id if we have multiple <div> tags.

πŸ‘‰ What is the use of getElementById() function and innerHTML keyword in JS?
The getElementById() method returns the element that has the ID attribute with the specified value. The innerHTML property is used to get or set the HTML content of an element node.
πŸ‘‰ What is the use of onclick, mouseover, mouseover event?
Onclick event is used to perform an action on our webpage in case of a click on an element of the webpage. Mouseover event is used to perform an action on our webpage in case when we place our mouse over an element of the webpage.
πŸ‘‰ Which function is use to speak in JavaScript?
speak() function enables to add audio.
πŸ‘‰ What is the meaning of DOM in web technology?
DOM stands for document object model. It is used to create a dynamic HTML page with the help of Javascript

πŸ‘‰ Which are the box that JavaScript support?
There are some types of boxes like alert box, confirm box, prompt box that JavaScript support
πŸ‘‰ What do you mean by BOM?
The Browser Object Model (BOM) is a browser-specific convention referring to all the objects exposed by the web browser
πŸ‘‰ How we can integrate CSS with JavaScript?
To integrate CSS with JavaScript we can use style keyword in JavaScript
πŸ‘‰ What is the need of AJAX?
AJAX is the technique for creating fast and dynamic web pages
πŸ‘‰ What is request and response in web technology?
Requests sent by the client to trigger an action on the server, and responses, the answer from the server
πŸ‘‰ Which function we can use to send request using JavaScript?
fetch( ) function is used to send GET or POST request.