Svelte · Junior · Question 70 of 76

What does the Svelte compiler warn about with <div onclick={...}>?

Explanation

Svelte includes a11y checks at compile time, which catch many problems early.

Further reading

Problem with a question

Svelte · Junior · question 70

Test yourself

Take the Svelte · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz