DEV Community


Discussion on: ⏰ Svelte Crash Course (in 10 pics!)

hexrcs profile image
Xiaoru Li 🇨🇳🇩🇪 Author

Hi, it's actually not a typo. What I meant was setting props in regular HTML <img alt="Nice image" src="nice-img.jpg"> (image tag with alt and src prop/attribute) is exactly the same in Svelte's template.

dmitrykurmanov profile image
Dmitry Kurmanov

I've got it.Thanks!

Forem Open with the Forem app