mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): typos and grammar errors (#65951)
Co-authored-by: umutKaracelebi <umutkaracelebi@example.com> Co-authored-by: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ dashedName: set-up-the-environment
|
||||
|
||||
The following challenges will make use of the `chat.pug` file. So, in your `routes.js` file, add a GET route pointing to `/chat` which makes use of `ensureAuthenticated`, and renders `chat.pug`, with `{ user: req.user }` passed as an argument to the response. Now, alter your existing `/auth/github/callback` route to set the `req.session.user_id = req.user.id`, and redirect to `/chat`.
|
||||
|
||||
`socket.io@~2.3.0` has already been added as a dependency, so require/instantiate it in your server as follows with `http` (comes built-in with Nodejs):
|
||||
`socket.io@~2.3.0` has already been added as a dependency, so require/instantiate it in your server as follows with `http` (comes built-in with Node.js):
|
||||
|
||||
```javascript
|
||||
const http = require('http').createServer(app);
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ dashedName: what-is-vite-and-how-can-it-be-used-to-set-up-a-new-react-project
|
||||
|
||||
# --description--
|
||||
|
||||
Unlike working with smaller vanilla HTML, CSS, and JavaScript projects, starting a new React project includes a few more steps to ensure that everything runs correctly. Instead of trying to set up of all of the necessary configurations by yourself, there are tools that will do that for you.
|
||||
Unlike working with smaller vanilla HTML, CSS, and JavaScript projects, starting a new React project includes a few more steps to ensure that everything runs correctly. Instead of trying to set up all of the necessary configurations by yourself, there are tools that will do that for you.
|
||||
|
||||
One of the most popular tools for setting up projects is Vite. Vite, which means "fast" in French, is a build tool that aims to provide a faster development experience for modern web projects. Vite can be used with React, as well as with other libraries and frameworks like Vue or Svelte. You can even use it with vanilla JavaScript projects.
|
||||
|
||||
|
||||
+3
-3
@@ -211,7 +211,7 @@ It is a collection of third-party libraries that need to be installed separately
|
||||
|
||||
### --feedback--
|
||||
|
||||
Think about what "standard" means in the content of the Python Standard Library.
|
||||
Think about what "standard" means in the context of the Python Standard Library.
|
||||
|
||||
---
|
||||
|
||||
@@ -219,7 +219,7 @@ It is the core syntax of the Python language itself.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Think about what "standard" means in the content of the Python Standard Library.
|
||||
Think about what "standard" means in the context of the Python Standard Library.
|
||||
|
||||
---
|
||||
|
||||
@@ -227,7 +227,7 @@ It consists of external libraries written in other programming languages.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Think about what "standard" means in the content of the Python Standard Library.
|
||||
Think about what "standard" means in the context of the Python Standard Library.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ dashedName: step-9
|
||||
|
||||
Next up, you are going to enlarge the checkboxes for better visibility.
|
||||
|
||||
Begin by setting up a selector for `input`, but specifically targetting your `[type="checkbox"]`.
|
||||
Begin by setting up a selector for `input`, but specifically targeting your `[type="checkbox"]`.
|
||||
|
||||
Within your selector, set the `width` and the `height` to `20px`. This makes it larger than it was before.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user