Complete the Border-Radius
Fill in the Blank Easy
Question
Fill in the blank to make this 100x100px div a perfect circle.
Code
.circle {
width: 100px;
height: 100px;
border-radius: ___;
}
Hint
A circle needs the radius to be half the width.
Explanation
border-radius: 50% creates a perfect circle when the element has equal width and height. 50% means the radius is half the element's size, which rounds each corner into a quarter-circle. You could also use 50px for a 100px element.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.