
ReactJS Online Test
Authored by Purnama Anaking
Computers
Professional Development
Used 30+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 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 myReactApp
npm create-react-app
npx create-react-app
npm create-react-app myReactApp
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does myReactApp refer to in the following command?
"npx create-react-app myReactApp"
A reference to an existing app
The name you want to use for the new app
The directory to create the new app in
The type of app to create
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to start the React local development server?
npm serve
npm run dev
npm start
npm build
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default local host port that a React development server uses?
8080
5000
3000
3500
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To develop and run React code, Node.js is required.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of element will be rendered from the following code?
div
Component
ReactDom
h1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the children prop?
A property that lets you nest components in other components
A property that adds child values to state
A property that lets you set an object as a property
A property that lets you pass data to child components
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?