
Master front-end debugging techniques by locating and resolving bugs in a local gem wizard site, guided by bug reports, replication videos, and a solution video.
In js bits bug bash course, investigate a bug report from the e-commerce manager where clicking the load more button bumps to the top and fails to load new gems.
Reproduce the bug with dev tools, trace the load more button's event listener, and stop the form submission by using prevent default or setting the button type to button.
Investigate why gem card images fail to enlarge after applying and sorting by a filter, and debug together to identify the root cause.
Develop a solution by using event delegation on the stable parent to toggle zoom for card images, preventing loss of listeners when the grid re-renders.
Identify why content shifts when hovering over value props, where highlighted elements increase height, and implement solutions to smooth the interaction and reduce the jarring effect.
Diagnose hover-induced layout shifts with DevTools, inspect styles and dimensions, then ensure consistent height across states by applying a transparent dotted border in the VPI item style in styles.
Investigate why a sticky chat icon stops sticking when scrolling after adding a back-to-top button, and preview the bug fix in the next video.
Inspect the chat icon’s bottom style during scroll and trace a dynamically updated onscroll handler that overwrites the original function; fix by using window.addEventListener('scroll', toggleVisibility) and remove the overwritten code.
Investigate a bug where a customer's expected platinum status renders as pearl on the page. Dig into the codebase to determine why this mismatch occurs and review the upcoming solution.
The bug arises because the VIP customer level cookie is HTTP-only and inaccessible to JavaScript, causing the wrong status to display; server-side cookie handling or a pre-rendered status fixes it.
Click the more testimonials button and adjust the code so a different testimonial appears, instead of repeatedly displaying the same Bob Probert entry.
Explain debugging delayed content from repeated fetch requests to /reviews, using devtools network panel and initiator traces; fix by replacing var with let to correct async loop timing.
Identify the mobile page jump bug that causes periodic scrolling on user devices, addressing complaints and implementing fixes together with the team.
Debug a mobile slider bug triggered by the reset button, ensuring the slider returns to the first slide and resets. See the resolution in the next video.
Debug the jQuery slick slider bug caused by conflicting library versions overwriting the slick methods; add logs to trace order and resolve by preventing multiple loads.
Analyze a bug report about a misbalanced gem of the day layout, compare the screenshot to the rendered version, and investigate why the main image appears smaller.
We're gonna bash some bugs.
We all know it: JavaScript is weird. Web development in general is riddled with bugs. Over 55% of developers say they spend 10-20 hours a week fixing bugs instead of writing new code. While this may seem like an inordinate amount of time, it is often the case that the biggest moments of learning arise from the time spent fixing bugs.
That's why I've put together this 13-lesson video mini-course that will feature an assortment of HTML, CSS, and JS bugs. You'll have both the opportunity to solve them on your own or simply watch how we can debug them together. We'll look at common bugs, uncommon bugs, and even some incredibly tricky JavaScript quirks!
What's included:
13 short video lessons, each investigating a different bug
Debug a wide array of HTML, CSS, and JS bugs
Difficulty ranges from easy to downright diabolical
Mock "GemWizard" ecommerce website infested with bugs to bash
Follow along with a cloned version of the site's repo or just watch!
By the time you've finished the course, I'm sure you will have learned something you didn't know before. ?
FAQ
What level of Web development knowledge should I have for this course?
You'll need at least a basic/foundational knowledge of HTML, CSS, and JavaScript.
What frameworks are used in this course?
No frameworks! The code is all vanilla JavaScript and CSS. There are 2 bugs that deal with jQuery but prior knowledge isn't required.
What is the difficulty level?
Some bugs are relatively easy to figure out others are pretty hard, but there's a solution video for each.
How long is this course?
There are 13 lessons each featuring a different bug to track down. The video material is under 10 minutes for each lesson.