Mastering CSS Concepts

Mastering CSS Concepts

Professional Development

10 Qs

quiz-placeholder

Similar activities

HTML Fundamentals Assessment

HTML Fundamentals Assessment

Professional Development

10 Qs

Quiz tentang Div dan Span untuk Layout Web

Quiz tentang Div dan Span untuk Layout Web

Professional Development

10 Qs

PYTHON QUIZ

PYTHON QUIZ

Professional Development

10 Qs

Quiz tentang Layout Responsive dengan HTML dan CSS

Quiz tentang Layout Responsive dengan HTML dan CSS

Professional Development

10 Qs

Mastering CSS Concepts

Mastering CSS Concepts

Professional Development

15 Qs

Quiz Penggunaan Bootstrap untuk Layout Web

Quiz Penggunaan Bootstrap untuk Layout Web

Professional Development

14 Qs

Mastering Advanced CSS Techniques

Mastering Advanced CSS Techniques

Professional Development

15 Qs

HB4 Quiz tháng 12

HB4 Quiz tháng 12

Professional Development

10 Qs

Mastering CSS Concepts

Mastering CSS Concepts

Assessment

Quiz

Information Technology (IT)

Professional Development

Medium

Created by

Mohammad Allam

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of CSS selectors?

To create HTML elements from scratch.

To define the structure of a webpage.

To add interactivity to HTML elements.

The purpose of CSS selectors is to select HTML elements for styling.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which selector targets all elements of a specific type?

Type selector

Class selector

Universal selector

ID selector

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you select an element with a specific class in CSS?

*example

.example

#example

.className

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between 'flex-start' and 'flex-end' in Flexbox?

'flex-start' aligns items at the start of the container, while 'flex-end' aligns them at the end.

'flex-start' and 'flex-end' are the same

'flex-end' aligns items vertically in the middle

'flex-start' moves items to the center

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a Flexbox container?

Apply 'float: left' to the container element.

Set the CSS property 'display' to 'flex' on the container element.

Set the CSS property 'display' to 'block' on the container element.

Use the CSS property 'flex-direction' on the child elements.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What property is used to define the number of columns in a CSS Grid?

grid-template-rows

grid-columns

grid-area

grid-template-columns

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you center an item in a Flexbox layout?

Use 'justify-content: center' and 'align-items: center' on the flex container.

Use 'margin: auto' on the item itself.

Apply 'text-align: center' to the flex container.

Set 'display: block' on the flex container.

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?