Week 6 — 12 / 15

Review: Fragments

Review: fragments are used to make a table of contents. - On page loads and clicks, the browser will scroll to an element with an id equal to the fragment, if one exists - They also trigger the :target pseudo-class - Fragments go into the history, so the Back and Forward buttons will cause the page to scroll, but do not cause the page to reload

https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL#anchor