Learn JavaScript form validation || JavaScript project for beginners ✨✨

Поділитися
Вставка
  • Опубліковано 16 лип 2024
  • Today we're gonna look at how to do form validation using JavaScript. This is a complete JavaScript project for beginners.
    GitHub : github.com/JoyShaheb/Project-...
    CodePen : codepen.io/joyshaheb/pen/XWgdOyY
    Time Stamps -
    0:00 - Intro
    3:12 - HTML
    18:44 - CSS
    45:45 - JavaScript
    1:16:55 - Social Media buttons
    1:30:03 - Adding the images
    1:44:41 - Media Query
    CSS Units [REM, EM, VW, VH, %] explained with examples
    • CSS Units [REM, EM, VW...
    Learn CSS Position Property with examples
    • Learn CSS Position Pro...
    CSS Box Model -
    • Learn CSS Box model wi...
    CSS Media Queries -
    • Learn CSS Media Query ...
    Have a Question or Project idea? Let me know about it in the comment box down below. 👇
    Both Suggestions & Criticisms are Highly Appreciated ❤️
    Follow me on:
    👉 LinkedIn : / joyshaheb
    👉 Twitter : / joyshaheb
    👉 Instagram : / joyshaheb
    👉 Github : github.com/JoyShaheb
    Queries Solved -
    1) How to do form validation using JavaScript
    2) Form validation for beginners
    3) learn JavaScript form validation
    #JavaScript #WebDev #Frontend

КОМЕНТАРІ • 136

  • @JoyShaheb
    @JoyShaheb  2 роки тому +32

    For mentorship visit : www.academy.poshpixel.studio/

    • @sandeeprawatz
      @sandeeprawatz 2 роки тому +1

      I think something missing on your face. 😹

    • @venkatswaraj3054
      @venkatswaraj3054 2 роки тому +3

      these indicate that channel is growing.Thank you bro for taking my comment into consideration.make projects like this.THANK YOU. : )

    • @JoyShaheb
      @JoyShaheb  2 роки тому +1

      @@venkatswaraj3054 most welcome. Suggest me more content ideas 🌹

    • @davidmaxwel96
      @davidmaxwel96 2 роки тому +2

      The video is amazing I love it, keep on👍

    • @noname-zd6wu
      @noname-zd6wu 2 роки тому +1

      You look like a pro! Thank you for this amazing tutorial Joy!! It helped a lot :)

  • @arwahsapi
    @arwahsapi 2 роки тому +6

    I love how your teaching makes me stay alert throughout the tutorial while other tutors usually makes me tap out.

  • @Duk32311
    @Duk32311 2 роки тому +9

    I'm really really said that you are the most easiest explaining teacher/mentor/instructor i've ever seen. I'm stuck at JS for 3 months but after watched this, I have understood a lot of it. Hopefully you will send out a full course of JS.

  • @DhanuDhanunjay-kr2bh
    @DhanuDhanunjay-kr2bh 7 місяців тому +2

    the best explanation i have ever seen probably the best the best front end tutor

  • @decibi2684
    @decibi2684 2 роки тому +6

    you don't know how beautifully you explained.. each and every step is crystal clear. Thank you so much. Please continue these videos considering beginners in mind.

  • @malayalampositive
    @malayalampositive Рік тому +1

    You are awsome teacher bro..I couldn't even think about anything during your class..hatsoff

  • @austinlawan3289
    @austinlawan3289 21 день тому +1

    Thank you so much. You are super smart but more you have an amazing way of teaching. Thank you and God bless you!

  • @hcmac100
    @hcmac100 17 днів тому +1

    Just love it - learn't a whole bunch of really cool new concepts - great for a beginner like me - thank you

  • @tenc6491
    @tenc6491 2 роки тому +2

    Wow Joy! I just started watching this tutorial and I am amazed at how beautifully you've explained everything. Honestly, it's superb and extremely informative. Thank you bro.
    Happily subscribed!

  • @jonathanmartinez76
    @jonathanmartinez76 2 роки тому +2

    Nice video Bro! This video is exactly what I was looking, excellent for beginners. And congrats for you new microfone too!

  • @elizabetemichelledefreitas4941
    @elizabetemichelledefreitas4941 2 роки тому +1

    Thank you so much Joy!!! Amazing Tutorial!! Can't wait to watch your next tutorial.

  • @Raj-iz9uz
    @Raj-iz9uz 2 роки тому +18

    Superb Bro 🔥🔥 pls make Javascript full course for beginner's.. 🙏🏻

    • @theblack6339
      @theblack6339 2 роки тому +2

      Yes bro we wait you

    • @modupeoluwa
      @modupeoluwa 2 роки тому +1

      I agree, it's needed

    • @jaynandansharma6315
      @jaynandansharma6315 2 роки тому +1

      Checkout harshit vasisth channel

    • @Raj-iz9uz
      @Raj-iz9uz 2 роки тому

      @@jaynandansharma6315 yes I'm following his javascript mastery series..

    • @41kaushalchauhan
      @41kaushalchauhan 2 роки тому

      @@Raj-iz9uz then why do u need another one?? wth 😂😂😅..tbh tht couse is too enough

  • @malc_makes
    @malc_makes 2 роки тому +1

    Awesome vid brother. thank you! You're very talented at breaking things down and teaching !

  • @saratbondada
    @saratbondada 2 роки тому +1

    Great tutorial! Was able to learn a lot of Javascript from your tutorial!

  • @spicy_bala
    @spicy_bala 2 роки тому +2

    Super tutorial awesome teaching

  • @munasikawa
    @munasikawa Рік тому +1

    Enjoyed this massively. Appreciate the time and effort.

  • @CanalBrunoVideos
    @CanalBrunoVideos 2 роки тому +1

    Very clear explanation. Ty !

  • @Deastroband
    @Deastroband 2 роки тому +1

    Keep going you are a great teacher! Good Work Providing the resources!

  • @rickycentino6075
    @rickycentino6075 2 роки тому +1

    This video is great! Kudos to you Joy. I learned a lot from your video tutorial.

  • @saritamishra6075
    @saritamishra6075 Рік тому +1

    ❤luv you joy sir i never heard this type of program breaking into such easy steps

  • @elinaolsanska6551
    @elinaolsanska6551 2 роки тому +1

    Thanks a lot Joy !!!

  • @PatriciaSL
    @PatriciaSL Рік тому

    Thank you so much. This was very well explained.

  • @kareynjeri3982
    @kareynjeri3982 2 роки тому +1

    wow ! awesome teacher , i enjoyed the way you teach !!

  • @AshishKumar-wh6dw
    @AshishKumar-wh6dw 2 роки тому +1

    Amazing !!! Superrrrrrrrrr bro !! keep it up

  • @mahendrasinghnegi4974
    @mahendrasinghnegi4974 2 роки тому +4

    Hey, joy, this project is really knowledgeable, make more projects like this using vanilla javascript.

  • @g4l625
    @g4l625 Рік тому +1

    You are an amazing teacher, all love ❤️

  • @algeeno716
    @algeeno716 2 роки тому +1

    Awesome video ! thanks

  • @nurolkel3750
    @nurolkel3750 2 роки тому +1

    amazing video thank you!

  • @prsmahajan
    @prsmahajan 2 роки тому +3

    East to the west, Joy is the best💥💥

  • @keiteylopes1581
    @keiteylopes1581 2 роки тому +1

    great job ☺☺

  • @gunahawk6893
    @gunahawk6893 2 роки тому +1

    Great work

  • @maurov6861
    @maurov6861 Рік тому +1

    amazing, you rule!

  • @apptsx
    @apptsx 2 роки тому

    love your tutorials, im already suscribed 😀

  • @PatriciaGailGRubio
    @PatriciaGailGRubio Рік тому

    Thank you for the tutorial. You're a great teacher. Upload more content videos, sir!

  • @headshotbooking2056
    @headshotbooking2056 2 роки тому +1

    I love you, sir. You are a great Teacher.

  • @Epikht
    @Epikht Рік тому +1

    this was amazing bro, thanks a lot.. please make more vanilla js projects like this

  • @naidukavya2351
    @naidukavya2351 2 місяці тому

    Awesome explanation.

  • @fariedomar401
    @fariedomar401 2 роки тому

    thanks bro it was awesom

  • @LicenceMiDz
    @LicenceMiDz 2 роки тому +1

    U r amazing bro
    From algeria ❤️

  • @EnzoAuditore
    @EnzoAuditore Місяць тому

    Thanks mate!

  • @papajohnsuk5965
    @papajohnsuk5965 2 роки тому +1

    u are the best! came from ffc figma video

  • @devfagundes
    @devfagundes 2 роки тому +1

    Thank you!

  • @imamcd
    @imamcd 2 роки тому

    It's a Great video...

  • @jessicamoore1898
    @jessicamoore1898 Рік тому

    Best teacher EVER!!!!

  • @thkhan
    @thkhan 2 роки тому +1

    Durdanto tutorial.

  • @samialayiet_
    @samialayiet_ 2 роки тому +1

    really good man

  • @ambole
    @ambole Рік тому +1

    Great

  • @dikshajain9845
    @dikshajain9845 Рік тому +1

    Loved the way you explained everything. You are really a great teacher.

  • @whatsappguys2322
    @whatsappguys2322 2 роки тому +1

    Hello joy ,this project is really really amazing, make more videos like this using javascript

  • @tipssedlife
    @tipssedlife Рік тому +1

    Amazing content. Learned alot. Pleae make more front end videos using html, css and javascript joy . Love you ❤

  • @krunalchoudhari4153
    @krunalchoudhari4153 4 місяці тому

    I am also over here to learn amazing stuffs from you!

  • @aumajoy2320
    @aumajoy2320 2 роки тому

    superb!

  • @md.hanjala9358
    @md.hanjala9358 2 роки тому +1

    Awesome

  • @langesh.a1153
    @langesh.a1153 2 роки тому +2

    bro i really like this and i watched your ice cream production asynchronous tutorial in freecode camp it is very awsom do like this bro keep it up.

  • @marvelousncube
    @marvelousncube 11 місяців тому +1

    Thanks Brother

  • @kojoagyekumboateng1997
    @kojoagyekumboateng1997 Рік тому

    I like the way you teach

  • @signalyu8903
    @signalyu8903 2 роки тому +1

    Hi, bro. The video is awesome and I'm looking forward to your CSS animation videos.

  • @nirajacharyaa
    @nirajacharyaa 2 роки тому +1

    This is really helpful thank you (red heart)

  • @fasanmichael
    @fasanmichael 2 роки тому +2

    In all you’re a very good teacher. It is easy to follow you even though you’re quite fast. I wish I didn’t get stuck.

    • @tenc6491
      @tenc6491 2 роки тому

      Hi Fasan, I trust that you know of the playback speed button where you can increase or decrease the speed of the video!

  • @maheshOffVlogs
    @maheshOffVlogs 2 роки тому

    Bro way of explaining is awesome Thank u so much & can u make a video on Angular and git tutorial including branches ..etc.. using real time as your way.

  • @Dwarfboysim
    @Dwarfboysim 2 роки тому

    Love your video very easy to follow along, understand and learnt a heap of shortcuts. just one question what do u need to do to make the form actual perform the action to post" it to your server so u can store or process that, ive had a look but cant seem to figure it out. have done other exercises that have additional content in the form line action="/feedback" method="post" but cannot work out how to trigger this with your code

  • @tigistugirma6384
    @tigistugirma6384 2 роки тому

    Hello Joy...First of all, I really appreciate all the efforts you put to make this tutorial as easy as possible...My question to you is how can we make a confirm password validation in javascript with the success icon and danger icon functional? I look forward to your kind response.

  • @learnwithraj23
    @learnwithraj23 9 місяців тому +1

    Please make a 4-5 project based tutorial with html css and javascript where all concepts will cover

  • @Krenil.
    @Krenil. 2 роки тому

    It would be helpful if you Make a video on regex

  • @malayalampositive
    @malayalampositive Рік тому

    please do more videos...

  • @danneytee
    @danneytee 2 роки тому +1

    Can you make a part two to cover the JS part of social log in feature? And also what happen after sign in

  • @meetugrover3716
    @meetugrover3716 Рік тому

    please share some video to use debugger perfectly on javaScript.

  • @pedhead
    @pedhead 2 роки тому +1

    You always explain things so we'll, the way you ask the viewer questions is very engaging. Where did you learn your teaching style?

    • @JoyShaheb
      @JoyShaheb  2 роки тому +3

      Thank you for the well wishes, love and support. I'm glad you loved my tutorials ❤
      I used to be a teacher before The pandemic 😄

  • @theblack6339
    @theblack6339 2 роки тому +4

    Brother you can't imagine how your tutorials helped me thank you boss❤

  • @mathis-meth4229
    @mathis-meth4229 Рік тому

    Great tutorial as always! Big fan from India! what is that cool looking desktop background from anime? please provide link for that!

  • @manojinderparmar2277
    @manojinderparmar2277 2 роки тому

    Dear Joy,
    First of all, Thank you soo much for making this kind of knowledgeable content. You are really a very good teacher. As I recently started to visit your videos and tried to gain a little knowledge from your javascript videos.
    But I have one query regarding this form validation, when I tried to create it, my form "submit addEventListener" didn't work. Please explain why it is not working.
    But instead of :
    form.addEventListener("submit", (e) => {
    e.preventDefault();
    errorMsg[1].innerHTML = "Hello."
    });
    It works with :
    submitBtn.addEventListener("click", ()=> {
    errorMsg[0].innerHTML = "This is mandatory!"
    });

  • @thatgymguru3369
    @thatgymguru3369 Рік тому

    please can you do a full git and github course

  • @user-go8rk5nv9w
    @user-go8rk5nv9w 4 місяці тому

    need a big project from your side plz upload saheb if you can...

  • @mediadigital1460
    @mediadigital1460 Рік тому

    Thank you for a great Tutorial. But one question, how do you then allow the form to Submit. Using preventDefault stops the form from submitting once all fields are filled.

  • @user-gj6mw8ob4y
    @user-gj6mw8ob4y 11 місяців тому

    Project Idea: database for the Form Validation. How can I handle the user info? Thank you my friend!

  • @krishijain2435
    @krishijain2435 Рік тому

    you teach really well !
    but I'm not getting font cdn on font awesome ig they have changed it can you please see

  • @victorstone3720
    @victorstone3720 2 роки тому +1

    I really loved the way you explained everything in detail👍 I've never come across any tutorial that was explained in a such a simple way as this one😍. Thank you so much for this lovely tutorial, looking forward for some more tutorials.
    Also this is just a suggestion if possible since this was just a client side verification, could make a tutorial on server side verification as well? You could call it a part two of this tutorial 😁 it would be of great help to us all. I really loved the way you cleared all my doubts, good luck 👍

    • @JoyShaheb
      @JoyShaheb  2 роки тому

      Sure buddy, thank you for all the love and support 🥺🥺🥺

  • @abubalo
    @abubalo 2 роки тому +2

    Please do javascript multi-step form validation. I can't find any helpful video about it on UA-cam.

  • @HarshSingh-om7ud
    @HarshSingh-om7ud 2 роки тому

    I'm not able to add event listner on VS. What should i do ?

  • @malayalampositive
    @malayalampositive Рік тому

    Subscribed..liked..I couldnt join the link you provided

  • @meetugrover3716
    @meetugrover3716 Рік тому

    hi joy your video help me alot but i am facing 2 issue in my code ....if (email.value == "") is not working i have to write down if (id("email").value ==="") to make it working ..dont know why..
    password is not showing success icon otherwise all is working fine ..

  • @bhaskarreddy.b2818
    @bhaskarreddy.b2818 2 роки тому

    Need full web development courses

  • @js-swift
    @js-swift 2 роки тому +1

    thanks a lot Joy once again for this
    i am waiting your Sass course from beginner to advance
    and
    when you say something and take little time to speak again that's great due to this i am able to retain the things
    most of the people that i saw say fast when comes to teaching due to this i am not able to retain the things in mind
    and it depends student also
    but at the end that's good trick and keep that in future videos :)

    • @JoyShaheb
      @JoyShaheb  2 роки тому +1

      Thank you for all the love and support.
      the sass course is coming. It's gonna be pretty big [1.5 to 2 hours]. Stay tuned ;)

    • @js-swift
      @js-swift 2 роки тому

      @@JoyShaheb thanks great

    • @js-swift
      @js-swift 2 роки тому

      @@JoyShaheb I'll wait

  • @prathaphangodi1310
    @prathaphangodi1310 Рік тому

    why not use regex in validation

  • @JosePerez-qt8cf
    @JosePerez-qt8cf 2 роки тому

    Where is the short video about 4 ways to center things in css that you made 2 or 3 months ago???

  • @prathaphangodi1310
    @prathaphangodi1310 Рік тому

    code source are not avaiable in github unable to download ...............................

  • @nidaaabdullah1246
    @nidaaabdullah1246 Рік тому +1

    if I want to move in anther page when click to submit button ,how can i do that?

  • @NeonLightification
    @NeonLightification 2 роки тому +2

    7:26 When you press Ctrl-S I can't seem to get that link of code to shift down the way yours does.

    • @NeonLightification
      @NeonLightification 2 роки тому +1

      Do you also mind telling us how you manage to get the cursor to reach the end of a line or on a new line whilst you are in the middle of an existing statement

    • @JoyShaheb
      @JoyShaheb  2 роки тому +2

      @@NeonLightification hello sandeep, I use a vs code extension called prettier. This formats my code automatically
      Check my channel. I have a video on VS code plugins.
      Happy coding 😄

    • @NeonLightification
      @NeonLightification 2 роки тому +1

      @@JoyShaheb legend thanks a lot. I've subscribed to your channel. It looks really good.

  • @fasanmichael
    @fasanmichael 2 роки тому

    I got stuck at the form section on JavaScript and I’m angry with myself. Nothing just happens when I invoke the function!

  • @devfagundes
    @devfagundes 2 роки тому

    Hi Joy Shaheb! I have one question please! Its possible to make an email verification in and return an diferente message in browser? I mean, two messages for two errors? Like error 1 "this field cannot be empty" error 2 "this email is not valid"
    Thank you so much

    • @JoyShaheb
      @JoyShaheb  2 роки тому +1

      yes possible, just edit the .innerHTML part

    • @devfagundes
      @devfagundes 2 роки тому

      @@JoyShaheb Ok I will try, thank you

  • @user-rl7xm8pu9z
    @user-rl7xm8pu9z Рік тому

    格局

  • @kristacalleja8008
    @kristacalleja8008 2 роки тому +1

    hi, i posted a question yesterday but somehow it isn't showing up here. I coded along with you, however the success icon isn't overlapping with the error icon, but is going below the input field. What could be wrong? Thanks a lot!

    • @JoyShaheb
      @JoyShaheb  2 роки тому

      Hey, I hope you're doing well.
      I checked your code it's working perfectly fine. Your first comment got removed from UA-cam as UA-cam doesn't allow posting links and stuffs. I got the link from my dashboard.
      If you have any more questions or problems, let me know it here. And thank you for trying the project, I hope you enjoyed it 😄

    • @kristacalleja8008
      @kristacalleja8008 2 роки тому +1

      @@JoyShaheb Thank you for your kind reply. Now I realised why it is appearing correct for you but not for me. I'm accessing it from Firefox, and you must be using Chrome. How does one go about that? Thanks.

    • @JoyShaheb
      @JoyShaheb  2 роки тому

      @@kristacalleja8008 certain properties doesn't work on Firefox , chrome or any specific Web browser. I highly suggest you to use "caniuse" website to check if that property has support on the browser or not. And yeah, a quick fix to this browser compatibility issue is webkits.

    • @kristacalleja8008
      @kristacalleja8008 2 роки тому

      @@JoyShaheb Thank you so much for your reply. This issue of webkits is a big question mark for me. How does a professional front-end developer actually go about preparing CSS for all the possible browsers out there.

  • @praveengopu9325
    @praveengopu9325 2 роки тому +1

    Can you make a calculator app using js??

    • @JoyShaheb
      @JoyShaheb  2 роки тому +2

      Sure. Stay tuned 😉

  • @mdyarafat581
    @mdyarafat581 2 роки тому

    Hey are you bengali?

  • @upulgamaarachchi7911
    @upulgamaarachchi7911 2 роки тому

    my js code didn't work ...?

    • @JoyShaheb
      @JoyShaheb  2 роки тому +1

      Link the javascript file inside html

    • @upulgamaarachchi7911
      @upulgamaarachchi7911 2 роки тому +1

      @@JoyShaheb thanks, bro your quick reply. I sort it out.

  • @thkhan
    @thkhan 2 роки тому

    You follow which tutorial?? :p

    • @JoyShaheb
      @JoyShaheb  2 роки тому +1

      Dev Ed, freecodecamp, coder coder, florin pop, coursetro, udemy, Web dev simplified, traversy media, css tricks, etc.

  • @sandeeprawatz
    @sandeeprawatz 2 роки тому +3

    Joy Shaheb
    At 3:10 - no beard
    At 3:18 - with beard 🧔.
    ... 🤔🤔

  • @sakibalmahmud8841
    @sakibalmahmud8841 Рік тому

    don't use video face. .it's hamper concentration

  • @siddarthhosmath6097
    @siddarthhosmath6097 Рік тому +1

    "over here" is so irritating , rest is good

  • @GabuSingha
    @GabuSingha 2 роки тому

    everything is great! except the Accent of a Bengali -- why copy the "Someone else's Accent", You are a Bengali. Be Proud of it! and and stay with your roots! even on the accent.