You’ve already seen how we use console.log()
to display messages on the screen. In this lesson, we’ll look at some basic rules for writing JavaScript code and introduce you to another way to interact with the browser: alert()
.
You’ve already seen how we use console.log()
to display messages on the screen. In this lesson, we’ll look at some basic rules for writing JavaScript code and introduce you to another way to interact with the browser: alert()
.