Search Header Logo

react- JSX & Component

Authored by Li Zhou

Professional Development

1st - 3rd Grade

Used 2+ times

react- JSX & Component
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

关于JSX的说法正确的是?

JSX 全称JavaScript XML

JSX 和 HTML 标签没什么区别

JSX 本质上是JavaScript

JSX 是一种类似于XML语法的JS的扩展

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

如何给jsx元素添加class属性

id
className
class
style

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

在JSX, 可以使用哪个标签创建下拉列表(drop-down list)最简单?

<Select >

<select>

<li>

<ul>

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

使用_________作为数组元素的标识?

ref

data

key

store

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

哪一个写法是组件调用?

{ header }

<Header />

<header>

header()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

关于 Class Component 描述正确的是?

import React from 'react'

have only one render

must extends React.Component

all of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

传递 props 的正确方式?

<Hello name="World" />

<{this.state.name} />

<name Hello={this.props} />

<Hello = "World" />

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?