• Thursday , 4 June 2020

JavaScript Tutorial For Beginners #10 – Logging to the Console

Code Canyon



Hey ninjas, in this JavaScript lesson I’ll be showing you a couple of quick and easy ways to test your JavaScript code and variable values. These include the Console.log method, as well as the Document.write method.

You don’t need to worry too much about the Document and Console objects so much yet, as we’ll be covering objects and methods in more detail later in the playlist.

As always, any questions, ask away :).

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

========== JavaScript for Beginners Playlist ==========

========== CSS for Beginners Playlist ==========

========== HTML for Beginners Playlist ==========

========== The Net Ninja ============

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

========== Social Links ==========

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

Original source

3d Ocean

Related Posts

15 Comments

  1. Meghan Duprey
    July 8, 2019 at 01:44

    document.write doesn't work anymore as of 2019, I know this is a little older what would you use now?

  2. Mod badal
    July 8, 2019 at 01:44

    Thanks bro , You make javascript easier

  3. peppie7
    July 8, 2019 at 01:44

    No semicolons ?

  4. jose flores
    July 8, 2019 at 01:44

    this course is much better than paying for one course in any plattaform 😀

  5. hamza naeem
    July 8, 2019 at 01:44

    Sir , Why we are not adding these -> " " in parenthesis ()????

  6. Milena Cabrera
    July 8, 2019 at 01:44

    Excellent videos congrantulations and greetings from Colombia in South America,

  7. Azat Nuriakhmetov
    July 8, 2019 at 01:44

    this sound "whaaaa" makes it really special))

  8. Falcon
    July 8, 2019 at 01:44

    Isn't typing the console.log() method redundant when you're already entering JavaScript in the console? For example, after assigning a value to myVar, all you have to do is type myVar and hit enter, and it will log the value of myVar to the console.

  9. Cool Tony
    July 8, 2019 at 01:44

    Great tutorials, thank you. TT

  10. Vikky Gaikwad
    July 8, 2019 at 01:44

    in my code only document.write is working console.log is not working ???

    here is my code….

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title></title>

    </head>
    <body>

    <h1>fucking</h1>
    <p>hello madar chos</p>

    <script>
    var app = "vikky";
    document.write(app);
    </script>
    </body>
    </html>

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title></title>

    </head>
    <body>

    <h1>fucking</h1>
    <p>hello madar chos</p>

    <script>
    var app = "vikky";
    console.log(app);
    </script>
    </body>
    </html>

  11. Maanas Kunchala
    July 8, 2019 at 01:44

    Thanks a lot, NetNinja!

  12. Danny Jaison
    July 8, 2019 at 01:44

    This is the most simplest and easy to learn tutorial for java script. Thank you so much…

  13. Dhruv Rajpurohit
    July 8, 2019 at 01:44

    How to add a new line in Document?

  14. lina suhail
    July 8, 2019 at 01:44

    amazing tutorial ,thanks ,

  15. Shiva Shankar
    July 8, 2019 at 01:44

    Wonderfull

Leave A Comment

You must be logged in to post a comment.