diff --git a/docs/index.md b/docs/index.md index e2612cd9..1481b21e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -95,7 +95,7 @@ Let's wrap our text in an `

` tag. m.render(root, m("h1", "My first app")) ``` -The `m()` function can be used to describe any HTML structure you want. So if you to add a class to the `

`: +The `m()` function can be used to describe any HTML structure you want. So if you need to add a class to the `

`: ```javascript m("h1", {class: "title"}, "My first app")