Question · Svelte and SvelteKit course · Module 11: SvelteKit Routing

Page Content in a Layout

How do you show the page content inside +layout.svelte (Svelte 5)?

Answer options

  • With the <page /> element
  • With the {@render children()} tag
  • With the <content /> element
  • With the <outlet /> element

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