Open willhoag opened 5 years ago
@willhoag it's a smart hack.
Thanks @mddanishyusuf!
Hey, noticing on dailyhack.xyz that the 2nd code block is broken. Just FYI.
https://dailyhack.xyz/post/quick-react-like-api-for-adding-html-to-a-page-in-plain-js-67
Thanks @willhoag Now it's fixed. And I also published it.
@willhoag how you make the URL you share in the comment. Because the post was not published at that time.?
@mddanishyusuf Cool, see the fix! Thx!
Oh, it showed up when I clicked on #javascript https://dailyhack.xyz/tag/javascript
Was the first entry...
Ohh. You smart man.
I'll fix all these glitches next month. there too much work to finish. Now, I'm busy in my 4th Product of this Year.
1 product a month then?!! 👀 Nice work, keep it up!!!
Thanks, @willhoag
I use this when need to quickly add some HTML to a page programmatically.
Code is:
And usage: