React Intro

React Intro

Professional Development

8 Qs

quiz-placeholder

Similar activities

Test Variable

Test Variable

Professional Development

10 Qs

Phase 1 Recap

Phase 1 Recap

Professional Development

13 Qs

Recuperação 1 Trimestre (Mobile)

Recuperação 1 Trimestre (Mobile)

Professional Development

6 Qs

[FE] Ice Breaking - Tailwind CSS: Building Dynamic and User-Enga

[FE] Ice Breaking - Tailwind CSS: Building Dynamic and User-Enga

Professional Development

10 Qs

[FE] Ice Breaking - Introduction to Web Development

[FE] Ice Breaking - Introduction to Web Development

Professional Development

10 Qs

Next.js 1

Next.js 1

Professional Development

10 Qs

Introdução a React

Introdução a React

Professional Development

7 Qs

1. Nomes de Variáveis

1. Nomes de Variáveis

Professional Development

12 Qs

React Intro

React Intro

Assessment

Quiz

Information Technology (IT)

Professional Development

Medium

Created by

Kelvin Kipchumba

Used 8+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is react?

Javascript framework for creating user interfaces

Javascript library for creating user interfaces

A programming language used for web app development.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is a way of creating react app?

npx create-react-app my-app

npm create vite@latest my-app --template react

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a component in React?

A function that only manages data storage in a React application.

  • A tool that converts JavaScript code into HTML and CSS for rendering the UI.

  • A reusable piece of UI that can manage its own content, logic, and styling, and can be combined with other components to build complex applications.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JSX in react?

JSX is a syntax extension for JavaScript that allows writing HTML-like code within JavaScript, making it easier to structure React components.

JSX is a JavaScript framework for handling backend logic in React

JSX is a CSS styling method used to apply styles directly within JavaScript in React.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to render a component called Home in React?

<Home />

<Home></Home>

{Home}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to import a component in React?

import './MyComponent' as MyComponent;

import MyComponent from './MyComponent';

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you start a React app created with Vite?

Run npm start in the project directory.

Run npm run dev in the project directory.

8.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which one of the following is not a feature of React

Component based

All are correct

Has JSX syntax