One of my managers is designing a website in wordpress and was trying to get the page to scroll to different positions. I had to explain to him how an anchor was could be a link, a spot on the page, or both. Here's the code I wrote to show him:
<!DOCTYPE html> <html> <head></head> <body> <a id="top-of-page" href="#bottom-of-page">Go to bottom</a> <!-- spacer --> <div style="height:2048px;width:1px;"></div> <a id="bottom-of-page" href="#top-of-page">Go to top</a> </body> </html>
Apparently this amazed him so much he took a picture of my code with his phone, and I was like "I can email it to you"
checkout masteraway from going back to defacto actually works code (he isn't a fan when the light don't work :laughing: )