
React (Day-2)
Quiz by Khemraj Shrestha
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
- Q1
File or folder where we should make changes to customize the run syntax is (npm run <<...>>)...
both
some other files
package.json
package-lock.json
30s - Q2
I have to import component as {Navbar} instead of Navbar. So for this what might be the exported command from that particular component?
export Navbar
export {Navbar}
both a and c
export default Navbar
30s - Q3
I have to create same navbar with different values in 2 pages like (in first navbar=> home & contact) and (in second=> home and about). So which feature in react provides me to do so?
states
hooks
props
router
30s - Q4
We can customize url and navigate to the particular page using the concept of...
states
hooks
router
props
20s - Q5
Props are used for inter-component communication, while states are used for intra-component communication.
truefalseTrue or False30s - Q6
Which file is not pushed in github and why?
app.js file because it's already in github
node modules folder because of its large size and can access again from terminal
public folder because of its large size and can access again from terminal
node modules folder because it is not necessary
30s - Q7
Code to deploy the react app in github is...
npm run-deploy
npm run deploy
npm-deploy run
npm deploy run
30s - Q8
Command to install node modules in existence files...
npm install node modules
npm install node
npm install node module
npm install
30s - Q9
How's the josh...?
Impressive
All of this...
Phenomenal
Amazing
30s