Got my third black belt! Plus tip of the day

Today’s tip: How to link to a specific div on a page.

Leibel Hecht
Jul 21, 2017 · 2 min read

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.


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:

When the user clicks buy, it redirects to the Purchases div on the dashboard

And another example on medium:

Using this trick on medium. Find the div id and use it in the href

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

My Coding Journey

Follow my coding journey and my experience at Coding Dojo in Chicago

)
Leibel Hecht

Written by

I’m Leibel. I’m transitioning from Talmud to Tech. Maybe someday I’ll be the Rabbi on Rails :)

My Coding Journey

Follow my coding journey and my experience at Coding Dojo in Chicago

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade