Search Header Logo

React101

Authored by Pavida Malitong

Computers

University

Used 5+ times

React101
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

True or False: None of the changes you make in the Inspector will be saved.

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct closing tag for the <img> element?

</img>

No closing tag is needed.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of the DOCTYPE declaration in HTML?

To link to a stylesheet.

To tell the browser what type of document it is.

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the most important thing to remember when writing HTML and CSS code?

Write clean and readable code.

Use as many different elements as possible.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Can self-closing tags have attributes?

Yes, they can have attributes like src for <img> or alt for <br>.

It depends on the browser.

6.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

What are some best practices for writing clean and maintainable HTML and CSS code?

Use descriptive element names and class names

Use proper indentation and consistent formatting

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code snippet?

10 20

20 10

20 20

ReferenceError: x is not defined

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers