Outline

In this section we'll learn how to group related messages to the console using console.group. Each group can have an optional name, which you pass in to the group function. Everything that you log to the console after the console.group and before console.groupEnd will be added to the group. End the group with console.groupEnd.

For the exercise for this section:

  1. Start a new group in the console and call it "Pizza Party"
  2. Log the message "I'm having a pizza party"
  3. Print a table of friends that are coming to the party
  4. End the group
 

I finished! On to the next chapter