Complete the URL Fragment
Fill in the Blank Easy
Question
Fill in the character that starts a URL fragment (in-page anchor).
Code
https://example.com/docs___section-2
Hint
It is a single character commonly called 'hash'.
Explanation
The '#' character starts the fragment portion of a URL. The fragment identifies a specific section within the page, typically matching an element's id. The browser scrolls to that element on load. Fragments are not sent to the server.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.