Email Validation Check Using Vanilla Javascript | How To Check Email Valid or Not

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

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

  • @OnlineTutorialsYT
    @OnlineTutorialsYT  4 года назад +9

    Also Watch This : Check Email Validation with Javascript | Javascript Form Validation
    ruclips.net/video/pEvISNLoYAk/видео.html

    • @dnynu
      @dnynu 4 года назад

      This video YT recommended me after I watched your latest video

    • @nickfinders7369
      @nickfinders7369 2 года назад +1

      Hi bro i need this script

  • @possiblyzslot838
    @possiblyzslot838 2 года назад +2

    Bruh I've been trying to do this for hours and I tried different patterns believing it wasn't the issue when it was and yours finally worked. You have my utmost gratitude.

  • @150Neron
    @150Neron 4 года назад +27

    Spent hours trying to implement this sort of stuff from Stack Overflow, but content like this makes learning so much easier, so happy I found it, thank you so much!

    • @waifufx
      @waifufx 3 года назад +1

      Same here

  • @khashe
    @khashe 4 года назад +10

    I'm so f'ing happy I found this channel man. Straight to the point with clear code. By far one of the best project based channels.

  • @christopherpink842
    @christopherpink842 3 года назад

    SPENT DAYS TRYING TO THIS , soo many videos tutorials , BUT THIS HELPED THANK YOU!!!!!!!!!!

  • @netpassprod1
    @netpassprod1 4 года назад +4

    1:58 - font-style:18px; should be font-size:18px; (line 38 of style.css)

  • @Wanderer2035
    @Wanderer2035 2 года назад

    I like how you play calm music to calm us down from pulling our hair out lol

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

    One of the amazing YT channels in my list

  • @kidbrave_7673
    @kidbrave_7673 2 года назад +2

    Thank you soooo much Online Tutorials!!! I have been racking my brain trying to find the answer to my email validation feature for my project! But with your video, I believe I'll definitely figure it out. However, I did want to ask why does valid and invalid class selectors give it a toggle-like feature using the classList method? I looked through your video twice and I didn't see it in your css or html code.

  • @arturmoreira9716
    @arturmoreira9716 3 года назад +1

    Amazing brother 👏🏼👏🏼👏🏼👏🏼👏🏼👏🏼👏🏼👏🏼👏🏼

  • @romuloalves9349
    @romuloalves9349 5 лет назад +5

    Ótimo vídeo parabéns 👏 estava a procura de uma validação assim obrigado.

  • @decall
    @decall 3 года назад +1

    Thank you so much for this amazing video.. This was just what I needed.. You even included the regex email pattern :)

  • @mohammadnisar9279
    @mohammadnisar9279 5 лет назад +1

    Sir you are sooo cool .
    I watch all of your video .

  • @JonBraydenCodes
    @JonBraydenCodes 2 года назад

    This tutorial is really help me a lot. Keep creating content like this. :)

  • @nataliabujnowicz1454
    @nataliabujnowicz1454 2 года назад

    Wow you are amazing! I'm glad that I found your channel :)

  • @hassanahmadansari8269
    @hassanahmadansari8269 5 лет назад +1

    Bro Huge Fan of you's..💞💞

  • @victorschweitz3506
    @victorschweitz3506 5 лет назад +5

    Is there any way to make the input field extend in length if the e-mail address is at a certain distance from the checkmark or cross? I mean, if you have a long e-mail address as I have, the e-mail address is going under the checkmark/cross, making it hard to read.
    Thanks in advance!

  • @only_polaroid
    @only_polaroid 5 лет назад +4

    Dude, try to vary it a little bit with a different song in each video, seriously, watching your channel and in each video having the same music annoys a bit, by the way, a great video

    • @only_polaroid
      @only_polaroid 5 лет назад

      I recommend NCS for the background music

  • @ahmedfawzy5583
    @ahmedfawzy5583 5 лет назад +1

    ordinary i dont make comments, but this is verd good ,simple thanks man and keep it up bro

  • @lucaslondero3658
    @lucaslondero3658 2 года назад

    Really great my friend!!

  • @AJKING-tq3pd
    @AJKING-tq3pd 4 года назад +1

    Very nice 👍 but I have to ask that which browser sync pakage are you using for live reload

  • @chriseastwood69
    @chriseastwood69 5 лет назад +6

    Very nice design as usual, can you make a design or template for ordering? Cart sir?

    • @OnlineTutorialsYT
      @OnlineTutorialsYT  5 лет назад

      Can you send any reference or example...to understanding

    • @chriseastwood69
      @chriseastwood69 5 лет назад +1

      Something like, add to cart? Then when you add it to cart. The cart will have 1 item?then when you add again it will have 2 items sir and so on

    • @OnlineTutorialsYT
      @OnlineTutorialsYT  5 лет назад +1

      Ok bro...i'll try to make

    • @chriseastwood69
      @chriseastwood69 5 лет назад +1

      Thanks sir! I'll wait🙂

  • @Loopmootin
    @Loopmootin 4 года назад +1

    I like the overall look and feel of it so gj on that!
    But ES5 in 2020 and loading a .png in as background image on something that could very easily have been styled with a few lines of css or made as an svg.. I dno, it feels a bit clumsy to me :/

    • @Loopmootin
      @Loopmootin 4 года назад

      @Денис TATET I did suggest an svg? And how on earth would you make the regex validation without JS??

    • @Loopmootin
      @Loopmootin 4 года назад

      @Денис TATET oh that actually looks pretty cool, but it doesn't check on keystrokes, only when you submit the form?

    • @Loopmootin
      @Loopmootin 4 года назад

      @Денис TATET I just tried it and it didn't update before submitting? 🤔 Maybe I need to look closer... Still cool attribute, thanks for info!

  • @muhammadkarimberdiyev2582
    @muhammadkarimberdiyev2582 3 года назад

    Thank you so much for this amazing video tutoriol

  • @mayurgawde2182
    @mayurgawde2182 4 года назад

    Thanks from India :)

  • @shavkatusmonov2023
    @shavkatusmonov2023 4 года назад

    Very good 👍👍👍

  • @vishnuparegi4580
    @vishnuparegi4580 5 лет назад +2

    Awesome!!

  • @jsrak7255
    @jsrak7255 2 года назад +1

    Thankyou sir

  • @Ayiamus7
    @Ayiamus7 4 года назад

    Thanks 😊

  • @fazranmohamed3891
    @fazranmohamed3891 5 лет назад +1

    Thank u soo much ❤
    Can u please make a video for password validation

    • @OnlineTutorialsYT
      @OnlineTutorialsYT  5 лет назад +6

      Yes bro...work in progress :)

    • @jaganrajan9653
      @jaganrajan9653 4 года назад +1

      @@OnlineTutorialsYT bro it can't work in here it shows cannot read property 'match' of undefined at validate

  • @---------______
    @---------______ 5 лет назад +1

    Please do a vid on how those email and passwords be saved in your server and automatically log out after inactivity

  • @Daniel-di8rh
    @Daniel-di8rh 4 месяца назад

    2:43

  • @husler7424
    @husler7424 5 лет назад

    Amazing.
    Make on Name,password, phone number validation using vanila JS please.

  • @martinkarugaba
    @martinkarugaba 5 лет назад

    Nice tutorial. Where do you get your background music?

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

    Question, does someone knows how the value that he use as patter is called? I mean, what is the subject of thing I need to investigate to now more about that topic

  • @GauravKumar-jt5ub
    @GauravKumar-jt5ub 5 лет назад +2

    Your regex satisfies
    1: ()@().aa
    2: ()@.@.aa
    🤣🤣🤣 Amazing video 🧠

  • @yasingokce1470
    @yasingokce1470 2 года назад

    Allah razı olsun

  • @shahabzafarinobari4156
    @shahabzafarinobari4156 5 лет назад

    that is great i love it

  • @thachnguyen5957
    @thachnguyen5957 3 года назад

    amazing . keep it up

  • @annapurnaful
    @annapurnaful 5 лет назад +1

    Helpful

  • @nicolas.mellado
    @nicolas.mellado 4 года назад

    Thanks

  • @Crybabyssl
    @Crybabyssl 5 лет назад +1

    Very helpful (:

  • @notabolished1331
    @notabolished1331 3 года назад

    Please, is there a code we can just copy and use, for non tech persons like me?

  • @kieno985
    @kieno985 4 года назад

    is it possible to use it on the phone

  • @BarraIhsan
    @BarraIhsan 5 лет назад +1

    Interesting

  • @ifeomablessing9578
    @ifeomablessing9578 2 года назад

    Nice job. I wish you could explain a little why you work. More reason I haven’t subscribed to your channel anyways.

  • @amirhamja3870
    @amirhamja3870 5 лет назад

    Awesome

  • @huylamnguyen3293
    @huylamnguyen3293 5 лет назад

    Please make video tutorial check username and pass

  • @enricoferaldo1489
    @enricoferaldo1489 5 лет назад

    nice

  • @maki36194
    @maki36194 3 года назад

    Hola, buen video, tengo una pregunta, cómo sería en caso de que la imagen no sea png sino svg, porque lo que he hecho es crear una clase en html para la imagen y ubicarla después del div y haciendo el mismo proceso en css sin agregar en background: url, pero no me sale , también intentpe hacer el proceso tal cual y reemplazar en el url la imagen svg,pero no me funciona :c, pordrías ayudarme,por favor.

  • @_omkar-vlogs_4385
    @_omkar-vlogs_4385 3 года назад

    Sir , I did this code as same as , (copy paste ) but I was still facing a problem that the class which we are calling in class List.add() in js is not working in my mobile, why what the reason , pls solve my problem

  • @Sierooworks
    @Sierooworks 2 года назад

    Hello I keep getting Uncaught TypeError: Cannot read properties of null

  • @tamarasantosc
    @tamarasantosc 3 года назад

    Why type of input is "text "and not "email"? i didn´t understand. Sorry for my english.

  • @HaloTheGamers
    @HaloTheGamers 4 года назад

    Can we put this in a separate js than have it in the HTML file

  • @dewaldoosthuizen3778
    @dewaldoosthuizen3778 3 года назад

    Right now i cant figure this out es6 match does not work on there.

  • @ermalratkoceri2710
    @ermalratkoceri2710 4 года назад +1

    i have a question if anyone could help me id be greatful
    how can i make it that after the @ at the regex pattern, to limit the text input to 3 - 7 characters
    i tried /^[^ ]+@+[a-z]{3,7}+\.[a-z]{2,3}/; but it shows an error

    • @zobakk
      @zobakk 4 года назад

      try /^[^ ]+@+[a-z]{3,7}\.[a-z]{2,3}/

    • @pedrorogoski5797
      @pedrorogoski5797 4 года назад

      thank you king

  • @kuldippatil2006
    @kuldippatil2006 3 года назад

    How to show span message after blank submit?

  • @nadir2k
    @nadir2k 4 года назад

    ive done it as you did, stil not working for me. it says undefined variable validation()

    • @mal5256
      @mal5256 4 года назад

      did you write the function like this: function validation() { /* yourcode*/}

  • @Anirs
    @Anirs 4 года назад +1

    error in browser console
    Uncaught TypeError: Cannot read property 'classList' of null

    • @Anirs
      @Anirs 4 года назад +3

      CLOSE TOPIC i found problem:
      problem - I write document.getElementById("from"); and this is ("form") :D

  • @holicneko1668
    @holicneko1668 4 года назад

    i don't know why you use position relative ?

  • @MilanDrazic
    @MilanDrazic 5 лет назад

    but if you click to submit it goes, email was sent...

  • @itscartoonguy
    @itscartoonguy 4 года назад +1

    You can also use
    CSS :valid/:invalid

  • @daangadhavi4452
    @daangadhavi4452 4 года назад

    Sir i have implimented this code in my form but the form is accepting the wrong email....
    How do i stop it??
    Please help me....

  • @АртемТитов-з4о
    @АртемТитов-з4о 3 года назад

    gives an error on match, they say, not definitely

  • @ultimategaming517
    @ultimategaming517 4 года назад +3

    ONLY LEGENDS KNOW WHAT IS CODING
    ME: TO MY FRIEND; I DO CODING AND KNOWS VERY WELL
    MY FRIEND: I HAVE DEGREE
    ME;WHAT IS CODING;
    MY FRIEND;BYE I AM GOING KAL BATUNGA
    ME;LOL

  • @mafaquesoomro3712
    @mafaquesoomro3712 3 года назад

    bhai jab me invalod.png use kar raha hu to wo work nahe kar rahi agr valid.png use kar raha hu to wo show ho rahi he

  • @medlo850
    @medlo850 6 месяцев назад

    how to know if the email existe ?

  • @rpresb
    @rpresb 5 лет назад +1

    That won't work for .tech domain this regex has to be improved.

    • @OnlineTutorialsYT
      @OnlineTutorialsYT  5 лет назад +1

      var pattern = /^[^ ]+@[^ ]+\.[a-z]{2,3,4}$/;
      Use this format for .tech domain...

    • @farhanaditya2647
      @farhanaditya2647 3 года назад

      @@OnlineTutorialsYT correction: it should be {2,4} instead of {2,3,4}. The latter is invalid

  • @Mansoor_Ahmed_29
    @Mansoor_Ahmed_29 5 лет назад

    Bro plzzz can u tell me how to show last visted time on page

    • @raajkumar1976
      @raajkumar1976 4 года назад

      krazytech.com/programs/php-display-last-visited-date-time

  • @moasters99
    @moasters99 3 года назад

    In style.css file i am getting media queries problem with * can anyone help

  • @BipinKumar-nj5kr
    @BipinKumar-nj5kr 3 года назад

    I want to know how a real phone no or email can be inputed

  • @akhwatjomblochannel789
    @akhwatjomblochannel789 2 года назад

    can i used password mail validation ? what solution ?

  • @anthonysciarra6063
    @anthonysciarra6063 2 года назад

    Henry Taylor

  • @altafhossainsadik4962
    @altafhossainsadik4962 2 года назад

    Source code link is not working

  • @dailylifeofispengineer8543
    @dailylifeofispengineer8543 5 лет назад

    Please create real time graph for bandwidth upload download type

  • @djdada4148
    @djdada4148 5 лет назад

    Blast..!!

  • @ayadiyassine6204
    @ayadiyassine6204 3 года назад

    your a fking king man :)

  • @altafhossainsadik4962
    @altafhossainsadik4962 2 года назад

    Can i get source code?

  • @unknown98171
    @unknown98171 4 года назад

    He is fan of Vanilla Js

  • @nazim3152
    @nazim3152 5 лет назад

    Sir i do it exactly like yours but it didn't work :( please help me

    • @SabirsCreation
      @SabirsCreation 4 года назад

      10 baar try Kro aik baar krny se issue solve nh hogaa sir ne to sirf email 📤 validation ka btaya h mene to pura form bana kr us me email 📤 ko validate kiyaaa h kch banda apna dimag bhi use kre

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

    doesnt work bro

  • @saitharunsuthapalli5772
    @saitharunsuthapalli5772 2 года назад

    Code please

  • @ilyaprieur8254
    @ilyaprieur8254 5 лет назад +3

    gg

  • @golamrabby6911
    @golamrabby6911 4 года назад

    why are your silent please try to speak and make us understand in this subject

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

    Very nice but what you mean here ^[^ ]

  • @clint8233
    @clint8233 3 года назад

    Non dev in trouble

  • @DivyaS_1702
    @DivyaS_1702 3 года назад

    i m getting valid only no matter wht i type

  • @integrateeverything
    @integrateeverything 4 года назад

    please send me the source code also

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

    Pls the script

  • @SaeleeSaan
    @SaeleeSaan 3 года назад

    you can't have a video without an explanation. serves no purpose.

  • @abirhossan8246
    @abirhossan8246 5 лет назад

    nice