Click in order · Svelte and SvelteKit course · Module 2: Components

Naming Conventions

Click the naming conventions in order: components, helper files, directories

Items to click

  • PascalCase (WarriorCard.svelte)
  • kebab-case (viking-camp/)
  • camelCase (formatters.js)
Show the answer

Correct order:

  1. PascalCase (WarriorCard.svelte)
  2. camelCase (formatters.js)
  3. kebab-case (viking-camp/)