Avoiding Coding Confusion 1

Avoiding Coding Confusion 1

ยท

1 min read

Table of contents

No heading

No headings in the article.

Confusion when coding is normal, especially when you've code for days and you're trying to review it. Common confusion like: Why did I include this attribute? Or Why is this here๐Ÿ˜ญ? Here are few things to do to avoid that.

  1. Include the div tag when coding

What is div used for? Div is used to divide codes, it's also a good way of organizing your codes

Note: while applying div tags to your codes,to avoid too many div's add point 2

  1. Add header, footer and main content to differentiate codes to avoid confusion. Header is a built in elements it's another name for div now part of HTML5 released few years ago.

Another tip in avoiding confusion is using the Html comments tag

<!----Type a comment--- >

You can type in anything here to differentiate your codes. Don't worry it's only visible in your codes not the Web browser because, they're used to hide lines which are not displayed in the web browser.

Now, let's code without stress and Confusion ๐Ÿ˜Ž๐Ÿ˜Ž

ย