About 43,500 results
Open links in new tab
  1. Running JavaScript in the Browser Console - Codecademy

    Along with HTML and CSS, JavaScript (JS) makes up one of the core languages in web development. JS code is normally added using the HTML <script> element for executing in …

  2. console.log and return - Codecademy

    Hey luckynika, There is actually a very clear distinction between these calls. console.log() is a function used to print information to the console. return on the other hand is a call to pass …

  3. printing in a single line - Codecademy

    If you mean multiple console.log () outputs to a single line, we can’t. It always starts on a new line. The only way is to combine everything into a single string, then log it all in one console.log () …

  4. how do i put a space in my console.log()? | Codecademy

    A space must be wrapped in quotes because it is considered a string. You can add it here … someone called _ “ or you can add it separately: (“I know someone called” +" " + names [i]);

  5. how do i get the console to print a new line? - Codecademy

    Learn JavaScript Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.

  6. Spacing in console.log - Codecademy

    Spacing in console.log I noticed that there were two different ways that spacing was handled in the exercises - I’ve been working through the JavaScript track and am currently on …

  7. console.log lines - Codecademy

    Hi, Is there a way to individually show console.log lines of code instead of all at once? After entering the age the first console.log appears with a...

  8. {solved} console.log () bug problems - Codecademy

    There is a repetitive problem with JavaScript for me. The code for console.log is supposed to be console.log("something"); However when I type the ...

  9. Console.log - Codecademy

    Console.log () is a function that “prints out” anything that you put in the parentheses to the screen. Lets take the example of writing “Hello World” writing the following code "Hello World!"; would …

  10. Return vs console.log - Codecademy

    The reason for this is that console.log is a function (technically, a method of the console object) that accepts one or more arguments and writes these on the screen.