Twitter Clone Front-End with ReactJS (Quiz)
Twitter Clone Front-End with ReactJS
Link to Enroll : Click Here
Question 1 : What is create-react-app?
- A tool to set up a React project quickly
- A core part of the React library
Question 2 : At its simplest form, what is a React component in terms of JS?
- A JS class with a render method
- A function that returns HTML
Question 3 : What is JSX?
- A Strongly-typed language based on JavaScript
- A way to write JS code inside the HTML of the React component
Question 4 : Can we pass props from the child component to the parent component?
- No
- Yes
Twitter Clone Front-End with ReactJS
Question 5 : What is the onClick prop of a button?
- A Function that executes when the button renders
- A Function that will be executed when the button is clicked
Question 6 : Do all React components expect the “key” prop?
- Yes
- No
Question 7 : Why do we need to write “await” before the axios.get() call?
- Because the GET request may take a long time
- Because axios.get is an async function
Question 8 : When does the useEffect hook run?
- When the component first renders
- When the component demounts
Question 9 : Do we have to write .css files to style React components?
- Yes
- No
Link to Coursera Front-End React Solution : Click Here