Skip to content

Commit

Permalink
update: grammar in getting-started/step1-content.md (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCoastal authored Nov 17, 2023
1 parent f6f371c commit 86f2d86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/tutorial/getting-started/step1-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Welcome to the PixiJS tutorial!
Please go through the tutorial steps at your own pace and challenge yourself using the editor on the right hand side. Here PixiJS has already been included as guided under the [Getting Started](/guides/basics/getting-started#loading-pixijs) section. Let's start with the creation of a PixiJS canvas application and add its view to the DOM.

```javascript
// Create a PixiJS application of type cavas with specify background color and make it resizes to the iframe window
// Create a PixiJS application of type canvas with specify background color and make it resize to the iframe window
const app = new PIXI.Application() < HTMLCanvasElement > { background: '#1099bb', resizeTo: window };

// Adding the application's view to the DOM
document.body.appendChild(app.view);
```

When you are ready, proceed to the next exercise using the _Next >_ button below or feel free to skip to any exercise using the drop-down menu on the top right hand corner of the card.
When you are ready, proceed to the next exercise using the _Next >_ button below, or feel free to skip to any exercise using the drop-down menu on the top right hand corner of the card.

0 comments on commit 86f2d86

Please sign in to comment.