Into to React.js

Into to React.js

Professional Development

10 Qs

quiz-placeholder

Similar activities

React

React

Professional Development

12 Qs

React JS QUIZ

React JS QUIZ

Professional Development

15 Qs

react-native basics

react-native basics

Professional Development

15 Qs

React/Javascript Quizz

React/Javascript Quizz

Professional Development

12 Qs

React and Hooks

React and Hooks

Professional Development

10 Qs

React Basics - Quiz I

React Basics - Quiz I

Professional Development

15 Qs

Friday Fun

Friday Fun

Professional Development

10 Qs

M2 React One

M2 React One

Professional Development

10 Qs

Into to React.js

Into to React.js

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Kelsey Schroeder

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is React JS?

 A JavaScript library for building user interfaces

A server-side framework for building web applications

A programming language for building web applications

A front-end framework for building mobile applications

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

React component can return how many parent html tags

one

multiple

two

three

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt


Which statements are true about a React Component? Select all that apply.

It can be written as a Class

It can be written as a Function

It returns HTML

Bypasses the need for a HTML document alltogether

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is true about React?

React helps us bring rendering logic and markup together in the same place to intelligently update the dom


React Components return HTML, the same as a HTML page with Vanilla DOM.

React was created by facebook, so only their engineers can design new customized packages to use with React

Can only be used Via CDN

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this component render?

const List = (props) => {

const lang = ["Java", "Python", "Ruby", "Javascript"]
return ( <div>                                      
{lang.map(el => <p>{el}</p>)}
      </div>)                                  

}

Error. Cannot use direct JavaScript code in JSX

Error. Should be replaced with a for..loop for correct output

Displays the list of languages in the array

Displays nothing

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the useState hook in React?

To handle user interactions within a component

To define the layout of a component

To "remember" values and have a method to update them

To take a 'snapshot' of the component details and log it to the console.

To enable us to use JSX

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JSX in React.js?

A syntax extension for JavaScript

A package manager for React.js

A testing framework for React.js

A styling framework for React.js

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?