Here is an example of code with two instructions.
console.log('Mother of Dragons.'); console.log('Dracarys!');
When you run this code you will see two sentences on the screen, one after the other.
Mother of Dragons. Dracarys!
Actually, it’s possible to put multiple instructions on the same line:
console.log('Mother of Dragons.'); console.log('Drakarys!');
but it’s considered bad practice as it’s hard to read.
Output these three names on the screen, one after the other: “Robert”, “Stannis”, “Renly”.
Robert Stannis Renly
For each name call it’s own
Please sign in with your GitHub account, this is necessary to track the progress of the lessons. If you do not have an account yet, now is the time to create an account on GitHub.