The dom is the browser's interpretation of your HTML and it's put into essentially a JavaScript object that's why it's called the document object model, right? The shadow dom itself is essentially a dom that is hidden behind a component. You cannot usually you cannot access Those things unless they surface an API for the shadow DOM via JavaScript or CSS totally Next one we have here is the difference between method and functions methods are functions and technically All functions are methods as well.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode