Javascript String Concatenation | Javascript Tutorial For Beginners | ES6 Tutorial
HTML-код
- Опубликовано: 12 сен 2024
- Check out my courses and become more creative!
developedbyed.com
Javascript String Concatenation | Javascript Tutorial For Beginners | Javascript ES6
In this video series we are going to learn modern javascript from scratch. This video is recommended for anyone wanting to learn javascript the modern way with ES2015. No previous programming knowledge is required, so this video series will help you learn javascript as your first programming language.
We will cover how to do string concatenation in javascript with the " + " operator, we will also fix issues on when to use single or double quotes in strings.
Finally we will take a look at the ES6 way of doing concatenations in javascript using the ${} syntax.
Things covered in this video:
How to do simple string concatenations .
Differences in using single quotes vs double quotes in strings.
Concatenating strings with numbers.
ES6 string concatenation .
📔 Materials used in this video:
VSCode: code.visualstu...
🛴 Follow me on:
Twitter: / deved94
Github: github.com/Dev...
Next part is up tomorrow morning! I will post 1 per day to not overwhelm your sub feed!
PS: there is also the " ! " operator which is the opposite basically. if ( !18 ) basically every number that is not 18. Sorry I forgot about this one :)
Hey Ed, I have a question: can I do a matematical operation in the con solé.log
hmmm?????????????????
reading this after 2 years
@@cryptozone435 reading this after 2 years and 3 weeks
const wishes = 'Thank you';
const name= 'Dev Ed';
console.log(wishes + name);
output: Thank you Dev Ed
jaya sankar Thank youDev Ed
Thank youDev Ed
yea...put a space at the end of "thank you" or at the start of "Dev Ed"
I am trying to learn JS . I really enjoy your enthusiasm . Keep doing what you're doing because it helps a lot of people . Thank you so much .
'Awesome' + ' tutorial';
No, 'Awesome ' + 'tutorial!';
@@noone-gr4is No 'Awesome ' + 'Tutorial';
Where is the space bro?
@@arx2796 there is a space, look closely after aweaome
this reply section is funny lol
Thanks for the amazing tutorials, and it really helps when there is a bit comedy in teaching as it makes learning fun. Other channels tutorials are pretty boring.
Thank you :) You are awsome!!! love when you say Don't worry... not many kind people out there. Lots and lots of good wishes to you :)
one of the best tutorials man!! love the way you explain.
Much appreciated Ed
Damn what a great series helps so much!
Your way of explaining is profoundly amazing and you have a very sweet sense of humor.
Thanks I am looking forward for your next video!
that energy. I feel much more motivated to build my code
Hello Ed :) Thank you so much for all this content. I appreciate what you do, and i find your Videos very Educational and Motivational. All the best to you! :)
Thank you Dev Ed
wow! great video Ed! i love to see the excitement all over your face when you explain stuff xD you are awesome ! keep up the good work. i do online school here in norway now and this video link is syllabus from noroff. that's gonna get you some views !
damn good explanation! thank you! I am a beginner. subscribed
Wow Ed...just watched my 1st tut and its great! Keep up the tremendous work mate!!
thanks from the bottom of my heart
const thanks = "Thank you"
const name = "Dev Ed"
function log(toLog) {
console.log(toLog)
}
toLog(thanks + name)
Output = Thank you Dev Ed
u know that u r fuckng awesome right . explaining in different examples even the simplest things. Wow man Wow
"The internet here is so bad that I just want to curl up in bed and cry"
Ya lol, and "The sun is my best friend"
You got yourself another subscriber!
Thanks Sonny B!
i love your content thank you very much
Having learned the basics in Java, Python etc. before this I find it kind of weird to use const as often as you do. How does const in javascript differ from java/python where you would never ever make e.g. an age a constant variable? Thanks for great content.
Thanks for dooing this great tutorial. An important part is in 06:16 - 06:20 make sure you use the Backtick ´ . cheers Ch
thanks bro
Thank you @Christian H. ...you saved my day... without backtick it was acting like a string only was not taking variable in with double quote or single one....backtick is the key.
I have learn c++ in High School , And my Teacher had said that you can learn any language easily if you learnt a language very properly. And now I can really find similarities with it
Hello , May I ask why my ${name} doesn't work? It still show "${name} " on console page...I have double checked nothing typeing wrong . is it the reason that I am using Dreamweaver ?
Thanks!
make sure you use the backtick instead of quotations
i love your tutorials sir !
Man you are superb!!!!!!!
You are great man...
Cool cool, thanks
the only person i disable ublock for :)
This guy is awesome ❤
You are the best thank you💙
Can someone please let me know the initial sound track in this video? It sounds so good
by the way the ${name} only possible with these `` quotes in es6 not with regular '' u should find them below of the esc keyword and it can also type with alt+96 Thankyou
Hy Ed, i have a question for you. What theme do you use for Visual Studio Code app, to look like that ? Btw, thanks a lot for your video! 🔥
Edit: I have saw the name of the theme in the comments. Thanks anw!
Atom one dark maybe
Thank you for your perspire.
Would this course on completion allow a learner to build small apps as it quite short compare to other online tutorial
Amazing THAKS !!!
Hey Dev Ed Can you please upload a video on that responsive nav bar again but with content as when I try to add images in the body the images overlap on the nav bar which slides out in mobile view. So please if you can please help. Thank you for your content :)
Timing 7:17 in my editor why this is not working ? i am also write the same code .
Hey! Can you please tell me your VS Code Theme? I really like it!
material theme > palenight high contrast ;)
Great video! How to run the code in Terminal when Save ? +1 Subscriber !
Here is the great part it does it automatically when you save
Vanakam da mapla Tamilnadu la irudhu♥️
Hello, Edwin. My name is Edwin :D
what color theme you use?
material theme :D
why making age a constant? age is something variable........
who's sun ? JSON ?
How can I do the backtick symbol with the keyboard?
Button next to your 1, above the Tab
@@developedbyed I have Italian keyboard. Need to change layout?
Ugh I'm not sure.. you can copy paste this lol ``
where is your home town?
2:16 Me when my crush interacts with other boys
Big brain time be watching this at 1.25 speed to lean all of JS in
who are the nine people that disliked this video
You make me laugh as I learn
Now I realize the "ed" is in even in your name.
$ doesnt work Why??? I understand why. I used ' ' instead of ``....(edited)
Have you figured out the problem yet?
@@tandinwangyel1897 I figured it out. I needed to use backtick instead of """ this one
@@furkanbezci5202 Thanks.
well look at 06:16 you will see he is not using ' ' or " " he is using the Backtick ´ :-)
1:40 Your a-Gee is 21
I Hate Programming
This was trash.....