Solution: Change the floats
Let's try to solve the task from the previous lesson.
We'll cover the following
Solution
We will use the concept of float
to move our divs on the left or right. The complete solution to the challenge with the source code is below.
Source code
Here’s the HTML, CSS, and the corresponding output:
Get hands-on with 1400+ tech skills courses.