Loading

Quipoin Menu

Learn • Practice • Grow

Direction: Choose the correct option

Q1.

input[type=text] {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
}
What type of form elements does this style?
A. Buttons
B. All inputs
C. Text input fields
D. Textareas
Direction: Choose the correct option

Q2.

input:focus {
border-color: #4CAF50;
outline: none;
box-shadow: 0 0 5px rgba(76,175,80,0.5);
}
When does this style apply?
A. On hover
B. When input is valid
C. When input is focused/selected
D. Always
Direction: Choose the correct option

Q3.

input:valid {
border-color: green;
}
input:invalid {
border-color: red;
}
What does this CSS do?
A. Text color
B. Background color
C. Hover effect
D. Validation styling based on input validity
Direction: Choose the correct option

Q4.

button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
Why is cursor: pointer important for buttons?
A. Shows clickable hand cursor
B. No effect
C. Changes pointer shape
D. Adds animation
Direction: Choose the correct option

Q5.

.form-row {
display: flex;
align-items: center;
margin-bottom: 15px;
}
What layout does this create for forms?
A. Vertical layout
B. Grid layout
C. Horizontal form rows with aligned items
D. Flexible width