Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts
Original source
44 responses to “Beginner JavaScript Tutorial – 5 – Using Variables with Strings”
could NOT find http://www.newboston.com/forum just browsing. URL address that works, please?
it would be nice if your titles had the year in them. im watching your JS videos from 2011 and youtube queues up the next one but from a diff year 2008.
Great video thank u!
Thank you for the programming lesson. However, these animals you referred to as variables wanted to live. Be well.
thank u bucky
Let's go ahead and click like
Just stick with me, "I will make you famous". btw, was bessie the cow based on jamie kings c# videos? Cause that is his favorite cow to use.
Make it sure it's spelled wrong, or it won't work xD you make this not boring man, thanks
Love u bro, u r the best. Actually better than the Best. Love u bro
What should happen if we multiply a string with a number?
who is watching in 2017! :p 😀
This guy is 24? Wow.. man do i feel behind
none of these tutorials would be good if his name wasnt Bucky
I hete Treehouse!
try {
document.write("Question 1"+ "<br>" + bacon + " " + tuna + ham + ".");
}
output {
Question 1
baconator? i am a fishhumburglarr.
}
Now that makes more sence. Lol you where on to something.
document.write(name, " is my name and my age is ", age); will work just as fine. I tried it with comma just like in Python and it works fine. Is this advisable?
It doesn't work for me,
my code is:
<html>
<head>
</head>
<body>
<script> type="text/javascript">
var x = 10;
document.write(x);
</script>
</body>
</html>
concatenation is the name for the + sign whenever someone quiz you on this
haha baconator 🙂
Hey, This is just an example. Who the heck Cares?? 🙂
my boy Bucky is hungry
Epic quote: "Make sure it's spelled wrong, or else it won't work." lol
You were 24 when you made this video? I feel very unaccomplished now
As somebody said I don't have money to donate you but I can watch ads till end. Hope it helps!
It Does Not Work For Me :(, Look: My coding: "<script type="text/javascript">
var name = "Bucky";
var age = 24;
document.write(name + " is my name");
</script>This is wat I get: This XML file does not appear to have any style information associated with it. The document tree is shown below.
<script type="text/javascript">
var name = "Bucky"; var age = 24; document.write(name + " is my name");
</script>, I'm using google chrome
lol my 3 variables together said "I am a delicious chocolately spreadbaconator?garlic bread bih"
you can also use "," instead of "+" in your code.
"heck it" LOL
Maybe I'm not too far in programming to understand this, but it seems like it would take less time to write, "Bucky is my name" instead of (name + " is my name").. etc etc. i'm assuming these are mostly for examples? Where as variables are used to help with common written things like numbers or what not?
Or I could be way off and don't know what the hell I'm talking about.. Probably the latter
what is the difference between null and nil?
Is it a syntax difference between Lua and Javascript?
yeah, very good tutorial, 😀
24 with some programming languages experience. and i'm here at my 20 ….. 🙁
You guys better start eating while watching Bucky's videos. 😀
thx great tutorial!
I always get hungry watching ur tutorials…:)
Nice tutorials with good explanation.
Very nice, tks!
tuna!
You what? You walked in there, wrote "I AM A fish" four hundred times, did a funny little dance and fainted!
Super helpful.
I know this is old but dear good you need to start using sublime.
hamburglarr lol.
Very good tutorial man! Thank you!
Your tutorial is awesome