Complete the code to pass a background color style to the Button component.
<Button style="background-color: [1];">Click me</Button>
The style attribute expects CSS property values like colors. Here, red sets the background color.
Complete the code to pass a dynamic font size style to the Text component using a Svelte variable.
<Text style="font-size: [1];">Hello</Text>
In Svelte, to use a variable inside an attribute, wrap it in curly braces. Here, {fontSize + 'px'} inserts the variable value with units.
Fix the error in passing multiple styles to the Card component inline.
<Card style="color: blue; [1]">Content</Card>
CSS properties in style attributes use kebab-case with colons and semicolons. font-weight: bold; is correct.
Fill both blanks to pass a dynamic color and padding style to the Box component.
<Box style="color: [1]; padding: [2];">Box content</Box>
Use Svelte variables inside curly braces for dynamic styles. Padding needs a unit like 'px'.
Fill all three blanks to pass uppercase text, margin, and border styles dynamically to the Label component.
<Label style="text-transform: [1]; margin: [2]; border: [3];">Label</Label>
CSS properties like text-transform accept values like 'uppercase'. Margin and border need units and full declarations.