React hook is a function, but it's not a normal function, so it is a special type of function.
React hook has a lot of facilities. Basically react hook creates a relation with the react component. Basically react hook is used for data passing likes when we declared useState() hook…
The DOM is the full form of the Document Object Model. It is programming interface for HTML and XML document. That means it represents the page so many programs can change the document structure, style, content. That's why the programming language connects with the page.
const headers = document.getElementById(‘header’);
There are some primitive data type [string, number, boolean, null, undefined]
which data types called primitive data types. Open your browser and print these primitive values...
Object are functions also values but they are not primitive.
For example, you should type this code in…
Basically accessing an array property we are using for loop & and that also good.