Solution: Position the BOX
Let's test our skills by solving this challenge.
We'll cover the following
Solution
We have two components in our challenge. One is a navbar, and the other is a box model. We will use the unordered list, ul
, for the navbar and the span
elements to control the box model and position it by using the properties of the box model.
Source code
The source code with the explanation is given below:
Get hands-on with 1200+ tech skills courses.