Posts

Showing posts from January, 2023

3). What is JSX ? Why We Use JSX ?

Image
           JSX stands for JavaScript XML.    JSX allows us to write HTML in React.    JSX makes it easier to write and add HTML in React.    JSX allows us to write HTML elements in JavaScript and place them in the       DOM without any createElement()  and/or appendChild() methods.    JSX converts HTML tags into react elements.               Example                                  Step 1 ) create a file Header.js      Step 2) import and render Header.js Step 3) 'NPM Start'  to View Result in Browser