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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024
  • GET THE SOURCE CODE 👇
    codepen.io/dco...
    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:
    developers.goo...
    MATERIAL ICONS LIBRARY:
    fonts.google.c...
    🏫 My Udemy Courses - www.udemy.com/...
    🎨 Download my VS Code theme - marketplace.vi...
    💜 Join my Discord Server - / discord
    🐦 Find me on Twitter - / dcodeyt
    💸 Support me on Patreon - / dcode
    📰 Follow me on DEV Community - dev.to/dcodeyt
    📹 Join this channel to get access to perks - / @dcode-software
    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

ความคิดเห็น • 30

  • @dcode-software
    @dcode-software  2 ปีที่แล้ว +10

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

  • @bushigi5913
    @bushigi5913 2 ปีที่แล้ว +2

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

  • @seancmptn
    @seancmptn 2 ปีที่แล้ว +1

    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.

  • @sophiaf470
    @sophiaf470 หลายเดือนก่อน

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

  • @owenfrozen
    @owenfrozen 2 ปีที่แล้ว +2

    Thank you for these simple but interesting tutors!

  • @kareynjeri3982
    @kareynjeri3982 2 ปีที่แล้ว

    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

  • @maibason6387
    @maibason6387 3 หลายเดือนก่อน

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

  • @relaxa4896
    @relaxa4896 6 หลายเดือนก่อน

    Danke!

  • @fnxph03n1x
    @fnxph03n1x ปีที่แล้ว

    Thanks for being totally on point with everything! Amazing tutorial

  • @photoinshot1355
    @photoinshot1355 ปีที่แล้ว

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

  • @NedumEze
    @NedumEze 2 ปีที่แล้ว

    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.

  • @aymangouda9708
    @aymangouda9708 ปีที่แล้ว

    Much perfect , bro ❤❤🎉

  • @Tony.Nguyen137
    @Tony.Nguyen137 2 ปีที่แล้ว

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

  • @positivity8078
    @positivity8078 ปีที่แล้ว

    Great work. Keep it up bro❤❤❤

  • @emir.siriner
    @emir.siriner ปีที่แล้ว

    Thanks a lot of. Respect...

  • @onemanoutfit
    @onemanoutfit 11 หลายเดือนก่อน

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

  • @pouriyanourouznejad7090
    @pouriyanourouznejad7090 2 ปีที่แล้ว

    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?

  • @ChickenChaap
    @ChickenChaap ปีที่แล้ว

    will it work on mobile browser ?

  • @MaheshMeena-zu5pz
    @MaheshMeena-zu5pz 7 หลายเดือนก่อน

  • @suelingsusu1339
    @suelingsusu1339 2 ปีที่แล้ว

    Nice👌👌👌👌🙏🙏🙏🙏🖖🖖🖖🖖

    • @learnwithlogic6943
      @learnwithlogic6943 2 ปีที่แล้ว

      How to make anything in html ,css and javascript th-cam.com/video/k7vvvH7mStA/w-d-xo.html

  • @nothing_pubgmm
    @nothing_pubgmm ปีที่แล้ว

    Make more not speak more ok?

  • @nanonorthlabs3375
    @nanonorthlabs3375 2 ปีที่แล้ว

    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.

    • @tabdig
      @tabdig 2 ปีที่แล้ว

      But it helps people IMAO

    • @nanonorthlabs3375
      @nanonorthlabs3375 2 ปีที่แล้ว

      @@tabdigthere are hundreds of videos like this, and blog posts… the internet is bombarded with tutorials like this. This is only a lazy attempt to make content to grow his channel

    • @tabdig
      @tabdig 2 ปีที่แล้ว +1

      @@nanonorthlabs3375 so do not watch it from the start, it actually helped me and many others. So if you do not like it, just shut up please.

    • @nanonorthlabs3375
      @nanonorthlabs3375 2 ปีที่แล้ว

      @@tabdig welcome to the internet you troll, I’m free to comment as I like

    • @positivity8078
      @positivity8078 ปีที่แล้ว +1

      These are the haters in the system who are selfish in themselves but feel offended by the impact others are making. You have no content on TH-cam yet you feel offended by others’ work. Shame