Beginner JavaScript Tutorial – 5 – Using Variables with Strings

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

43 responses to “Beginner JavaScript Tutorial – 5 – Using Variables with Strings”

  1. Ian Cosgrove Avatar

    Let's go ahead and click like

  2. Arnold Hattingh Avatar

    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.

  3. DeadBabyParty Avatar

    Make it sure it's spelled wrong, or it won't work xD you make this not boring man, thanks

  4. MOIN UDDIN Avatar

    Love u bro, u r the best. Actually better than the Best. Love u bro

  5. Arindam Roychowdhury Avatar

    What should happen if we multiply a string with a number?

  6. Manish Kak Avatar

    who is watching in 2017! :p 😀

  7. Serenity Avatar

    This guy is 24? Wow.. man do i feel behind

  8. ColesContent Avatar

    none of these tutorials would be good if his name wasnt Bucky

  9. Besparica Avatar

    I hete Treehouse!

  10. Earl Alexander Avatar

    try {
    document.write("Question 1"+ "<br>" + bacon + "&nbsp;" + tuna + ham + ".");
    }
    output {
    Question 1
    baconator? i am a fishhumburglarr.
    }

    Now that makes more sence. Lol you where on to something.

  11. Malick Cisse Avatar

    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?

  12. Hasnain Aabdani Avatar

    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>

  13. L M Avatar

    concatenation is the name for the + sign whenever someone quiz you on this

  14. krishna vegi Avatar

    Hey, This is just an example. Who the heck Cares?? 🙂

  15. nolareaper Avatar

    my boy Bucky is hungry

  16. FrankGarrett316 Avatar

    Epic quote: "Make sure it's spelled wrong, or else it won't work." lol

  17. smittenessmee Avatar

    You were 24 when you made this video? I feel very unaccomplished now

  18. Ivan Zivojinovic Avatar

    As somebody said I don't have money to donate you but I can watch ads till end. Hope it helps!

  19. StarFTW Avatar

    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

  20. PrincessM Avatar

    lol my 3 variables together said "I am a delicious chocolately spreadbaconator?garlic bread bih"

  21. Vijender Singh Avatar

    you can also use "," instead of "+" in your code.

  22. StrawPipe Avatar

    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

  23. UnEarthly Ethan Avatar

    what is the difference between null and nil?
    Is it a syntax difference between Lua and Javascript?

  24. Dan Varlan Avatar

    yeah, very good tutorial, 😀

  25. Abudzar al-ghiffari Avatar

    24 with some programming languages experience. and i'm here at my 20 ….. 🙁

  26. Mervin Lee Avatar

    Bucky must really enjoy eating tuna, bacon and ham! yum!

  27. Sandy Sandeep Avatar

    You guys better start eating while watching Bucky's videos. 😀

  28. Flux Avatar

    thx great tutorial!

  29. Nithin Samuel Avatar

    I always get hungry watching ur tutorials…:)

  30. mallikarjun sharma Avatar

    Nice tutorials with good explanation.

  31. Peteman12 Avatar

    You what? You walked in there, wrote "I AM A fish" four hundred times, did a funny little dance and fainted!

  32. Jhony S Avatar

    I know this is old but dear good you need to start using sublime.

  33. Bóson Treinamentos Avatar

    Very good tutorial man! Thank you!

  34. Alexandra Anghel Emery Avatar

    Just one thing that you can add to the 5'th tutorial, how to add spaces between words

  35. krishna Avatar

    than q for ur series man..love u

Leave a Reply

Your email address will not be published. Required fields are marked *