Got my third black belt! Plus tip of the day
Today’s tip: How to link to a specific div on a page.

Click here for today’s tip (and yes, this is an example of the tip 💪)
I’m now officially a triple black belt! I took the Rails belt exam today and aced it, so that was super cool. The exam was to build a mini products marketplace where users can buy and sell products. (Sorry future belters, that’s all I can say for now). The app had to be built and deployed to AWS in 4.5 hrs and I was super happy that I did it in like 3.5 hrs. Of course, I also used my new favorite CSS framework Bulma. Anyway, that’s enough about me.
My HTML page is kinda long and I want to add an a tag (link) that will direct users to a specific div on the page, how do I do that?
It’s actually super simple, and really cool. Just give your div an id and append a “#” + the div id to any URL. It’s super simple and I love using it on medium too. (For medium, you’ll need to find the div Id by inspecting the element).
Here’s an example:
And another example on medium:
Next week is project week and we’re going to build a stubhub clone. I know, we’re a bit crazy. But it should be a lot of fun and I’m sure I’ll learn a lot. I’ll be sure to report on our progress throughout the week.
Happy Friday and have a great weekend! Happy coding 😁!
I am looking for an opportunity to join and contribute on a tech team, and I’d love to chat. I’m on Twitter, LinkedIn, Medium, Github or plain old email @ leibelhecht@gmail.com. My Portfolio is at leibelhecht.com

