Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 769 Bytes

File metadata and controls

28 lines (23 loc) · 769 Bytes

learning-react

- node_modules:  Self explantory  
- Public: Images, SVG, videos, etc static data will come here
- src: 
    - assets: Static data can be kept here as well (For now)
    - 
-

Notes

1. Question: Is it possible to have multiple elements in return ?
Ans: Yes, we can do it via the following method:
`return 
    <> 
        <div> </div> 
        <h1> </h1>
    </>` 
OR    alternatively we can put all this inside a <div> as well as mentioned:
`return 
    <div>
        <div> </div> 
        <h1> </h1>
    </div>`

2. Question: How can we add styling to react ?
Ans: we have 3 ways to add styling to reactjs which includes: tailwindcss, modulecss, materialUI