Loading

Quipoin Menu

Learn • Practice • Grow

Direction: Choose the correct option

Q1.

nav ul {
list-style: none;
display: flex;
padding: 0;
}
What is this CSS commonly used for?
A. Horizontal navigation menu
B. Vertical menu
C. Form styling
D. Image gallery
Direction: Choose the correct option

Q2.

.navbar a {
display: block;
padding: 14px 20px;
text-decoration: none;
}
Why use display: block on navigation links?
A. Better styling
B. Full clickable area
C. Inline links
D. Centering
Direction: Choose the correct option

Q3.

.navbar a:hover {
background-color: #555;
}
What does this accomplish?
A. Link underline
B. Text color change
C. No effect
D. Background change on hover
Direction: Choose the correct option

Q4.

.navbar .active {
background-color: #04AA6D;
}
What is the purpose of this CSS?
A. Active hover effect
B. Clicked link style
C. Indicates current page
D. Default style
Direction: Choose the correct option

Q5.

@media screen and (max-width: 600px) {
.navbar { flex-direction: column; }
}
What does this media query do?
A. Adds animation
B. Hides navbar on mobile
C. Makes nav vertical on mobile
D. Changes color