Debugging Like A Pro
Stop staring at red error text: a practical system for finding and fixing bugs in the terminal, your markup, and your JavaScript.
Nobody teaches debugging. Think about that. It is half the job, the literal daily reality of writing software, and almost every curriculum skips straight past it. Then a student hits "command not found" on day two and concludes they are not smart enough for this. They were never the problem. Nobody handed them the process.
Errors have patterns, and patterns can be learned
The course starts where errors first ambush beginners: the terminal. Command not found, a library that will not load, the moments when the operating system wants sudo, and the sneaky one, having the wrong version of a tool installed. Each of these has a recognizable shape, and once you have seen the shape, the panic goes away. There is also a lesson on knowing your own operating system, because half of confusing errors are environment problems wearing a disguise.
Then HTML and CSS, where things fail silently instead of loudly. You learn to let your text editor catch mistakes as you type and to run your markup and styles through the W3C validators, which will point at the exact line where a typo is quietly breaking your layout.
The console is a toolkit, not a print statement
The JavaScript section is the deepest. Most developers use console.log and nothing else, which is like owning a workshop and only using the hammer. You go through the console properly: settings, log, clear, count for how many times something ran, dir for inspecting objects, table for readable data, and real errors and warnings.
Then the two lessons that change how you work: breaking problems down into small testable pieces, and debugging through breakpoints, where you pause your code mid-run and watch what the values actually are instead of guessing. The first time a breakpoint catches a bug that a pile of log statements kept missing, this course will have paid for itself.
Comfort in the shell helps here, and Terminal for Developers builds exactly that. If your JavaScript itself needs shoring up first, start with JavaScript Basics and come back when you have bugs worth hunting.
What you'll learn
- ✓ Diagnose common terminal errors like command not found and missing libraries
- ✓ Know when sudo permissions are the problem and check you are on the right version
- ✓ Catch HTML and CSS mistakes with your text editor and the W3C validators
- ✓ Use the browser console properly, including log, count, dir, table, and error levels
- ✓ Break big problems down into small testable pieces
- ✓ Debug JavaScript with breakpoints instead of guesswork
Course Curriculum
6 sections
1
Introduction
2
Terminal
3
HTML & CSS
4
Javascript
5
Programming Languages
6
Updates
Before you start
- ✓ Basic HTML, CSS, and JavaScript, since those are the things you will be debugging
Frequently asked questions
Who is this course for? +
Does it only cover JavaScript? +
What will I know about the console by the end? +
Is this included in the Diamond membership? +
More courses you might like
Projects To Build For Portfolio Web Administrator
Applying to web administrator jobs with no portfolio means asking a hiring manager to take your word for it. T...
Terminal For Developers
The Terminal for Developers course teaches you how to take control of your computer like a pro. If you’ve ever...
Text Editors
Before you write a single line of HTML, CSS, or JavaScript — you need to understand your tools. In this cours...
Email Developer Course: Build Bulletproof HTML Emails
The first time one of my emails hit Outlook, the layout I had spent two days on turned into a single crooked c...
Git Like A Pro!
I once watched a junior developer delete three days of work because he was too embarrassed to admit he did not...
All Installations You will Need For Web Development
Before you can build websites, apps, or work with any coding framework, you need the right setup. This course...