In this video I talk about the string data type. I recap on the escape character as well as introduce you to string concatenation.
Don’t forget to subscribe:
http://www.youtube.com/user/QuentinWatt
For collaborations and business inquiries, please contact via Channel Pages: http://ChannelPages.com/QuentinWatt Social links:
————————————————————-
Add me on twitter:
Tweets by QuentinWatt
facebook group:
https://www.facebook.com/quentin.watt
————————————————————-
Original source
36 responses to “Javascript beginner tutorial 7 – Strings”
thank you for tutorial
It is not saw;it is see 9:16
Another great video.
character
Thanks ,I learned a lot from you 🙂
You are a great teacher i have ever seen)
Thanks a ton Quentin for such easy to learn videos on JavaScript. I am loving it totally. Great job.
You are a good teacher 🙂
I want call br method in document. write method is it possible bcz it's not showing result..
HI Quentin, which projects would you recommend newbies to immerse themselves in the real world of JavaScript once they finish your course? Thanks for all your help so far man!
How can I shift the result of this code to the next line-
var a = 14;
document.write ("My age is " + a);
is it possible to do like this?
var b = 21;
document.write("balablabla ",b," blablalbal")
the escape character you've talked about it in the previous tutorial, but thank you anyway!
It's funny how I can predict what he's gonna write because I understand the logic
Awesome
thank you!!! Your tutorials are very helpful and easy to understand….
Thanks.
You are a great teacher Quentin, I must say..:)
hey, how do i put in line breaks in-between quotations? I have this code:
var name = "Annie"
//escape character
var subscriber_message = "Annie said "Thanks to everyone!""
document.write(subscriber_message);
//string concatenation
var sentence1= "My name is Annie";
var sentence2= " and I am 25 years old";
document.write(sentence1 + sentence2);
When this prints, it prints as: "Annie said "Thanks to everyone!"My name is Annie and I am 25 years old.
I want a line break between 'everyone' and 'my name..'
I've used <BR> before, but in codes that don't have quotes and the only quotes i used are around the <BR>.
do you understand what i'm saying? I'm a total beginner..
Thanks.
ETA: I got it. This is the change I made:
var subscriber_message = "Annie said "Thanks to everyone!" "<BR>""
but my overall formatting is still incorrect.
Anyone??
Awesome.
Thanx alot Quentin for your support. Actually i started working on sapui5 in which we have to use JS. As JS is a scripting language and i dont have any previous knowledge of JS thats why i am very frustated about it.but your video provide me a ray of hope.if u provides me some suggestion about JS how to learn it to become a good programmer i am thankful to you.
7:17 you can also do ?
I really enjoyed using HTML inside my Javascript. Thank you Quentin for doing another excellent job as my Professional Teacher.
Hola, thank you for this tutorials,those had been so helpfull.
love this stuff and your style of teaching. very thankful for the generous contribution
Holy sh#*t, I'm 54 years old!
I've been trying to learn JavaScript for well over six months. This tutorial is really helping me out. Am I the only one who is so confused with W3Schools?! lol
depending on your string configuration you can use single quotes and then double quotes inside of the single quotes, and that will do the same thing as the escape character.
Just want to mention something. As a designer my teacher taught me that these "These" are not quotations marks. They are indicating inch measurement on computer keyboard. The real quotation marks are these “These” – Alt + 0147 and Alt + 0148 (on PC).
If you use the correct ones you don't need to do this " This" in JavaScript.
I'm not trying to be a smart ass. I'm new to JavaScript just speaking from design point of view. What do you think about this?
what happen to you comp?
6733 subscriber now congratulation
What if someone were by some chance to say "Quentin said Thanks to all my subs"? Would you then put another escape character to ignore the first one which would otherwise cause an error? By doing so the string would then look like "Quentin said \Thanks to all my subs". Is that right?
So detailed but not boring like others I've listened to. Thanks man you really help me to learn JavaScript without boring the hell out of me 🙂
Its not in 720p HD
Hi, I posted the tutorial code on my forum under the JavaScript Section. The link is in the description below the video. Please check there.
Thanks for watching.
Hello, I have been following your from the HTML5 & CSS3 to this stage and it awesome but please can i the source code or file of the javascript tutotials from the very first tutorials ton the end.
This is my e-mail address pogeedaniel@gamail.com
I will be glad to have it.
Thank You