JavaScript Password Generator

  Рет қаралды 132,635

Traversy Media

Traversy Media

Күн бұрын

Пікірлер: 255
@Classick
@Classick 5 жыл бұрын
As someone who is in the early stages of learning JS and feels overwhelmed sometimes with all the stuff there is to learn, I can't begin to explain how helpful this was. Going through a project step by step with each step explained in a logical fashion is so great. Even though I didn't create this on my own, I still feel like i learned a lot.
@phatcap45
@phatcap45 2 жыл бұрын
feel exactly the same way
@Knards
@Knards 5 жыл бұрын
Hey, dont worry about length. Your tutorials are well worth the time
@liquidtags
@liquidtags 5 жыл бұрын
I second this. This is Netflix level content to me.
@Knards
@Knards 5 жыл бұрын
@@liquidtags Never watched netflix, but I sure watch his tutorials
@duplicpapers8753
@duplicpapers8753 4 жыл бұрын
@@Knards e
@kaynesheenan
@kaynesheenan 3 жыл бұрын
length.value = good
@abdnahid
@abdnahid 5 жыл бұрын
Nobody's complaining about video length. If you explain like this, nobody's gonna complain. Thanks!
@CourageousCreatives
@CourageousCreatives 4 жыл бұрын
I'm in a coding bootcamp and this was SOOO helpful for our password generate homework. I followed along at .75 speed and was so glad you explained it all so thoroughly! Excellent!
@narendrajoshi5460
@narendrajoshi5460 5 жыл бұрын
Thanks a ton Brad! I got a job as software Dev a month back because of your KZbin and udemy courses.l still never miss a video of yours.
@ademineshat
@ademineshat 5 жыл бұрын
Thank you Traversy! I've been watching almost all of your Videos as well the Udemy courses! Unlike the 12 and 13 years old I saw on the comments, I'm 35 and struggling to land that first job as a developer!
@kennethkipchumba2532
@kennethkipchumba2532 5 жыл бұрын
Keep coding. Never give up. You will get that job.
@Ali-lm7uw
@Ali-lm7uw 5 жыл бұрын
I am 32 and learning from last year on and off. I hope all of achieve what we have set out to do.
@BlackRoseSempai
@BlackRoseSempai 5 жыл бұрын
I got my first developer job at 38!
@seanconnelly2002
@seanconnelly2002 5 жыл бұрын
51 and just getting started! YIPEEEE!
@TrobadourXP
@TrobadourXP 4 жыл бұрын
@@BlackRoseSempai Did is pay off? I am making 55K as a teacher now but I am wanting to switch to a developer and make the same at minimum or higher.
@katiepatterson2313
@katiepatterson2313 3 жыл бұрын
I am currently taking a full stack bootcamp and am in the beginning stages of learning JavaScript. Our first assignment was to create a password generator. Your video did an amazing job of explaining the "why" of the code and I really appreciate all the detail you went into. I am saving this to reference for future projects. Subscribing for more!!!
@monalkumar1289
@monalkumar1289 5 жыл бұрын
Those who are watching this video all are amazing. Thanks Traversy media I have learnt many things from your videos...... happy coding!
@sadhanasaha9400
@sadhanasaha9400 5 жыл бұрын
Maaan the timing is so perfect I just got done with my javascript basics and a few projects....I was looking for some more project ideas actually....thanx man great video
@amnaatarapper
@amnaatarapper 5 жыл бұрын
Go yo freecodecamp for projects ideas you don't have to take the courses to access the projets
@Vack91
@Vack91 Жыл бұрын
Thanks a lot! I learned a great deal doing this. If anyone is interested, I also added a shuffler so that the character types weren't in order, just at the end, when you create the finalPassword constant: const finalPassword = generatedPassword.split('').sort(function(){return 0.5-Math.random()}).join('');
@koodauskanava9096
@koodauskanava9096 5 жыл бұрын
Better implementation would be that you randomly select your enabled functions with in the length loop. It's not very good that the function calls are in some fixed order. If you select length 1 you always get a lowercase char.
@HowardBuksbaum
@HowardBuksbaum 5 жыл бұрын
I was just going to say that. I like a random generator for each character too, but great beginner tutorial. As always, great job Brad.
@TraversyMedia
@TraversyMedia 5 жыл бұрын
That's true, thanks for the input. Should add a few tweaks to make the generation random
@ahmad-murery
@ahmad-murery 5 жыл бұрын
Yes, but I think you may then drop one of the requirements you checked (by randomly picking an enabled function), very rare although, Maybe shuffling the generated password before slicing it would help
@koodauskanava9096
@koodauskanava9096 5 жыл бұрын
@@ahmad-murery No, you pick functions randomly that the end user has selected, so that's why those are enabled.
@ahmad-murery
@ahmad-murery 5 жыл бұрын
​@@koodauskanava9096 Yes understood, what I meant is if for example you select 3 options and then the random function keeps returning option 1 and 3 all the time (this is the rare part I mentioned earlier), this way option 2 will not appear although you checked it, No doubt that there is a very tiny chance for this to happen with the only 4 options we have to pick from Thanks & Regards
@mattmaliaros6236
@mattmaliaros6236 5 жыл бұрын
When I started the video, I had a different approach that would have taken much longer to accomplish. It's always good to see how others accomplish their tasks. Thanks for the help, Brad.
@edanrene
@edanrene 5 жыл бұрын
Thank you for this tutorial. I just started at a boot camp and this tut helped me really solidify my understanding of JavaScript and things such as arrays, and functions! Thanks!!
@ThiagoVieira91
@ThiagoVieira91 5 жыл бұрын
Brad I don't even have words to say how much I learned in this tutorial. And now I have even more doubts; more opportunities to learn. Bring more of these. Thanks a LOT! Thank you Florin! 🙏🏼
@alicendeh8048
@alicendeh8048 5 жыл бұрын
I was working on your react crash course when I received this notification..thank you so much Brad for all your awesome videos👏🏾👏🏾
@rafatulalam8677
@rafatulalam8677 5 жыл бұрын
Just what I needed. I have just finished learning the beginner to intermediate level basics of JS and was looking forward to making a few frontend JS projects
@BackWoodsWisco
@BackWoodsWisco 5 жыл бұрын
Great project! And I know this is more about the javascript concepts than password generation, but I have one minor criticism of the password generation algorithm. As it is, the algorithm always generates passwords that follow the pattern lowercase UPPERCASE number symbol. This limits the pool of possible candidate passwords, as you will never see a pattern of, say, UPPERCASE UPPERCASE or NUMBER NUMBER. Therefore since you are drawing from a smaller pool of possible passwords in theory that is a slight deficiency in the "randomness" achieved by the algorithm. Anyway, still a very great tutorial! Thanks Brad!
@michaelrobinson5981
@michaelrobinson5981 5 жыл бұрын
Exactly what I was going to say!
@mykalimba
@mykalimba 5 жыл бұрын
Yeah, that's one of my criticisms. Plus, it's messy the code has to "clean up" passwords that are too long. There's definitely a cleaner way to do this that gives better "randomness" to the generated password.
@Max-br5wo
@Max-br5wo 5 жыл бұрын
@@mykalimba How about this? for (let i = 0; i
@stocktrade9655
@stocktrade9655 5 жыл бұрын
keyword "beginners" . For me is just right
@-zelda-
@-zelda- 4 жыл бұрын
Just shuffle the password right at the end of the process return generatedPassword.slice(0, length) .split('').sort(() => Math.random() - 0.5) .join(''); The fixes that other people suggest only cause other unnecessary problems
@cvctutorial1858
@cvctutorial1858 5 жыл бұрын
I strictly code in c++, but watch these videos anyway because of the amazing content creators great personality
@yschin5663
@yschin5663 5 жыл бұрын
Thanks Traversy Media, this is great. But I have one tip to share to everyone. For console log variable, wrap the variable inside curly braces like console.log({helloWorld}). Will let us easy to know which variable is logging.
@jordanuky
@jordanuky 5 жыл бұрын
Awesome tutorial! And don't apologize for the length of it. I'm sure I speak for us visual learners out there that are tremendously benefited by the frequent consoles. Also, it's a great habit to push onto developers of all skill levels. So much more time can be devoted to the logic of the code itself rather than having to trace and locate errors that could have been easily avoided if found early on.
@anuragsharma966
@anuragsharma966 3 жыл бұрын
29:17 For any getting confued when length is 1 it is returning 4 characters coz typeCount is running 4 times because of the forEach method not coz we are incrementing i by four time
@MrPwang08
@MrPwang08 5 жыл бұрын
The tutorials are better when you add more detail in your explanation. The time of the video doesn't matter because you are learning it faster when you explain it and show the console logs along the process of the tutorial. I definitely prefer this tutorial over some that have less explanations because you have a better understanding when the tutorial is done. Thanks.
@vain_za
@vain_za 5 жыл бұрын
It's so weird not hearing "This video is sponsored by DevMountain".
@alicendeh8048
@alicendeh8048 5 жыл бұрын
So true😂😂
@TraversyMedia
@TraversyMedia 5 жыл бұрын
lol, We put a pause on sponsorship for now
@Ath9394
@Ath9394 5 жыл бұрын
Perfecto
@ProgrammingwithPeter
@ProgrammingwithPeter 5 жыл бұрын
This is insane and wish it was uploaded a few years back, i worked a lot to do the same thing on a project when i was a beginner! :(
@kennethkipchumba2532
@kennethkipchumba2532 5 жыл бұрын
Big ups Brad! I just finished following the tutorial and everything works well. So glad today!
@sethfeingold
@sethfeingold 5 жыл бұрын
Really great tutorial! Thanks so much - I'll definitely have to check out the rest of these projects from Florin!
@amkj96
@amkj96 5 жыл бұрын
// Suggestion: copying the generated password without creating a new element: resultEl.select(); document.execCommand('copy'); resultEl.blur(); Love your tutorials, btw!
@KuldeepSolankiYT
@KuldeepSolankiYT 5 жыл бұрын
I just decided to make a random password generator to brush up my skills! And damn your video came out! Thanks for the quality content! Keep it up!
@amanlearnscode
@amanlearnscode 5 жыл бұрын
Very basic but also pure, beauty and elegant :D Nice video sir, it brings me "back to square one" my initial love, JavaScript!
@MULTICODE
@MULTICODE 5 жыл бұрын
Gonna take a look at it later. Thanks traversy for your hard work to teach people through your Channel all over the world
@bobbynicholson5329
@bobbynicholson5329 5 жыл бұрын
Don't worry about it taking longer. That is a good thing. I know others have made comments about you flying through things. This will satisfy them, hopefully. :)
@gosnooky
@gosnooky 5 жыл бұрын
I'd personally use a while loop and randomly choose one of the generator functions, so the ordering is random as well.
@neenus
@neenus 4 жыл бұрын
Hi there ... I'm trying to do that to randomize the ordering as well but I couldn't figure it out can you share how you did it please!
@Max-nm8ct
@Max-nm8ct 3 жыл бұрын
loops are outdated. higher order functions FTW
@mohammadshweiki1511
@mohammadshweiki1511 5 жыл бұрын
Hello Brad, thank you again for creating such great content, it's resourceful. Btw, on your own website, your logo overlays with the navigation bar, I think you didn't notice considering all the great effort you do to give us such amazing content and resources. Cheers from Dubai.
@tomershechner
@tomershechner 5 жыл бұрын
Great tutorial Brad! Just to add up, to get a random number you could've just do: Math.floor(Math.random() * (max - min + 1) + min); No need to mess up with ASCII codes
@mykalimba
@mykalimba 5 жыл бұрын
Sure this code will work, but the values you plug in for "min" and "max" would be the ASCII character values, no? I don't see how this works without introducing ASCII values. 🤷‍♂️
@tomershechner
@tomershechner 5 жыл бұрын
@@mykalimba no.. they'll be 1, 10
@mykalimba
@mykalimba 5 жыл бұрын
@@tomershechner He wants values 0 through 9, so you'd plug in 0 for min and 9 for max, and when you simplify your equation, you end up with what he already has. Then, if you decide not to add the ASCII value 48, you're relying on under-the-covers Javascript functionality to convert your number to a string. While that's neat and convenient, it's considerably less efficient than doing the ASCII math instead.
@kevinzhang8974
@kevinzhang8974 5 жыл бұрын
Thanks Brad! very handy and useful. I coded along this morning for morning brain exercise.
@agustina2621
@agustina2621 5 жыл бұрын
Thanks for explaining it step by step and taking the programming logic into account! You're awesome, Brad, thank you!!!
@crysist13
@crysist13 5 жыл бұрын
Would be better to scramble the generated string before slicing it to avoid lower, upper, number, symbol pattern in the final password and in case the password is 4 or less there would only be one of each.
@chiragjain291
@chiragjain291 4 жыл бұрын
Another approach to generate the Password would be to have 4 variables [Upper,Lower,Digits,Special] each storing all possible characters for their respective type and a complete String which initially would have all the characters in the above four variables. Now whenever an item using the checkbox is added or removed at the same time we would add / remove that item from the Complete string by using the initial four variables [str.replace(item,' ')] and then just generate a random number from the complete string length and keep appending. This way the seq of upper,lower,digits,special is also randomized and probably this would be a cleaner and shorter approach.
@capedcrusader5282
@capedcrusader5282 5 жыл бұрын
Thanks sir very much for this video. I will start my new project of Password Generator Website by taking reference from your video. Thanks very much. -Romit
@marcoio8742
@marcoio8742 3 жыл бұрын
I think this solution is pretty clever to a certain point. The problem with using the alphabet is that each character is not uniformly represented, We have 26 letters, but just 10 digits. This means that letters are more likely to appear than numbers and if you had a short password you might not get them at all. This solution is clever because it gives to each method 1/4th or 1/3rd basically an equal chance of been picked. However, the last part where you systematically add each function is not optimised in my opinion because now the pattern becomes predictable. Instead, it would be better to again randomly select one of the active functions knowing they will be equally represented. With 4 options, optimally, the password will have 1/4th of each (lower, upper, number and symbols). My opinion of course.
@misgator
@misgator 2 жыл бұрын
Thank you so much man! , I understood how it works as someone who is in the early stages of JS. I just need more practice over the commands.
@sermetpekin2829
@sermetpekin2829 5 жыл бұрын
Awesome tutorials as usual. Thanks Brad. I would like to suggest one small tweak. What about adding an event listener for any change in checks or change of input of length so that password would be calculated again without pushing the generate button.
@timwilson2009
@timwilson2009 5 жыл бұрын
Great Job! Like that you use concole log so much. Thanks man
@RenoBasque
@RenoBasque 4 жыл бұрын
I keep on learning! NO PAIN NO GAIN! Yesssss...
@jeromesnail
@jeromesnail 5 жыл бұрын
That's the kind of project I want to try to do myself before even watching the video and then compare our solutions :)
@petecapecod
@petecapecod 5 жыл бұрын
Another great video Brad 💯 cool solution, and as always easy to follow and very informative.
@furqanamjad90
@furqanamjad90 5 жыл бұрын
I see Traversy notification I click
@MULTICODE
@MULTICODE 5 жыл бұрын
Video suggestions, how to fight against laziness and fear as a web developer😅
@TraversyMedia
@TraversyMedia 5 жыл бұрын
Ill add it to my list
@MULTICODE
@MULTICODE 5 жыл бұрын
@@TraversyMedia thanks sir
@jdratlif
@jdratlif 5 жыл бұрын
An actual use for unary plus. Nice!
@umarjaved3584
@umarjaved3584 5 жыл бұрын
I learned alot this way please keep making small projects to learn more and more and faster Thank You #Traversy Media
@rolando8966
@rolando8966 Жыл бұрын
Awesome! Great tutorial! Especially the explanation
@stocktrade9655
@stocktrade9655 5 жыл бұрын
Don't make them shorter ! Please . The level of explanation it's just right . I don't see any reason why u feel so "pressed" to make them shorter . and THANK YOU 👍
@AnilKumar-bh4vt
@AnilKumar-bh4vt 5 жыл бұрын
I don't like front end cause i think i am not creative ..and sometimes the css doesn't work the way i think it should....But your videos help a lot..Thank you
@Hotatoes
@Hotatoes 5 жыл бұрын
Well you are awesome day after day you're getting more awesome. Thanx man i get anew tip in every single video bro thanx
@funnyanimalworld7579
@funnyanimalworld7579 3 жыл бұрын
nice app. i was making generator just for fun and i used a string of symbols and looped though them but this way looks alot better and of course much more complete
@_nightowl263
@_nightowl263 2 жыл бұрын
So even though the code is executed linearly, the functions can sit at the bottom? You'd think they'd need to be at the top before they're used / passed into anything, right?
@albanustemu7396
@albanustemu7396 Жыл бұрын
Its simple task done in complicated way! but it`s great i learn a lot of technique
@byedwardleung
@byedwardleung 4 жыл бұрын
Thank YOU Brad! I would love to see more of these JS focused type of videos in the near future :) LIKED / SUBBED :)
@nangzdk
@nangzdk 5 жыл бұрын
Great video! One thing I noticed is that your password characters are always in the same format - the order of checked char types. I think it would have been better to grab a random one, loop over by 1 and skip the slicing altogether. Should make a more secure password too!
@qqrno
@qqrno 5 жыл бұрын
Great video, step by step well explained. Thanks!
@THEOTISBEASLEY
@THEOTISBEASLEY 5 жыл бұрын
Quick question: I understand how to do everything u did in this video and could probably build a similar application myself from scratch, but it would take me several hours at least on my own without references. To be job ready, is this something u should be able to whip up in no time on your own? In other words, being able to build an app like this and understand all of the concepts, where would that place somebody on the JS journey? close to being job/internship ready? Thanks for all that u do!
@BalakinGG
@BalakinGG 5 жыл бұрын
If you can build it in a several hours by yourself, then you are ready to be a junior dev. You will learn how to do stuff faster with experience. Like if you build something similar before (1-2-3 times), on the next try it will be much faster, because you basically did the same already and you know that you need to do and how you would do it.
@NoBeatsBro
@NoBeatsBro 5 жыл бұрын
90% of coding is googling how to do something
@THEOTISBEASLEY
@THEOTISBEASLEY 5 жыл бұрын
@@BalakinGG That makes sense that the more you do it the faster and quicker u become at recognizing patterns. But I feel like I would slow down a team A LOT if I became a jr dev. Do teams understand that people early in their jobs take much longer to do seemingly simple tasks like build something like this or do they except you to code something like this up really fast?
@BalakinGG
@BalakinGG 5 жыл бұрын
@@THEOTISBEASLEY Juniour dev job is literally to became a middle dev. You will get easy tasks. More experienced devs (seniors) will check them on code review (for example). So team does not expect that junior dev is going to be a pro star. Becase in that case it woudn't be a junior dev. Ofc, there are some toxic teams that can exploit you. Just try to avoid them.
@joel9909
@joel9909 4 жыл бұрын
YOU ARE THE BEST!!!!!!!!!! I totally enjoyed this and learnt a lot. Thanks, Brad Is it cool to add some more stunning stuff to this, and make it our office's password gen :)?
@shrirambalaji2915
@shrirambalaji2915 2 жыл бұрын
Thank you so Much I almost did and I was struck in the middle you helped me out
@dianasvideos123
@dianasvideos123 5 жыл бұрын
Thank you for this tutorial, Brad!!! I really appreciate the explanations! More please!!! :D
5 жыл бұрын
Amazing tutorial, I liked it a lot and also I learned a lot
@quocanhbach6696
@quocanhbach6696 4 жыл бұрын
I think there's a small bug in here. For example, when you check uppercase, number and symbol while choosing lenght = 2, it will lead to the password generated which does not contain the symbol. So, maybe we should do something like not allow the app run if typesCount < length. Thanks for the tutorial
@XbattlepopeX
@XbattlepopeX 5 жыл бұрын
Yeah couldn't figure out why loop looked weird till realized it wasn't really random. For those interested in random you can do something like this. for (let i = 0; i < length; i ++) { const funcName = Object.keys(typesArr[Math.floor(Math.random() * typesArr.length)])[0]; generatedPassword += randomFunc[funcName](); }
@spiritualcontent763
@spiritualcontent763 2 жыл бұрын
why we are addig [0] at the last ?
@dancehalllyrics1303
@dancehalllyrics1303 5 жыл бұрын
Here in Denmark where I live, it’s a big story in the news medias these days that we Danes aren’t good enough at creating new passwords, and that we therefore reuse the same one or two passwords throughout all sites we have an account to. So this project Can really help me make some really great and strong passwords that I can keep and use. But it made me wonder if you, Brad, actually watch the news on Danish television? ;)
@love.ly.
@love.ly. 5 жыл бұрын
It's becoming more and more of a problem, everywhere in the world
@MartinMartinez-nf5sk
@MartinMartinez-nf5sk 3 жыл бұрын
I am hoping someone can help me understand why I am getting an error with the eventlisteners. Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') Seems the elemtns are empty and are reading as null. Not sure how to fix that.
@stuntmen_memes
@stuntmen_memes 2 жыл бұрын
Same
@silentscopez1364
@silentscopez1364 Жыл бұрын
@@stuntmen_memes same problem.
@GabrielRFE
@GabrielRFE 3 жыл бұрын
It was a good tutorial, and I learned a lot, but I consider that following the same pattern reduces the number of combinations, is there an optimal way of doing it, totally random?
@3dmango
@3dmango 4 жыл бұрын
Hi, thank you for the great explanation. I wanna ask you how to limit the number of characters the user allowed to generate. Min 8 and max 128 for example. Thank you!
@StefanRows
@StefanRows 3 жыл бұрын
Great video Brad!
@anirbandas12
@anirbandas12 5 жыл бұрын
Already made this in angular + you can save it & fetch it too!
@bafana_mhlamvu
@bafana_mhlamvu 5 жыл бұрын
Is this possible with regular expressions? Because that's what I thought you'd use initially...
@gosnooky
@gosnooky 5 жыл бұрын
Why? Regex is an analyser not a generator.
@mounir101
@mounir101 5 жыл бұрын
Extremely good one! Thanks a lot.
@FirdavsiGameDev
@FirdavsiGameDev 5 жыл бұрын
Great tutorial, Brad. Thank you!
@rashidchowdhury4159
@rashidchowdhury4159 5 жыл бұрын
Thank you for this video. I have a few questions though. 1. In the .filter, what if you want to filter out values with true? Is there a different command? 2. When generating a random password, the location of the characters also needs to be random. In the video, there is a sequence to it, lower upper number symbol... Do I put Math.floor(Math.random() * 4) before it's inserted into the array? (I don't know if what I said make any sense.)
@ourielperez1646
@ourielperez1646 3 жыл бұрын
Wonderful! Thank you! And Thanks Florin! :)
@curtiskil
@curtiskil 3 жыл бұрын
So is the .filter method filtering out the items that are false because Object.values(item)[0] represents true and item[1] represents false?
@lifeisbeautifu1
@lifeisbeautifu1 2 жыл бұрын
Since document.execCommand() function is deprecated you can replace the whole clipboard function body with one line of code using Clipboard API: navigator.clipboard .writeText(result.innerHTML) .then(() => { console.log('copied'); }) .catch(() => { console.log('not copied'); });
@dean6046
@dean6046 5 жыл бұрын
Thank you Brad! You're the freaking man
@kostas71374
@kostas71374 5 жыл бұрын
Is it worth to become a web developer? I mean i like to code but it seems hard sometimes and also you have these website builders and these easy solutions that can replace a developer. I had done your js course and your nodejs course completed the projects and also doing some other projects but still i feel like i have to learn a ton of stuff
@aldocaamal7740
@aldocaamal7740 5 жыл бұрын
The truth?, I worked on projects with teams of few people as a freelancer, and you have to work your ass off, going bananas doing research, work on top of a strangers code; it's hard but if you know what you are doing you will be fine; there are still people that want things built from scratch so dont worry about those shit site builders; you could make good money depending on where you live, if there is high demand on web developers; and a little advice, don't just watch Brads videos, there are a ton of channels that deliver great stuff that Brad never touches, outside is the answer if you feel that you are not well prepared and focus on one frontend and one backend if you want "Full Stack" (react/angular/vue paired with node/python/php for example).
@didiDanaila
@didiDanaila 5 жыл бұрын
You are my teacher 😜 What about a flutter course?
@jatinraj4974
@jatinraj4974 5 жыл бұрын
Sir do more like this video , love it😘😘
@prakashgunjari1996
@prakashgunjari1996 4 жыл бұрын
Hey Brad I am not able to find anywhere the Object.values[0] its the '[0]' part I am not able to understand
@ilaydagolbas7855
@ilaydagolbas7855 Жыл бұрын
Solution for not being able to have the same character types side by side (for example in the main code you can have A&vK but it is not possible to have AB&0 since A and B are both uppercase letters) --PREVIOUS VERSION-- for(let i=0; i
@ayoadejoshua1635
@ayoadejoshua1635 5 жыл бұрын
Hello sir...thanks for this tutorial...and what if i told you that you're the one who inspired me with your tutorials..i had planned to give up on coding but your tutorial showed me that I can still make it...but would appreciate of you can do tutorials on sass and asp.net Love you!
@ramyniranjan5751
@ramyniranjan5751 5 жыл бұрын
awesome brad, well explained
@NotesNNotes
@NotesNNotes 3 жыл бұрын
I built it the jankiest way possible, but I intend to update it using everything I learned here.
@FrontendDeveloperKumar
@FrontendDeveloperKumar 5 жыл бұрын
Hi Traversy, Thanks for the tutorial, I am a frontend developer. I have a question regarding the copy function. Is it working with firefox and edge too? I have tried some similar code but most of them work with chrome and firefox. But I am not able to find anything which one works with all of them. Please let me know if you have any suggestions or reference. Thanks.
@viktorparify
@viktorparify 5 жыл бұрын
www.w3schools.com/howto/howto_js_copy_clipboard.asp
@FrontendDeveloperKumar
@FrontendDeveloperKumar 5 жыл бұрын
@@viktorparify thanks sir for the solution, I'll try this one too.
@devnextbd
@devnextbd 5 жыл бұрын
thank you sir....very helpful your tutorial.......
@nomagix
@nomagix 2 жыл бұрын
Respect, boss! PS. The document.execCommand method is deprecated. Use navigator.clipboard.writeText (returns a Promise) instead.
@silentscopez1364
@silentscopez1364 Жыл бұрын
How do i fix the error - Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')? Im typing the code exactly as his but the value isnt being stored.
@iamtheboneofmysword728
@iamtheboneofmysword728 2 жыл бұрын
Ty for explaining everything :)
@fayojixe9925
@fayojixe9925 4 жыл бұрын
What program are you using to type the codes in?
@silencesir
@silencesir 4 жыл бұрын
The order of characters is not random: 2 letters + 1 number + 1 symbol [repeat] first character always lowercase letter...
@soad2609
@soad2609 5 жыл бұрын
Missing 'DevMountain' sponsorship.
@newabyuser
@newabyuser 5 жыл бұрын
He is back
@Ada-zg2qb
@Ada-zg2qb 5 жыл бұрын
Can you make a video about your opinion on whiteboard interviews for tech companies?
@razin275
@razin275 5 жыл бұрын
Hey brad how much you get per sponsorship at least??
Animated Counter With JavaScript (HTML, CSS)
18:15
Traversy Media
Рет қаралды 156 М.
JavaScript Higher Order Functions & Arrays
34:56
Traversy Media
Рет қаралды 991 М.
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
Build a JavaScript random password generator 🔑
12:05
Bro Code
Рет қаралды 22 М.
Build A Password Generator With JavaScript - Tutorial
27:53
Web Dev Simplified
Рет қаралды 67 М.
JavaScript OOP Crash Course (ES5 & ES6)
40:21
Traversy Media
Рет қаралды 595 М.
Documenting Your JavaScript | JSDoc Crash Course
36:32
Traversy Media
Рет қаралды 134 М.
Best of CES 2025
14:50
The Verge
Рет қаралды 398 М.
Axios Crash Course | HTTP Library
42:20
Traversy Media
Рет қаралды 374 М.
Random Password Generator with JavaScript
11:15
Mystery Code
Рет қаралды 16 М.
Rock Paper Scissors Game - UI & JavaScript
47:03
Traversy Media
Рет қаралды 66 М.
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН