Skip to content

Latest commit

 

History

History

03-Laying the Foundation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Namaste React Course by Akshay Saini

Chapter 03 - Laying the Foundation Coding Assignment

Q: Create a Nested header Element using React.createElement(h1,h2,h3 inside a div with class "title")

Q: Create the same element using JSX

Q: Create a functional component of the same with JSX

Q: Pass attribute into the tag in JSX

Q: Composition of Component (Add a component inside another)

Q: {TitleComponent} vs {<TitleComponent/>} vs {<TitleComponent></TitleComponent>} in JSX.

Q: Create a Header Component from scratch using Functional Component with JSX

  • Add a Logo on Left
  • Add a search bar in middle
  • Add User icon on right
  • Add CSS to make it look nice

References: