Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,23 +211,23 @@ 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.

---

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.

---

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--

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Here’s an example of what the pseudocode for a program that prints all numbers
```md
When the user inputs a number
Initialize a counter variable and set its value to zero
While counter is smaller than user inputted number increment the counter by one
While counter is smaller than a user inputted number increment the counter by one
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is unnecessary, I think the language was correct since in pseudo code.

Print the value of the counter variable
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Loading