Open tommygebru opened 5 years ago
Continue to format your code with indentation which is another great way to improve readability. 👀 Indenting your code also helps point out the nested elements, and distinguish between parent/child elements.
Below I wrote an example of the nest/wrap relationship, another name for it would be the parent/child relationship.
<div class="wrapping">
<p class="nesting"></p>
<p class="nesting"></p>
</div>
or
<div class="parent">
<p class="children"></p>
<p class="children"></p>
</div>
Great use of commenting in both your HTML and CSS documents, this provides a high-level of organization and note-taking. 👀
Introduce more clarity early at the beginning of your project to create a guideline and narrative. As you build out more complex webpages and projects, comments can help break down sections and problem solve.