Vanilla Javascript Text Animation Tutorial

  Рет қаралды 187,914

developedbyed

developedbyed

Күн бұрын

Пікірлер: 315
@flannelbeard4621
@flannelbeard4621 4 жыл бұрын
No joke, great tutorial, was just trying to figure this out last month! 👍 It's great to hear you talk the code out, like "this does this and because this is a this it needs a this". Shows me how to think about it next time!
@adityaray9415
@adityaray9415 4 жыл бұрын
Thanks For Your Support and Education...We Really Appreciate a Teacher like You.. Happy New Year
@bruce7012
@bruce7012 4 жыл бұрын
Happy new year my gorgeous teacher on the internet
@mikethegamedev
@mikethegamedev 3 жыл бұрын
Hello im from 2021
@bioheater
@bioheater 3 жыл бұрын
For everyone who's trying to seperate the words from each other: just insert '&nbsp' (without qotation marks) wherever you want the space to be in your html document.
@someguy6076
@someguy6076 Жыл бұрын
Thanks for that !! What I don't understand is why the spaces were showing for me early in the tutorial, but then they disappeared for the final product. Even in Ed's example at the end, sometimes the spaces are displaying, but then they are gone in the next cut.
@fonncatalina6464
@fonncatalina6464 4 жыл бұрын
I research on w3school and found a short way to write the setInterval code: let char = 0; let timer = setInterval(onTick, 50); function onTick(){ const span = text.querySelectorAll('span') [char]; if (char === splitText.length){ clearInterval(timer) }else{ char++ span.classList.add('fade'); } } I am noob and new to JS but I tried this , it works!
@SteeveHoward
@SteeveHoward 3 жыл бұрын
thaaaaaaanks !!!!! you great !
@CosminSerbanDesign
@CosminSerbanDesign 4 жыл бұрын
You've killed it in 2019, see you in 2020! Happy New Year man!
@zakariyamohamed6388
@zakariyamohamed6388 4 жыл бұрын
Time Flies we are close end of 2020.
@ijokerwalker
@ijokerwalker 4 жыл бұрын
I love the way you said : Who need that?
@ferdousnishan7652
@ferdousnishan7652 4 жыл бұрын
congrats on 500k sub
@adrbroadcast
@adrbroadcast 4 жыл бұрын
Hi Ed! This is simply amazing. The way you create these front-end lessons with a practical approach is really inspiring. Keep sharing, my friend!
@minstreet_studio6265
@minstreet_studio6265 4 жыл бұрын
I don't know if you gonna see this comment, i only wanna thank you for teaching me Coding i was blank but with you i have now some knowledge........May God give you more years so we can learn more from the tutor.........Happy New Year ED...
@_tanzil_
@_tanzil_ 2 жыл бұрын
I never get bored watching your videos 😊❤️
@LocdnessMomster
@LocdnessMomster 3 жыл бұрын
You are hilarious; I love when teachers are vibrant.
@biswajitsaha7862
@biswajitsaha7862 4 жыл бұрын
Good tutorial Ed, at 11:40 adding display: inline-block; removes the space between two word.
@Accou25
@Accou25 4 жыл бұрын
I came up with a quick fix of using min-width on inline-block'ed span.
@biswajitsaha7862
@biswajitsaha7862 4 жыл бұрын
Yes that is very good, but in case we change the font size then maybe we have to change again the min width, also all letters have no same width unless the font is a mono space font. I think more universal approach would be converting the the space character to the HTML entity   using javascript. char = (char === " ") ? " " : char;
@alimertc
@alimertc 4 жыл бұрын
Fix => if (textSplitted[i] === " ") { text.innerHTML += "" + "&nbsp" + ""; continue; }
@alimertc
@alimertc 4 жыл бұрын
@@Nimgimli ops, didn't see yours
@mhasancoder
@mhasancoder 4 жыл бұрын
@@Nimgimli Thanks, it works !
@vanrajrathod08
@vanrajrathod08 Жыл бұрын
I would like to donate 1000 Likes for this tiny but quite creative project. That's the knowledge in our soul that how we use javaScript in creative way. Thank you Ed.
@ianrelosa2198
@ianrelosa2198 4 жыл бұрын
I love how enthusiastic you are. Thanks man great tuts.
@dharmang
@dharmang 4 жыл бұрын
Damn i had known html for years but i only typed in the tags and was boring when i first tried using it. Now i got to learn css and javascript. BOOO! 🔥 a vast new world of web development has been opened up for me... Thank you so much for making this kind of videos and please keep it coming (especially would appreciate if its tagged with javascript based content). :D
@kellyc4866
@kellyc4866 4 жыл бұрын
When it comes to your videos, I usually click the "like" button first before watching. :D
@DavronFrontedDeveloper-
@DavronFrontedDeveloper- 10 ай бұрын
Thank you bro i will do this it amazing bro : )
@ladyafize5689
@ladyafize5689 4 жыл бұрын
How can you be so funny and productive at the same time ? 😅😅😅😅😅 Legendary man hahaha
@curtism7302
@curtism7302 4 жыл бұрын
Your ending was great....
@Stoney_Eagle
@Stoney_Eagle 4 жыл бұрын
This is something on my todo list so thank you for this. I wish you a great 2020!
@muhd.aidilsyazwanhamdan6815
@muhd.aidilsyazwanhamdan6815 4 жыл бұрын
6:09 - Since splitText is an array, you can also use splitText.forEach((letter, index) => { // some actions });
@milleniummoses
@milleniummoses 4 жыл бұрын
I was thinking about that too. How would that look with the "forEach()"?
@guddetiajaymanikanta
@guddetiajaymanikanta 4 жыл бұрын
With use of inline-block..The space has been lost between the names..!!! Very very good content..!! Lots of love from india..!! 😍😍😍😍
@patricia7149
@patricia7149 3 жыл бұрын
"The knowledge in our soul. What?" Hilarious!
@aprodan5245
@aprodan5245 4 жыл бұрын
I missheard tech channel to pet channel. I got so excited..
@dummyaccount6902
@dummyaccount6902 4 жыл бұрын
Happy holidays Ed! Ty for all of your tuts! 🎉🎉
@FlorinPop
@FlorinPop 4 жыл бұрын
Happy New Year our gorgeous friend!! 🤩 See you in 2020!
@ademottoman962
@ademottoman962 4 жыл бұрын
thanks for making more javascript tutorials
@robertobaez2053
@robertobaez2053 3 жыл бұрын
Amazingly helpful video! This was well worth 14 minutes; the explanations were brief, but thorough and the main example was easy to follow. Hope to see more from you soon!
@yassinemaataoui5672
@yassinemaataoui5672 3 жыл бұрын
10:06 " Compiler error : an expecting ; is missing x) ", thank you for the explanation you are the best
@空白-o9q5z
@空白-o9q5z 4 жыл бұрын
いつも日本から観てます。 thank you!!
@besmabensadoune7966
@besmabensadoune7966 4 жыл бұрын
This is AMAZING !! Thank you so much for the great fun content ❤️
@farlight6044
@farlight6044 4 жыл бұрын
Great video as always! Thanks, and happy new year!
@letsfilipino
@letsfilipino 4 жыл бұрын
Happy New Year Ed! Keep up the good work.
@Armins007
@Armins007 4 жыл бұрын
I'm learning to code and the same time learning English with you haha Gracias por tus clases Thank you for everything Happy New Year
@balasubramaniam5516
@balasubramaniam5516 4 жыл бұрын
YES I DID WATCH YOUR COURSE YES I DID BUY YOUR TUTORIAL AND YES IT IS AWESOME. ZHANK you. Happy new year!!!!! We are real tech. Get this thing going my man!
@bradyward5741
@bradyward5741 4 жыл бұрын
That was gorgeous :3
@satya4866
@satya4866 4 жыл бұрын
Awesome video... When it comes to css we need to constantly watch and practice and keep these projects in shelf
@devlab_academy
@devlab_academy 4 жыл бұрын
best notification...
@josephwong2832
@josephwong2832 4 жыл бұрын
nice short practical tutorial ed my georgous friend
@priyanshudas2033
@priyanshudas2033 4 жыл бұрын
Happy holidays and happy New year to you , Sir.
@AnonymousUser-vd2st
@AnonymousUser-vd2st 4 жыл бұрын
Thank you so much! Happy New Year Fancy Teacher! 🙏
@wherami
@wherami 4 жыл бұрын
Happy New Year. Look forward to more shenanigans
@dejankorac7120
@dejankorac7120 4 жыл бұрын
ED you are amazing. All the best in New Year, happy holiday and I cant w8 for new video.
@vain_za
@vain_za 4 жыл бұрын
My Christmas presents were empty too... until you posted this video :)
@babayaga6871
@babayaga6871 3 жыл бұрын
I always love your tutorial! Thank you very much. You're a great developer
@msvmanikantasrivishnu7788
@msvmanikantasrivishnu7788 4 жыл бұрын
Nice hair style deved..👌
@developedbyed
@developedbyed 4 жыл бұрын
thanks! I washed!
@yogendramaarisetty
@yogendramaarisetty 4 жыл бұрын
You really made an impressive work man! Keep doing bud. Happy new year!
@TakamakA88
@TakamakA88 4 жыл бұрын
You are a very good teacher and i love all of your videos =) Happy New Year and best wishes from my little island, Reunion Island in Indian Ocean =)
@abe10
@abe10 4 жыл бұрын
Wish you a very happy new year Ed and thanks for making 2018 so exciting by creating these videos. Love you man!
@henrikasteberg1218
@henrikasteberg1218 4 жыл бұрын
Great tutorial, thank you for this! I implemented it on my portfolio website.
@jazzdestructor
@jazzdestructor 4 жыл бұрын
Well happy New year to you too mate hope it's a blast for you🎉🎊
@juliamurschel1120
@juliamurschel1120 4 жыл бұрын
i am a new fan! Love your videos!
@ervanprasetyo1233
@ervanprasetyo1233 4 жыл бұрын
happy holiday ed and thank you for your education, it really help me to understand about web design.. keep going mate
@thomasfields2082
@thomasfields2082 3 жыл бұрын
Flipping awesome.
@abolfazljamshidi4628
@abolfazljamshidi4628 3 жыл бұрын
You're a role model♥️❤️♥️❤️♥️
@kskswu5652
@kskswu5652 4 жыл бұрын
Happy New Year , my friend
@s11o-4
@s11o-4 4 жыл бұрын
If for some reason the animation doesn't work, use this line in your code .fade:not(.show) { opacity: 1; } i wish that help someone! pd: Thank for share this knowledge Dev Ed
@vishaldas5692
@vishaldas5692 3 жыл бұрын
Thanks buddy it hepled me😁😃🌝
@dannypacheco4425
@dannypacheco4425 3 жыл бұрын
tks, very helpfull, i have the same issue. I dont know why, so im very pleased if someone explains me that.
@xuanhuynh5952
@xuanhuynh5952 4 жыл бұрын
Thank you very much ! You are magician ! I love putting animation effect on my website.
@ryanbiztech9181
@ryanbiztech9181 3 жыл бұрын
Short & Sweet
@tylermorales9043
@tylermorales9043 4 жыл бұрын
working on a project will this will fit in so perfectly! Thanks!!!
@samnmeje3486
@samnmeje3486 4 жыл бұрын
on my, you make complicated things very easy, thank you so much. You are awesome.
@pioleonardo
@pioleonardo 3 жыл бұрын
This is really great Ed. Thank you so much for the time!
@chethannp5981
@chethannp5981 4 жыл бұрын
Happy new year bro... thank you so much for everything 🥳🎉 love the way you speak...feels like Jim Carrey teaching Javascript lol 😀
@aliyatursynzhanova5611
@aliyatursynzhanova5611 4 жыл бұрын
wow, it was super interesting! thank you for all your tutorials!
@patrickc.6183
@patrickc.6183 4 жыл бұрын
Awesome effect!
@abirbhattacharya3308
@abirbhattacharya3308 Жыл бұрын
I am watching this today and I got a new year wish :))
@keithanphilander3630
@keithanphilander3630 4 жыл бұрын
Love the wolverine hairstyle
@agamurat3019
@agamurat3019 4 жыл бұрын
perfect explanation
@syedacodes
@syedacodes 4 жыл бұрын
🔥👏🏻thank you for all the cool tutorials!
@martinmclean5985
@martinmclean5985 4 жыл бұрын
Would love to see more videos like this. See you in 2020!
@yashsolanki069
@yashsolanki069 4 жыл бұрын
You are just simply Superb✌Great work🙌
@xuqianzhang5554
@xuqianzhang5554 4 жыл бұрын
I’m astonished that you can type code while talking without any breaks and mistakes. How did you do that?🤩
@200300646
@200300646 4 жыл бұрын
Practice
@b1mind
@b1mind 4 жыл бұрын
I'm in love with gsap, but this is way cool. Happy New Year friend, new sub looking forward to your work into 2020.
@aingealgleannin
@aingealgleannin 4 жыл бұрын
Thanks so much. I learnt a lot from this tutorial.
@phatnguyenxuan5570
@phatnguyenxuan5570 4 жыл бұрын
Beautiful
@ridaazzabi3233
@ridaazzabi3233 3 жыл бұрын
give the span a min-width to 2px for the space between words to remain intact
@gandalfsnowgrey7037
@gandalfsnowgrey7037 4 жыл бұрын
GREAT TUTORIAL! I loved every second of it! :) :) Anyone knows how to put spaces between the words??
@ladyafize5689
@ladyafize5689 4 жыл бұрын
The best thing to start the morning. Thank you :)
@bhaveshkumarguntuka2078
@bhaveshkumarguntuka2078 4 жыл бұрын
Thanks, Happy New year
@javascriptwar9525
@javascriptwar9525 4 жыл бұрын
Always Awesome
@ashtonblignaut4565
@ashtonblignaut4565 4 жыл бұрын
Thanks for the Inspiration! Legendary videos!
@tomershechner
@tomershechner 4 жыл бұрын
Hey Ed. I really like your style and videos. But, like, I don't know how skillful you are in JS, because you used *3* different variables in order to get the into an array of chars.... you could literally just do it all on the same variable: const splitedText = document.querySelector('.fancy').textContent.split(''); It may be a little verbose, but it's actually way easier and more efficient. Anyways, I love your videos - looking forward for 2020!! Tomer.
@karlmalks3787
@karlmalks3787 4 жыл бұрын
Not sure about your proficiency as well. You need to have your code reusable and readable In this particular example your approach will work, however it’s not really the recommended one.
@tomershechner
@tomershechner 4 жыл бұрын
@@karlmalks3787 How come? My code works, and it's way more concise and efficient..
@karlmalks3787
@karlmalks3787 4 жыл бұрын
Tomer Shechner working does not necessarily mean it’s readable and reusable. if(var.toString().len() == 4) { return true;} This will check the Boolean true, it’s working Is it good though ? :)
@tomershechner
@tomershechner 4 жыл бұрын
@@karlmalks3787 No, because you could've just do: return var.toString().len() === 4;
@karlmalks3787
@karlmalks3787 4 жыл бұрын
Tomer Shechner haha You could if(var) and that’s it.
@gustavopacheco919
@gustavopacheco919 4 жыл бұрын
That's really cool.
@niharikaniharika6426
@niharikaniharika6426 4 жыл бұрын
thanks dude it's really worked :)
@suparnobhattacharya6345
@suparnobhattacharya6345 4 жыл бұрын
I was following this tutorial very carefully but at the end when you said "fill it in baby", I just lost it then. 😂
@쎄쌤독일어
@쎄쌤독일어 4 жыл бұрын
Vielen Dank für deine tollen Videos. Your passion and devotion are contagious and your awesome videos and they are sooo very helpful =D
@ojoksimonstephen3555
@ojoksimonstephen3555 4 жыл бұрын
This is Awesome
@ManojSingh-of5ep
@ManojSingh-of5ep 4 жыл бұрын
You are the best.. Love your videos
@sebi4769
@sebi4769 4 жыл бұрын
Thank you It Helped me a lot
@jeminiloco2080
@jeminiloco2080 3 жыл бұрын
Fancy Schemnzy!
@jonahs28
@jonahs28 4 жыл бұрын
Thank you for this tutorial!
@tyrrelldavis9919
@tyrrelldavis9919 4 жыл бұрын
I think alot of those small ui demo channels (channels that walk through simple html css and don't say anything) I think some of those ui demo channels are astroturfed. There's no way a regular person could start and grow a ui demo channel. Not at the scale the gate kept ones do it at, which is Inherently unfair but w/e
@scnix
@scnix 4 жыл бұрын
He needs a t-shirt with a "y u do tis" quote
@sylviacastro2282
@sylviacastro2282 4 жыл бұрын
Ok, its awkward. LMAOOOO Omg I love it
@richyrose99
@richyrose99 4 жыл бұрын
this was great thank you so much!!
@fsniraj
@fsniraj 4 жыл бұрын
Cool bro
@alberto.polini
@alberto.polini 4 жыл бұрын
Great, i was looking for some nice text animation effect😊
@osmanhamashool6396
@osmanhamashool6396 4 жыл бұрын
creative dude
@amnesia3490
@amnesia3490 4 жыл бұрын
how cool is that
Javascript Animated Navbar Tutorial
26:47
developedbyed
Рет қаралды 143 М.
Top 20 CSS & Javascript Effects | March 2020
4:42
Online Tutorials
Рет қаралды 1,3 МЛН
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 21 МЛН
Why Unreal Engine 5.5 is a BIG Deal
12:11
Unreal Sensei
Рет қаралды 1 МЛН
React Course - Beginner's Tutorial for React JavaScript Library [2022]
11:55:28
Learn To Build An SVG Animation With CSS
18:32
developedbyed
Рет қаралды 755 М.
05.Arithmetic Operations
1:39
LearnLogic
Рет қаралды 39
DO THIS before you DEPLOY | Test Supabase Auth Email Locally
3:31
Learn CSS Position In 9 Minutes
9:26
Web Dev Simplified
Рет қаралды 2 МЛН
How to STUDY so FAST it feels like CHEATING
8:03
The Angry Explainer
Рет қаралды 1,7 МЛН
Awesome Cursor Animation With CSS  & Javascript!
18:36
developedbyed
Рет қаралды 149 М.