Skip to main content

Command Palette

Search for a command to run...

Avoiding Coding Confusion 1

Published
1 min read
Avoiding Coding Confusion 1
A

I am a Front-end web developer passionate in creating and developing responsive websites and also a Technical content creator by writing my experiences to help others in creating a simple path way to web development.

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 😎😎

J
JAKE3y ago

back to back to back contents. another great piece.

1
A

Thanks for following Jonathan 😊

M

Great article, Thanks for sharing It was helpful.

A

Glad it was😊

M

Wow 🤩

Keep making us proud 🥰

1