How to Make Chrome Extension in HTML CSS & JavaScript | Color Picker Extension in JavaScript

Поделиться
HTML-код
  • Опубликовано: 16 май 2024
  • In this video, I've shown How to Make Color Picker Chrome Extension in HTML, CSS, and JavaScript. In this color picker, users can easily pick any color on the screen, see the picked colors, and copy or clear them with a single click.
    Download Color Picker Extension's Icons Only:
    drive.google.com/file/d/1FPIX...
    Click this link to download codes and a detailed explanation of this extension
    www.codingnepalweb.com/create...
    Second Channel - bit.ly/3aHNkru
    Facebook - / coding.np
    Instagram - / coding.np
    Timestamps:
    0:00 Demo of Extension
    2:00 HTML & CSS Start
    9:00 JavaScript Start
    9:26 Opening Eye Dropper & Getting Picked Color
    12:36 Storing & Fetching Picked Colors from Local Storage
    18:53 Copying Selected Color to the Clipboard
    21:36 Removing All Colors on the "Clear All" Click
    25:03 Creating manifest.json file
    26:02 Uploading Extension to the Chrome
    Icons credit: www.flaticon.com
    Music Credit:
    Deep Sea by Vendredi
    • Deep Sea - Vendredi (N...
    Something 'bout July (Instrumental) by RYYZN
    • Something 'bout July (...
    Ikson - Lights [Official]
    • #32 Lights (Official)
    Ikson - We Are Free [Official]
    • #83 We Are Free (Offic...

Комментарии • 100

  • @pugu404
    @pugu404 Год назад +1

    Thank you for making beginners like me really fun to practice =)

  • @kennedymunyao6136
    @kennedymunyao6136 Год назад

    This channel makes me fall in love with vannila Javascript so much❤❤

  • @user-pw2vv4pv2l
    @user-pw2vv4pv2l 10 месяцев назад +1

    It amazing video, Thank you so much😊

  • @umiamira3332
    @umiamira3332 Год назад +2

    OH MY GOD. THIS IS LIKE ADVANCED JAVASCRIPT BUT EASY FOR NEWBIE TO LEARN. I code along with you and successfully built as intended. Thank you so much! There are many new things I learn in this one video only. You are so talented!
    I'll repeat this coding process to make sure I understand what I learnt. Thank you so so much! You are a great person for teaching us!

  • @gui-cordeiro
    @gui-cordeiro Год назад +2

    I can't believe it's that easy to create a Chrome extension! I really appreciated this tutorial, thanks so much!

  • @MindfulProgrammer
    @MindfulProgrammer Год назад

    This is very nice, keep up the good work!

  • @ascodes3461
    @ascodes3461 Год назад

    Maaaaaaaaaaaannnnnnnnnnnnnn!!!! Absolutely, A masterpiece😍😍😍...It's incredible to see that making a chrome extension is that easy, I wasn't expecting that. Thank you soooo much for making this video🤩😍🥰

  • @parvezkhan1299
    @parvezkhan1299 4 месяца назад +1

    At 10:30 the correct Code is
    const eyeDropper = new EyeDropper();
    just capitalize first letter of EyeDropper and all set

  • @mdms4549
    @mdms4549 Год назад +2

    The best training I have ever seen on JavaScript, thank you very much🙂🙂✅✅

  • @Mecoloji
    @Mecoloji Год назад

    Thank you.

  • @shinydevil9294
    @shinydevil9294 Год назад

    Do you know how to make a highlight extension that show highlights on text when it runs.

  • @firstlastcode
    @firstlastcode Год назад +1

    I just love what you are doing you are a great developer. God bless you more and more

    • @CodingNepal
      @CodingNepal  Год назад

      Thank you so much!

    • @firstlastcode
      @firstlastcode Год назад +1

      @@CodingNepal Anytime I went to React interview they interviewer gave me coding challenge in Javascript not React so I was shocked. So the content here is very useful for us to grow as Javascript developers

    • @firstlastcode
      @firstlastcode Год назад

      @@CodingNepal I was asked to build application that accept two input which is hours and minute of a displayed clock for a user to use the input boxes to change the time according to the minute and hour. I was given only 12 minute for this.

  • @brilliantapps1974
    @brilliantapps1974 Год назад +1

    wow very important tutorial nice job! this one is new to me thanks alot bro. a like is on the way for you.

  • @amircahyadi9219
    @amircahyadi9219 Год назад

    ❤ love this

  • @VivaanFWD
    @VivaanFWD Год назад

    Really thank you for this and can you add auto detecting environment...
    Vivaan...

  • @ashishpatel6078
    @ashishpatel6078 Год назад

    Thank you so much sir..♥️♥️
    Please make video on how to hide mobile menu when we slide left if it is open from left just like gmail or linkedin mobile menu.when we slide it goes off screen

  • @ulugbekabdulloyev22
    @ulugbekabdulloyev22 Год назад +1

    Ajoyib 👍👍

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt Год назад

    Wow Nice bro

  • @MysteryMindset636
    @MysteryMindset636 3 месяца назад +1

    reply please at 11:00 ReferenceError: Cannot access 'eyeDropper' before initialization
    at HTMLButtonElement.activateEyeDropper

  • @en_kratia
    @en_kratia Год назад

    If you use let/const with function expression maybe there should be semicolon in the end, like this };
    May be you are not doing it intentially/forget/something else, but maybe you will find in interesting.
    Anyway, thank you for your work, every single tutorial is unique, every time here is something new, diiferent, usefull. This is something.

    • @CodingNepal
      @CodingNepal  Год назад +2

      In JavaScript, it is not mandatory to add a semicolon after the end of a function expression that is declared with const or let.
      However, it is a best practice to include a semicolon after function expressions and other statements in JavaScript to prevent issues with automatic semicolon insertion (ASI).

  • @suu5333
    @suu5333 Год назад

    I have a problem with picking color. I figured out that it happens bc of 2 monitors. While i am working on my main monitor, eyedropper picks color from my second monitor while my mouse is on the first one. Cant find any info about this issue. Without extending monitors it works fine

  • @MysteryMindset636
    @MysteryMindset636 3 месяца назад +1

    Hi, i am getting error "ReferenceError: Cannot access 'eyeDropper' before initialization"
    When i click on pick color ... At 11:00
    Code Is Perfect...
    And EyeDropper Also Not Opening

  • @TheRen_Org
    @TheRen_Org Год назад

    Can you make a account system, with login, register and remember pass

  • @TizianoMontenegro07
    @TizianoMontenegro07 Год назад +2

    This video is incredible thanks

  • @zanispleve1777
    @zanispleve1777 Год назад

    Hi! I remember when you create forms (register, forgot password) before 2 years. But how to make 2FA with forms

  • @codingwave56
    @codingwave56 9 месяцев назад +1

    Eye Dropper Is Opening Using Extension But Not In Web Site...

  • @saulotarsobc
    @saulotarsobc Год назад

    More, please

  • @temelderin7630
    @temelderin7630 Год назад

    It has some issues on linux ubuntu Chrome/Chromium/Firefox. If you publish another way i'll be so glad :))

  • @kirubajebamani
    @kirubajebamani Год назад

    super

  • @TheAnonymous_ofc
    @TheAnonymous_ofc Год назад

    Amazing 😍

  • @paraspachore
    @paraspachore Год назад

    many thanks bro😇

  • @aashutoshdahal6531
    @aashutoshdahal6531 Год назад

    From where did you learn javascript?

  • @singh.aditya11
    @singh.aditya11 Год назад +1

    Brother uploading on chrome extension will not cause copyright problem.

  • @MysteryMindset636
    @MysteryMindset636 3 месяца назад +1

    reply plzReferenceError: Cannot access 'eyeDropper' before initialization
    at HTMLButtonElement.activateEyeDropper

  • @yubiroaster6285
    @yubiroaster6285 Год назад

    Awesome ❤️

  • @ammarabhatti8261
    @ammarabhatti8261 10 месяцев назад

    I followed your code as it is but when I uploaded it on the chrome it is giving an error in the function definition of showColors and that line is
    if(!pickedColors.length) return; //first line of the function
    And error is:
    Uncaught TypeError: cannot read properties of null (reading 'length')
    Stack Trace
    script.js (anonymous function)
    Can you explain why this error and how to resolve it ??? Plzzzz must tell me I want to upland my first extension thanks to you but I don't know why this error😢😢

  • @SKBD01
    @SKBD01 Год назад +5

    Could you please create a text extractor in chrome extnsion it would be very useful

    • @CodingNepal
      @CodingNepal  Год назад

      Can you explain more..?

    • @SKBD01
      @SKBD01 Год назад +2

      Like extracting any text from the captured image

    • @firstlastcode
      @firstlastcode Год назад

      I like your suggestion bro good one

    • @Valoine
      @Valoine Год назад

      @@SKBD01I use blackbox, extension is perfect and work really good, it is easy to use.
      You should try it, she is very popular

  • @ResolveXpert
    @ResolveXpert Год назад

    can u please make a video on "alarm clock with challenger"

    • @CodingNepal
      @CodingNepal  Год назад

      Here is the video: ruclips.net/video/coj-l7IrwGU/видео.html

    • @ResolveXpert
      @ResolveXpert Год назад

      @@CodingNepal make a video on Challenger alarm clock

  • @hackroblox1234
    @hackroblox1234 Год назад

    color and colour

  • @faruksardar8829
    @faruksardar8829 Год назад

    Hii do you know how to fix this error, "ReferenceError: Cannot access 'eyeDropper' before initialization
    at HTMLButtonElement.activeColorPicker"

    • @CodingNepal
      @CodingNepal  Год назад +1

      It should be const eyeDropper = new EyeDropper();
      Double check this line.. Maybe you've written eyeDropper() instead of EyeDropper()

    • @shashankdeshpande9926
      @shashankdeshpande9926 Год назад

      @@CodingNepal I had the same issue. Thanks for helping and @FarukSardar for raising the issue.🌻

  • @ayanokoji_011
    @ayanokoji_011 Год назад +1

    Second bcz everyone is first *

    • @CodingNepal
      @CodingNepal  Год назад

      😂😂 Hope you enjoyed the video!

  • @Kofi_Codez
    @Kofi_Codez Год назад

    Is it possible to do this in replit? I think it is possible because I can code it then download it, anyway please tell me your thinking.

    • @mahanta9611
      @mahanta9611 Год назад

      Yes

    • @Kofi_Codez
      @Kofi_Codez Год назад

      @@mahanta9611 how?

    • @mahanta9611
      @mahanta9611 Год назад

      well you can just use the same technique you just said and then download fine no need of extra ide

  • @yvng4697
    @yvng4697 Год назад

    at 10:54 it says "cant access 'eyedropper' before initializing" what should i do i wrote everything as you wrote

    • @yvng4697
      @yvng4697 Год назад

      i found it i used
      const eyeDropper = new EyeDropper();

    • @rohitjain7098
      @rohitjain7098 Год назад

      same problem comes with me......if you found the solution please help me too

    • @yvng4697
      @yvng4697 Год назад

      @@rohitjain7098 const eyeDropper = new EyeDropper();

    • @yvng4697
      @yvng4697 Год назад

      @@rohitjain7098 The second EyeDropper should be wrote like that

  • @ZeeshanMRaje
    @ZeeshanMRaje Год назад

    3:00

  • @manhtganf
    @manhtganf Год назад

    Please build make post comment with HTML, CSS and JavaScript and see all other people's comments, please tutorial!

  • @crishl19
    @crishl19 Год назад

    I got this error : ReferenceError: Cannot access 'eyeDropper' before initialization
    at HTMLButtonElement.activateEyeDropper (index.js:5:28)

    • @CodingNepal
      @CodingNepal  Год назад +2

      It should be const eyeDropper = new EyeDropper();
      Double check this line.. Maybe you've written eyeDropper() instead of EyeDropper()

    • @crishl19
      @crishl19 Год назад

      @@CodingNepal now i got this : ReferenceError: EyeDropper is not defined
      at HTMLButtonElement.activateEyeDropper (index.js:7:28)

    • @yvng4697
      @yvng4697 Год назад

      @@crishl19 " const eyeDropper = new EyeDropper(); " worked for me

    • @crishl19
      @crishl19 Год назад

      @@yvng4697 I changed it but now I got new error .

    • @yvng4697
      @yvng4697 Год назад

      @@crishl19 did u write everything correctly?

  • @harunwarsame3027
    @harunwarsame3027 Год назад

    Plz make us snake game.

    • @CodingNepal
      @CodingNepal  Год назад

      Okay, I'll try to make video on it!

  • @toufiqulislam8575
    @toufiqulislam8575 Год назад +1

    Do you have any tutorial on "Earn money from Chrome extension selling".

    • @CodingNepal
      @CodingNepal  Год назад

      Not yet!

    • @toufiqulislam8575
      @toufiqulislam8575 Год назад +1

      @@CodingNepal would you please make it on priority basis in the next upcoming release?

    • @CodingNepal
      @CodingNepal  Год назад +2

      If your extension is useful to the users, there are several ways to monetize it, but the two most common methods are:
      1. Offer a premium version of your extension with additional features or support for a fee.
      2. Sell advertising space within your extension.
      If possible, I'll try to write a blog on this topic on www.codingnepalweb.com.

    • @toufiqulislam8575
      @toufiqulislam8575 Год назад

      @@CodingNepal The Sound is good,
      We are looking forward to your lovely cooperation and positive effort.

  • @user-ym5pw6me1f
    @user-ym5pw6me1f Год назад

    🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲

  • @MysteryMindset636
    @MysteryMindset636 3 месяца назад

    Hi, i am getting error "ReferenceError: Cannot access 'eyeDropper' before initialization"
    When i click on pick color ... At 11:00
    Code Is Perfect...
    And EyeDropper Also Not Opening

  • @MysteryMindset636
    @MysteryMindset636 3 месяца назад

    reply plsease ReferenceError: Cannot access 'eyeDropper' before initialization
    at HTMLButtonElement.activateEyeDropper

  • @MysteryMindset636
    @MysteryMindset636 3 месяца назад

    Hi, i am getting error "ReferenceError: Cannot access 'eyeDropper' before initialization"
    When i click on pick color ... At 11:00
    Code Is Perfect...
    And EyeDropper Also Not Opening

  • @codingwave56
    @codingwave56 9 месяцев назад +2

    Hi, i am getting error "ReferenceError: Cannot access 'eyeDropper' before initialization"
    When i click on pick color ... At 11:00
    Code Is Perfect...
    And EyeDropper Also Not Opening

    • @MysteryMindset636
      @MysteryMindset636 3 месяца назад

      i have same problem how to solve this did you find any solution to this problem

  • @MysteryMindset636
    @MysteryMindset636 3 месяца назад

    Hi, i am getting error "ReferenceError: Cannot access 'eyeDropper' before initialization"
    When i click on pick color ... At 11:00
    Code Is Perfect...
    And EyeDropper Also Not Opening