Hello, today I created a simple Copy Coupon Using HTML CSS & JS. Not great work but I hope you like this also comments about your thoughts.
For more content follow me on Instagram @developer_nikhil27.
If you want to more support me then buy me a coffee.
Thank you!
Top comments (4)
Notice that
execCommand
is deprecated. It probably won't stop working any time soon, but it's better to look for alternatives like the Clipboard API.I actually use both in my instagram post but issue is clipboard is not copy the value can you check this
Your code works fine for me.
dev-to-uploads.s3.amazonaws.com/up...