CSS Floats Challenges
Solve the challenges related to the float property to evaluate yourself in this lesson.
We'll cover the following
Challenge 1
Add relevant float
properties to the given div
s so that the text appears between the two boxes as in the image below (Tricky part: The HTML is in a read-only state):
The color used in this challenge is
steelblue. The width
and height
of the boxes are 150px
.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.