Question · Svelte and SvelteKit course · Module 1: Introduction to Svelte

Sections of a Svelte Component

What three sections make up a Svelte component?

Answer options

  • <script>, HTML markup, <style>
  • <template>, <script>, <style>
  • <head>, <body>, <footer>
  • import, export, render
Show the answer

Correct answer:

  • <script>, HTML markup, <style>