instead of putting JavaScript into HTML, JSX allows us to put HTML into JavaScript. JSX stands for JavaScript XML. It is simply a syntax extension of React. It allows us to directly write HTML in React.
const element = <h1>Hello World</h1>