How to Create a 'COPY LINK' Input Field with HTML, CSS & JavaScript

preview_player
Показать описание
GET THE SOURCE CODE 👇

In today's video we'll be creating a "Copy Link" input field using HTML, CSS and JavaScript. This is very easy to do and is a huge convenience to your users when performing an action like sharing a link.

MATERIAL ICONS INSTALL:

MATERIAL ICONS LIBRARY:

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

#dcode #html #javascript
Рекомендации по теме
Комментарии
Автор

Sorry about my voice in this video. Recovering from a cold!

dcode-software
Автор

I love how you make the tiny mistake and amend it right away. That's a really nice process we all should appreciate.

bushigi
Автор

That was sooo good explained thank you. I tried so many instructions but this one was spot on

sophiaf
Автор

Thank you for these simple but interesting tutors!

owenfrozen
Автор

Thank you for you sharing but can this tutorial be applied for paragraph? Or only for input box?

maibason
Автор

i just saw a couple of new videos am so excited to watch and learn ! Thanks for making this wonderful content for people you dont even know

kareynjeri
Автор

Thank you so much dude! I used to be a ColdFusion developer but after watching your videos now I am a Junior Software Engineer at 1 of the big 5 (faaNg *wink* *wink*) making 350k a year and I owe it all to you bud! 10/10 channel.

seancmptn
Автор

Thanks loads, Dom. Great tutorial.
Please can I use textarea element instead of the input element? Sometimes you want make almost page-long amount of code available for copying.

NedumEze
Автор

Brilliant tutorial video, as always very clearly presented and explained very well, thanks!

photoinshot
Автор

Hi, how do I create a callback function with optional values? Do you have a tutorial video about that

Tony.Nguyen
Автор

Thanks for being totally on point with everything! Amazing tutorial

fnxphnx
Автор

can it work with a dynamic field in a post type ??

onemanoutfit
Автор

Navigator is only available for https domains (and localhost)
Thats y I always use exeCommand() function to make sure it will 100% works for any domains

Btw, I have a question:
Whats the differences between disabled attr and readonly attr?

pouriyanourouznejad
Автор

This is the type of crap that kills software developers. Tutorials like this. As GeoHot would say to not be a noob stop thinking like one. Why would something like this even require a video ? It’s like 5 line blog post.

nanonorthlabs