DEV Community

Cover image for Dealing with Bugs as a Novice Frontend Developer
akinloludavid
akinloludavid

Posted on

3 1

Dealing with Bugs as a Novice Frontend Developer

If debugging is the process of removing software bugs, then programming must be the process of putting them in. - Edsger Dijkstra

That is just a funny quote I grabbed from here

A bug is simply an error that is making a computer program misbehave.

Learning frontend development can be quite fun (when your code is working the exact way you want) but often times, it just doesn't work that way. You are bound to face bugs at some point in your learning journey. Even Senior Developers encounter bugs so who are you😂.

As a newbie, bugs can frustrate you to the extent that you might just want to quit coding but the point is that is how you will learn.

So here are a few things you can do when you face bugs

  1. Use Google - All programmers actually use google. If you are getting an error message of some kind, you can just copy the error message and paste it on google. There is a 100% chance that someone has faced the same problem you are facing and another person has provided the solution to the problem. The trick is that using google can be overwhelming because you get a lot of search results.So as a frontend developer, when you use google to debug, there are some likely websites you can get your solutions from

    • stackoverflow.com
    • w3schools.com
    • developer.mozilla.org (MDN)
    • dev.to
    • medium.com etc
  2. Ask a senior colleague - This is probably the fastest way to fix a bug because you are asking a real person that has probably faced the same issue you are facing. Although, this can be a little difficult because most people self-learn. A quick fix to this would be to join coding communities so you can learn with other developers. Examples of some coding communities you can join include:

    • stack overflow,
    • women who code,
    • freecodecamp,
    • hashnode etc.

Thanks for reading. I wish you the best in your learning journey. Kindly let me know your thoughts in the comments section. You can also subscribe to my posts if this actually helped you.

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (2)

Collapse
 
algodame profile image
Chiamaka Ojiyi

Very valid debugging tips and these tips are useful to both frontend and backend devs, no matter where you are in your learning journey. Great post, David!

Collapse
 
akinloludavid profile image
akinloludavid

Thank you so much Chiamaka

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay