Question · Vibe coding with Claude Code course · Module 14: Pinterest clone

Quiz: A safe link to the shop

Why does a To the shop link with target="_blank" have rel="noopener noreferrer"?

Answer options

  • So that the link opens in the same tab
  • So that the new tab does not get window.opener, and the shop does not get a Referer header with the address of our page
  • So that search engines do not see the link
  • So that the browser checks the shop's certificate before opening

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