# Show hello many times

{% hint style="info" %}
You can use `dotnet watch` and observe the result of code changes instantly on the browser!
{% endhint %}

### Cannot do this

```cshtml
//Wrong
<div>
    @for(int i=1; i<=10; i++) 
        <span>hello</span>
</div>
```

#### Correct way

```cshtml
@page

<div>
    @for(int i=1; i<=10; i++){
        <span>hello</span>
    }         
</div>
```

Or this, without the div tag and using para tag

```cshtml
@page

@for (int i = 1; i <= 10; i++)
{
    <p>hello</p>
}
```
