Skillnest
← All articlesDevelopment

A calmer way to debug your first website

Turn an unclear website problem into a small, repeatable check instead of changing several things at once.

Skillnest Editorial · · 2 min read

A calmer way to debug your first website

Describe what you can observe

Begin with the difference between what you expected and what happened. The menu opens the wrong page is more useful than the website is broken. Include the page you started on, the action you took, and the result you saw.

Repeat the action once to check that the problem is consistent. If it happens only at a particular screen size or after signing in, write that condition down. It may be the clue that helps you find the cause.

Inspect one layer at a time

For a link problem, inspect the address first. For a layout problem, check the affected element and its computed styles in your browser's developer tools. For a form problem, check the validation message and whether the request reached the intended page.

Read the first relevant error before making a change. Try to connect it to the action you just repeated. Avoid fixing unrelated warnings while you are still working out the original problem.

Make the smallest useful change

Change one thing, repeat the same action, and compare the result. Keep a note of what you tried. If the result does not improve, undo the change before testing another explanation.

When the problem is fixed, check a nearby case too: another menu item, a narrower viewport, or an empty form. Finish by recording the cause and the solution in a sentence you could understand next week.

← All articlesExplore courses ↗

Another idea for your next learning session.

Keep your curiosity going