If the #hash in the URL matches the ID of an element *inside* a element, it'll open. No other fancy code required.| Frontend Masters Boost RSS Feed
I've been doing some operations on URLs in Javascript where I needed to extract different parts from a string URL, such as the domain, port, and most importantly the parameter values. I really wished there was some function which takes a string URL and breaks it down into an ...| The Code Ship
Leer en español| Prospect Genius
After adding a regexp for uuids (which are quite hard to regexp for), I discovered that Django offers path converters, making this a piece of cake. I was using old school re_path paths in my urls.py, but it's possible to replace them with path, like this: url_patterns=(path("datalayer …| (not) my ideas