Hi, I'm John, Multi Startup Builder.
I enjoy both coding and marketing.
See all my 20 products here
→ johnrush.me
→ my BIO
→ Say Hi to me On Twit...
For further actions, you may consider blocking this person and/or reporting abuse
credits to twitter.com/fireship_dev
um dialogs don't work by default. In chrome i get an Uncaught TypeErrorL d1.showmodal is not a function at HTMLButtonElement.onclick. Similar error in Firefox...
any ideas? Didn't see it in the experiemental list.
This worked for me in Chrome, it's show() and not showDialog()
myDialog.show()
One more note, apparently the ID appears in global scope as soon as you add it to the document. So be careful about what the ID is - not sure how this jives with anything else in a lexical scope.
The dom ready listener may not be necessary but:
oh… .show works… I was using a .showmodal() for some reason
thanks
Hi there, we encourage authors to share their entire posts here on DEV, rather than mostly pointing to an external link. Doing so helps ensure that readers don’t have to jump around to too many different pages, and it helps focus the conversation right here in the comments section.
If you choose to do so, you also have the option to add a canonical URL directly to your post.
I dont have other version of this post. This is the only version. I put twitter embeds for the videos , so that viewers could watch videos. And actually they can watch videos right here.
Hi,
I didn't know how to embed the videos other than with twitter posts.
What's the best way to do it so it plays here?
You forgot about the upcoming features
Css style queries
Scroll-driven animations
Css anchoring api
working on a new article to include these
my next article dev.to/johnrushx/i-built-the-same-...