Why does my relative link sometimes go to a wrong page?
Because relative URLs depend on the current page's location. If you use a relative path without a leading slash, it appends to the current folder, which may not be what you expect. See render_step 3 for how the browser combines URLs.
💡 Relative URLs without a leading slash add to current folder; with a leading slash, they start from the website root.
Why does an absolute URL always go to the same place?
Because absolute URLs include the full web address, so the browser does not change or combine them with anything else. This is shown in render_step 1 where the link points directly to https://example.com/page.
💡 Absolute URLs always start with a protocol like https:// and point exactly where you want.