clamp() function do when used for font sizes?The clamp() function takes three values: a minimum, a preferred (usually relative) size, and a maximum. It ensures the size stays within the min and max while scaling smoothly.
clamp() to set a width that is at least 200px, prefers 50vw, and at most 600px?The clamp() function requires three comma-separated values: minimum, preferred, and maximum. Option B follows this order correctly.
p { font-size: clamp(1rem, 2vw, 3rem); }The font size scales with 2vw but is limited to never go below 1rem or above 3rem, ensuring readability on small and large screens.
clamp() correctly to set a grid column width that is at least 150px, prefers 30%, and at most 400px?Option C correctly uses clamp() with minimum 150px, preferred 30%, and maximum 400px, followed by 1fr for the second column.
clamp() for font sizes improve accessibility on websites?Clamp() helps keep font sizes within readable limits, improving user experience and accessibility by preventing text from becoming too small or too large.
