Tailwind CSS Forms and Inputs Quiz

Create an account and save your quiz results

Login and save your results

OR

Question 1/15

What class would change the placeholder color of an input?

Select your answer

Question 2/15

What utility class applies a shadow to an input box?

Select your answer

Question 3/15

What utility makes sure an input text is aligned to the center?

Select your answer

Question 4/15

How can you remove the outline effect on an input when it is focused?

Select your answer

Question 5/15

What utility would you use to space apart multiple input fields equally?

Select your answer

Question 6/15

Which utility class will help make an input's text italic?

Select your answer

Question 7/15

What does the 'hidden' utility class do to an input element?

Select your answer

Question 8/15

How can you change the border color of an input to green?

Select your answer

Question 9/15

How do you apply a light gray border to an input?

Select your answer

Question 10/15

Which utility class would you use to increase the space inside your input element?

Select your answer

Question 11/15

What is the class name for making an input field background transparent?

Select your answer

Question 12/15

Which utility class would you use to set the text color of an input to red?

Select your answer

Question 13/15

How do you make sure an input field has extra large padding?

Select your answer

Question 14/15

How do you ensure an input has a large shadow in Tailwind CSS?

Select your answer

Question 15/15

What is the purpose of the 'border' utility in Tailwind CSS?

Select your answer

Your Results

You did not answer any questions correctly.

Your Answers

Question 1/15
😊 Your answer was correct 🙁 Your answer was incorrect
What class would change the placeholder color of an input?

Available answers

The 'placeholder-gray-500' utility class changes the placeholder text color.
Question 2/15
😊 Your answer was correct 🙁 Your answer was incorrect
What utility class applies a shadow to an input box?

Available answers

The 'shadow-md' utility class adds a medium shadow to the input box.
Question 3/15
😊 Your answer was correct 🙁 Your answer was incorrect
What utility makes sure an input text is aligned to the center?

Available answers

'text-center' utility class ensures that text is centered within its container.
Question 4/15
😊 Your answer was correct 🙁 Your answer was incorrect
How can you remove the outline effect on an input when it is focused?

Available answers

The 'focus:outline-none' utility class removes the outline effect on focus.
Question 5/15
😊 Your answer was correct 🙁 Your answer was incorrect
What utility would you use to space apart multiple input fields equally?

Available answers

The 'justify-between' utility class distributes space between elements equally.
Question 6/15
😊 Your answer was correct 🙁 Your answer was incorrect
Which utility class will help make an input's text italic?

Available answers

The 'italic' utility class in Tailwind CSS makes text italic.
Question 7/15
😊 Your answer was correct 🙁 Your answer was incorrect
What does the 'hidden' utility class do to an input element?

Available answers

The 'hidden' utility class hides an element and removes it from the layout.
Question 8/15
😊 Your answer was correct 🙁 Your answer was incorrect
How can you change the border color of an input to green?

Available answers

The 'border-green-500' utility class changes the border color of an element to green.
Question 9/15
😊 Your answer was correct 🙁 Your answer was incorrect
How do you apply a light gray border to an input?

Available answers

The 'border-gray-200' utility class applies a light gray border to an element.
Question 10/15
😊 Your answer was correct 🙁 Your answer was incorrect
Which utility class would you use to increase the space inside your input element?

Available answers

The 'p-4' utility class adds padding inside the input element, increasing space.
Question 11/15
😊 Your answer was correct 🙁 Your answer was incorrect
What is the class name for making an input field background transparent?

Available answers

The 'bg-transparent' utility class makes the background transparent.
Question 12/15
😊 Your answer was correct 🙁 Your answer was incorrect
Which utility class would you use to set the text color of an input to red?

Available answers

The 'text-red-500' utility class sets the text color of an element to red.
Question 13/15
😊 Your answer was correct 🙁 Your answer was incorrect
How do you make sure an input field has extra large padding?

Available answers

The 'p-10' utility class gives extra large padding to an element.
Question 14/15
😊 Your answer was correct 🙁 Your answer was incorrect
How do you ensure an input has a large shadow in Tailwind CSS?

Available answers

The 'shadow-lg' utility class in Tailwind CSS adds a large shadow to an element.
Question 15/15
😊 Your answer was correct 🙁 Your answer was incorrect
What is the purpose of the 'border' utility in Tailwind CSS?

Available answers

The 'border' utility in Tailwind CSS is used to apply a border to an element.