Why Nostr? What is Njump?
2024-09-19 19:17:13

Khalid ⚡️ on Nostr: I’m sure many folks don’t know this, but when you use the #HTML attribute of ...

I’m sure many folks don’t know this, but when you use the #HTML attribute of `id`, it attaches that element to the `window` object so you can access those elements in your #JavaScript.

You can also make things a nightmare by giving an element an id of `document` 😅.



Author Public Key
npub1e75dvvykqhj0uw4akj8patss5qzdtgqc8adjylh0968lj2lq2cuqu68zgm