Boss lesson · Unit 04
Debug a page
One shop page, three symptoms: it is blank, a request fails, a click does nothing
What you practise
- Elements, console, network and performance panels read as text: find why a page is blank, a request fails and a click does nothing
Try a question from this lesson
Pick one
A shop page is completely blank. DevTools shows the HTML that arrived and the requests that were made. Why is there nothing to see?
Elements
<body>
<div id="root"></div>
<script src="app.js"></script>
</body>
Network
name status
index.html 200
app.js 404Correct answer
app.js builds the page, and it never arrived
Why
The HTML came in fine, but its body is an empty div. Everything visible was meant to be added by app.js, and that request got a 404. A page built entirely by script shows nothing when the script is missing.
12 more exercises in the app
- 6× multiple choice
- 1× order the lines
- 1× fill the blanks
- 2× type the answer
- 1× match the pairs
- 1× true or false
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.