can someone explain the reason for using divs please?
div, or division, is a way to divide (see the "
div" part, there?) HTML markup into sections. As you progress further, and perhaps work through the CSS course, they will be put to more use.
div, you are able to, as previously stated, divide your code but also style said divisions with different rules.
In the most basic terms, a
div is a way to
divide your markup. That's all!