Skip to content

Megabyte

Community Champion & Project Manager

  • About Me
  • Open Source
  • Certifications

If you appreciate my WordPress open source project contributions, please consider donating to my book fund.

If you have web dev work you need help with, check out my services.

If you are a web dev or agency and need PM/sales work, reach out here!

🍉

Tag: JavaScript

5 Things You Can Do Today To Clean Up Your Code

Clean Up Your Code - Photo by NordWood Themes via Unsplash
Posted July 16, 2018October 20, 2024

Cleaning up your files can be a daunting project. However, there are some easy ways to clean code. This is a list of smaller clean up tasks that can each be completed in a few minutes. Depending on your time constraints and the current state of your files, you can […]

Category: Web DevelopmentTags: Beginner CSS JavaScript Organization PHP Workflow

setInterval and clearInterval in JavaScript

Posted November 22, 2015October 20, 2024

Recently I was working on an image slider that I had auto-rotating by using setInterval and clearInterval. The problem I came across was that when a user clicks to show another slider image, the counter variable wasn’t resetting. For example, if image 3 was showing, and the user clicked image […]

Category: Web DevelopmentTags: JavaScript jQuery jsfiddle setInterval Snippet Sunday
Links: GitHub LinkedIn
Content Disclaimer