• Saturday , 18 November 2017

Beginner JavaScript Tutorial – 5 – Using Variables with Strings

Code Canyon



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

3d Ocean

Related Posts

44 Comments

  1. Jim Williams
    November 4, 2017 at 11:56

    could NOT find http://www.newboston.com/forum just browsing. URL address that works, please?

  2. movieguy73
    November 4, 2017 at 11:56

    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.

  3. Rose Red
    November 4, 2017 at 11:56

    Great video thank u!

  4. Craig Deskins
    November 4, 2017 at 11:56

    Thank you for the programming lesson. However, these animals you referred to as variables wanted to live. Be well.

  5. Arulmozhivarman
    November 4, 2017 at 11:56

    thank u bucky

  6. Ian Cosgrove
    November 4, 2017 at 11:56

    Let's go ahead and click like

  7. Arnold Hattingh
    November 4, 2017 at 11:56

    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.

  8. DeadBabyParty
    November 4, 2017 at 11:56

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

  9. MOIN UDDIN
    November 4, 2017 at 11:56

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

  10. Arindam Roychowdhury
    November 4, 2017 at 11:56

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

  11. Manish Kak
    November 4, 2017 at 11:56

    who is watching in 2017! :p 😀

  12. Serenity
    November 4, 2017 at 11:56

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

  13. ColesContent
    November 4, 2017 at 11:56

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

  14. Besparica
    November 4, 2017 at 11:56

    I hete Treehouse!

  15. Earl Alexander
    November 4, 2017 at 11:56

    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.

  16. Malick Cisse
    November 4, 2017 at 11:56

    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?

  17. Hasnain Aabdani
    November 4, 2017 at 11:56

    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>

  18. L M
    November 4, 2017 at 11:56

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

  19. Domagoj Radičević
    November 4, 2017 at 11:56

    haha baconator 🙂

  20. krishna vegi
    November 4, 2017 at 11:56

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

  21. nolareaper
    November 4, 2017 at 11:56

    my boy Bucky is hungry

  22. FrankGarrett316
    November 4, 2017 at 11:56

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

  23. smittenessmee
    November 4, 2017 at 11:56

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

  24. Ivan Zivojinovic
    November 4, 2017 at 11:56

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

  25. StarFTW
    November 4, 2017 at 11:56

    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

  26. PrincessM
    November 4, 2017 at 11:56

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

  27. Vijender Singh
    November 4, 2017 at 11:56

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

  28. hingo
    November 4, 2017 at 11:56

    "heck it" LOL

  29. Beve Stannon
    November 4, 2017 at 11:56

    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

  30. UnEarthly Ethan
    November 4, 2017 at 11:56

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

  31. Dan Varlan
    November 4, 2017 at 11:56

    yeah, very good tutorial, 😀

  32. Abudzar al-ghiffari
    November 4, 2017 at 11:56

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

  33. Sandy Sandeep
    November 4, 2017 at 11:56

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

  34. Flux
    November 4, 2017 at 11:56

    thx great tutorial!

  35. Nithin Samuel
    November 4, 2017 at 11:56

    I always get hungry watching ur tutorials…:)

  36. mallikarjun sharma
    November 4, 2017 at 11:56

    Nice tutorials with good explanation.

  37. Andy Chen
    November 4, 2017 at 11:56

    Very nice, tks!

  38. Riku Driscoll
    November 4, 2017 at 11:56

    tuna!

  39. Peteman12
    November 4, 2017 at 11:56

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

  40. Chance Taken
    November 4, 2017 at 11:56

    Super helpful.

  41. Jhony S
    November 4, 2017 at 11:56

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

  42. Patrick Enriquez
    November 4, 2017 at 11:56

    hamburglarr lol.

  43. Bóson Treinamentos
    November 4, 2017 at 11:56

    Very good tutorial man! Thank you!

  44. AMMAR MUHAMMAD YAQOOB
    November 4, 2017 at 11:56

    Your tutorial is awesome

Leave A Comment

You must be logged in to post a comment.