Cascading Style Sheets
CSS (Cascading Style Sheets) is a styling language used to design and format web pages, controlling layout, colors, fonts, and animations. It works alongside HTML to enhance user experience by making websites visually appealing and responsive across devices. With features like Flexbox, Grid, and media queries, CSS enables precise control over web design while maintaining clean, efficient code. Its cascading nature allows styles to inherit and override rules, ensuring consistency and flexibility in modern web development.
Take this assessment to check how good you are with CSS.
Click the Rewards tab for eligibility requirements.
Read the FAQs tab carefully for Instructions before beginning the assessment.
NYXPoints are used to generate the Leaderboard (coming soon). They are awarded for achieving a certain score.
- 200 nyxpoints for a passing score of 80% or more
- 300 nyxpoints for a perfect score of 100%
- Didn’t pass? You still get 30 nyxpoints for attempting the assesment
IMPORTANT instructions for taking the Assessment
- The timer starts when you click Start Assessment
- DO NOT refresh/reload the page or use the back button to navigate away from the page.
- Navigating away from the assessment page DOES NOT stop/pause the timer and the will restart the assessment when you come back to it. The answers are NOT saved.
General
- There are NO pre-requisites to take this assessment. Take this assessment even if you are completely new to Linux.
- The assessment is completely FREE.
- Preferably take it in a closed book mode.
- DO NOT copy/paste, share or upload questions elsewhere.
Eligible Rewards

300 NyxCoins*
* NyxCoins vary on score
Assessment Summary
0 of 30 Questions completed
Questions:
Information
You have already completed the assessment before. Hence you can not start it again.
Assessment is loading…
You must sign in or sign up to start the assessment.
You must first complete the following:
Results
Results
0 of 30 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 30
1. Question
Which CSS property is used to change the font of text?
CorrectIncorrect -
Question 2 of 30
2. Question
How do you select an element with the class name `menu-item` in CSS?
CorrectIncorrect -
Question 3 of 30
3. Question
How would you create a responsive layout using Flexbox, ensuring items wrap onto a new line when necessary?
CorrectIncorrect -
Question 4 of 30
4. Question
Which of these is the default value of the position property?
CorrectIncorrect -
Question 5 of 30
5. Question
How do you set different background images for the same element depending on the screen size using CSS?
CorrectIncorrect -
Question 6 of 30
6. Question
The `z-index` property can be used to specify the layering order of which elements?
CorrectIncorrect -
Question 7 of 30
7. Question
Which CSS property is used to set the space between lines of text?
CorrectIncorrect -
Question 8 of 30
8. Question
What will be the effect of the `display: inline-block;` property on an element?
CorrectIncorrect -
Question 9 of 30
9. Question
Which CSS property makes an element’s text bold?
CorrectIncorrect -
Question 10 of 30
10. Question
What does the `:hover` pseudo-class do?
CorrectIncorrect -
Question 11 of 30
11. Question
Which property is used to make text italic?
CorrectIncorrect -
Question 12 of 30
12. Question
Which property is used to prevent Flex items from growing beyond their container’s available space?
CorrectIncorrect -
Question 13 of 30
13. Question
Which is the only CSS property that defines the size of an element’s content area?
CorrectIncorrect -
Question 14 of 30
14. Question
How do you change the list style of `<ul>` elements to circles?
CorrectIncorrect -
Question 15 of 30
15. Question
What does the `@font-face` rule do?
CorrectIncorrect -
Question 16 of 30
16. Question
Which value of the `overflow` property displays a scrollbar if content overflows?
CorrectIncorrect -
Question 17 of 30
17. Question
How do you make Flex items stretch to fill the container along the main axis?
CorrectIncorrect -
Question 18 of 30
18. Question
Which CSS function is used to apply a shadow to text?
CorrectIncorrect -
Question 19 of 30
19. Question
Which CSS property is used to create a transition effect when changing a property?
CorrectIncorrect -
Question 20 of 30
20. Question
How do you select all `<p>` elements inside a `<div>` with the class ‘container’?
CorrectIncorrect -
Question 21 of 30
21. Question
Which Flexbox property allows you to align items along the cross axis (vertically by default)?
CorrectIncorrect -
Question 22 of 30
22. Question
What does `box-sizing: border-box;` do?
CorrectIncorrect -
Question 23 of 30
23. Question
What does `vw` represent in CSS units, and when is it applicable?
CorrectIncorrect -
Question 24 of 30
24. Question
Which CSS property adjusts the element opacity?
CorrectIncorrect -
Question 25 of 30
25. Question
How do you center-align a block element?
CorrectIncorrect -
Question 26 of 30
26. Question
What does `flex-grow: 1;` do to a flex item?
CorrectIncorrect -
Question 27 of 30
27. Question
Which of the following CSS functions is used to blend colors?
CorrectIncorrect -
Question 28 of 30
28. Question
How do you apply multiple background images in CSS?
CorrectIncorrect -
Question 29 of 30
29. Question
Which CSS property controls the stacking order of elements?
CorrectIncorrect -
Question 30 of 30
30. Question
How can you make a list item marker appear inside the content box?
CorrectIncorrect