---
title: Adding data
---
A component that just renders some static markup isn't very interesting. Let's add some data.
First, add a script tag to your component and declare a `name` variable:
```html
Hello world!
```
Then, we can refer to `name` in the markup:
```html
Hello {name}!
```
Inside the curly braces, we can put any JavaScript we want. Try changing `name` to `name.toUpperCase()` for a shoutier greeting.