Question · HTML and CSS course · Module 11: Developer Tools

Console Tab

Which console method is used to display warnings?

Answer options

  • console.info()
  • console.warn()
  • console.log()
  • console.error()

You can check the correct answer by solving this task in the CodeWorlds game.