Skip to main content

Posts

Featured

JavaScript Best Practices

JavaScript best practices place a strong emphasis on the question of what youshould do for people whose browsers don’t support scripting, who have scripting turned off, or who are unable to interact with the script for any other reasons (e.g. the user makes use of an assistive technology that does not support scripting). I’d like to look at three core principles of good JavaScript: 1- Progressive Enhancement Providing for users who don’t have JavaScript. This principle ensures that we’re thinking about the bigger picture whenever we use a script on our site. 2- Unobtrusive JavaScript Separating content from behavior. This makes for easier maintenance on our end and better usability and graceful degradation. 3- Consistent Coding Practice Using braces and semicolons. To be a good JavaScript developer, having this principle in mind is a must. You can also check my personal portfolio here . It is built with React, an awesome JavaScript library.

Latest Posts

Working As a Web Developer

How to Be a Self-Taught Web Developer

Frustrations as a Self-Taught Beginner

The Only HTML & CSS Book For Beginners

Importance of Learning HTML & CSS