It allows us to create a complex UI by making components. components are reuseble
JSXjust syntactic sugar for
React.createElement(component, props, ...children)
JSX code :
<div>My Name is Hossain</div>
String.includes(): The method performs a case-sensitive search to determine whether one string may be found within another string, returning
false as appropriate.
String.trim(): When we write string, sometimes a lot of space falls inside. We will use the trim method to remove this whitespace from both ends of…