Note- #react ko single page application bolte h kyuki pure project mai ek hi html file hoti h or sara kaam ussi ke ander hota h. #entry point -index.js #React DOM implementation h react ka web app pr.DOM ek tree structure h.react khud ka virtual DOM bnata h. function Chai() { return( <> {/* fragment */} <h2>I am Nistha</h2> <h3>btech</h3> </> ) } export default Chai;
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter