Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to create a new Remix project using npm.
Remix
npm create remix@latest [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using --template instead of my-remix-app
Forgetting to specify the app name
Using --install which is not a valid flag here
✗ Incorrect
The correct positional argument to specify the project name is my-remix-app.
2fill in blank
mediumComplete the command to install dependencies after creating a Remix project.
Remix
cd my-remix-app && [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'remix install' which is not a valid command
Running 'npm start' before installing dependencies
Using 'remix build' too early
✗ Incorrect
After creating the project, you run 'npm install' to install dependencies.
3fill in blank
hardFix the error in the command to start the Remix development server.
Remix
npm [1] dev Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'npm start dev' which is invalid
Using 'npm build dev' which is incorrect
Using 'npm serve dev' which is not a standard npm command
✗ Incorrect
The correct command is 'npm run dev' to start the development server.
4fill in blank
hardFill both blanks to create a new Remix project with TypeScript template and install dependencies.
Remix
npm create remix@latest [1] --typescript && cd [2] && npm install
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using --template or --app-name instead of the folder name for the first blank
Using a wrong folder name in the second blank
Forgetting to run npm install after cd
✗ Incorrect
Use 'my-remix-app' as the folder name with the --typescript flag.
5fill in blank
hardFill all three blanks to create a Remix project named 'blog', use the JavaScript template, and start the dev server.
Remix
npm create remix@latest [1] && cd [2] && npm [3] dev
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using --template or --app-name instead of 'blog' for naming
Using 'npm start dev' instead of 'npm run dev'
Using wrong folder name in the second blank
✗ Incorrect
Use 'blog' as the project name, then 'npm run dev' to start the server.