
React JS
Authored by Tracy Smith
Computers
KG - 3rd Grade
Used 219+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct command to create a new React project?
npx create-react-app my-app
npm create-react-app my-app
npx create-react-app
npm create-react-app my-app
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'my-app' refer to in the command
npx create-react-app my-app?
The directory that you want to create your app in
The type of app you want to create
The name you want to use for your new app
The name of an existing app
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to start the React local development server?
npm run
npm start
npm run dev
npm build
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the children prop?
A property that lets you pass data to child components
A property that lets you nest components in other components
A property that lets you set an object as a property
A property that lets you add child values to state
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
React components must start with a capital letter
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator can be used to conditionally render a React component?
??
||
::
&&
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When rendering a list using the JavaScript map() method, what is required for each element rendered?
id
data
key
index
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?