JavaScript Tutorial
  • ๐ŸผIntroduction
  • ๐Ÿฅ›Hello Gamers
  • ๐ŸฏVariables
    • Action Game Example
  • ๐ŸŒฐStrings
    • RPG Example
  • ๐ŸชCharacter Acces
    • Simulation Example
  • ๐ŸฉPlus (+) operator
    • Strategy Game Example
  • ๐ŸฅœFunctions
    • Adventure Game Example
  • ๐ŸฟTemplate strings
    • Strategy Game Example
  • ๐ŸซNumbers
    • Sports Game Example
  • ๐ŸฌConverting Numbers to Strings
    • Fighting Game Example
  • ๐ŸญOperations
    • FPS Game Example
  • ๐ŸฎConditions
    • Platformer Game Example
  • ๐ŸŽ‚Arrays
    • Puzzle Game Example
  • ๐ŸฐObjects
    • Racing Game Example
  • ๐ŸงArrow Functions
    • Rhythm Game Example
  • ๐Ÿ”ŒShameless Plug
  • ๐ŸฅงImplicit Return
    • Platform Game Example
  • ๐ŸฆString Methods
    • GRID Game Example
  • ๐ŸจObject Literals
    • Board Game Example
  • ๐ŸงDynamicProperty
    • Political Game Example
  • ๐ŸกReading Dynamic Property
    • Hide & Seek Game
  • ๐ŸฅฎObjects Continued
    • Medieval Game Example
  • ๐Ÿฅ Object Shorthands
    • Trivia Game example
  • ๐Ÿ”ŒShameless Plug (again)
  • ๐ŸฅDestructuring & Concatenation
    • Dig a hole game example
  • ๐ŸOptional Chaining
    • Action Game Example
  • ๐ŸNullish coalescing operator
    • Adventure Game Example
  • ๐ŸŠRefactoring If Conditions
    • Arcade Game Example
  • ๐Ÿ‹Implicit Conversion & Falcy Values
    • Strategy Game Example
  • ๐ŸŒArrays of objects
    • Sports Game Example
  • ๐Ÿ‰Transforming Array of Objects
    • Fighters Game Example
  • ๐Ÿ‡Some important array methods
    • FPS Example
  • ๐ŸซReducing arrays of objects
    • Third Person Shooter Example
  • ๐Ÿ“Try....catch
    • Platformer Example
  • ๐ŸˆImmutability
    • Puzzle game example
  • ๐Ÿ’Creating new arrays or objects
    • Racing Game Example
  • ๐Ÿ”ŒShameless Plug (again)
  • ๐Ÿ‘Immutable object operations
    • Basics
    • Rhythm Game Example
  • ๐ŸฅญClasses
    • Basics
    • Platformer Game Example
  • ๐ŸInstance Method
    • Basics
    • Role-playing game example
  • ๐ŸฅฅObject Oriented Programming
    • Basics
    • Stealth Game Example
  • ๐ŸฅGetters & Setters
    • Basics
    • Survival Game Example
  • ๐Ÿ…Static Methods & Chaining
    • Basics
    • Tactical Role Playing Game
  • ๐Ÿ†Class Inheritance
    • Tower Defense Game Example
  • ๐Ÿฅ‘Use of Super
    • Vehicular Combat Game example
  • ๐Ÿซ’Public Class Field
    • MMORPG Example
  • ๐ŸฅฆPrivate class fields
    • Battle Royale Games Example
  • ๐ŸฅฌAysnc/Await
    • Collectible Card Game example
    • Video Board game example
  • ๐Ÿซ‘SetTimeout
    • Dice game example
  • ๐Ÿฅ’Execution Order
    • Digital Collectible Card Game example
  • ๐ŸŒถ๏ธThe callback pattern
    • Life Simulation Game example
  • ๐ŸŒฝPromises
    • Music Game Example
  • ๐Ÿฅ•Writing a function that returns a promise
    • Party game example
  • ๐Ÿง„Introduction to JSON
    • Tile based game example
  • ๐Ÿง…JSON.parse(string) / JSON.stringify(object)
    • Rhythm action game example
  • ๐Ÿ JSON Example for a game
    • Fetching JSON game data
  • ๐ŸฅHandling fetch errors
    • Fetch and HTTP Requests
  • ๐ŸฅฏES Modules
    • Tower Defence Game Example
  • ๐ŸžDefault Export
    • Strategy Adventure Game Example
  • ๐Ÿฅ–Fetch Wrapper
    • Strategy Role-playing game example
  • ๐Ÿ”ŒFinal Shameless Plug
  • ๐Ÿซ“Lexical Scope and Arrow Functions
    • Vehicular Combat Game Example
  • ๐ŸฅจPassing Functions
    • Vehicular simulation game example
  • ๐ŸฅšDynamic Imports
    • Video card game example
  • ๐Ÿ What is a closure
    • Video casino game example
  • ๐ŸŽ†Congratulations
Powered by GitBook
On this page

Hello Gamers

Every "Zero to Hero" tutorial starts with a "Hello World" example, which would be the simplest example and it just gets more and more complicated๐Ÿคฃ

console.log is a function in JavaScript that is used to print a message to the console. The console is a command-line interface that is typically used for debugging purposes. It allows you to see the output of your JavaScript code, as well as any error messages that may occur.

Here is an example of how you could use console.log to print a message:

console.log('Hello Gamers');

This code will print the message "Hello Gamers" to the console.

The Chrome browser has a built-in developer console that allows you to view the console output and run JavaScript commands. To open the console in Chrome, you can use the keyboard shortcut Ctrl + Shift + J (Windows) or Cmd + Option + J (Mac). You can also right-click on any page element and select "Inspect" to open the developer tools, and then click on the "Console" tab to access the console.

The console is a powerful tool for debugging and testing your code, and is an essential part of any developer's toolkit.

PreviousIntroductionNextVariables

Last updated 2 years ago

๐Ÿฅ›