Skip to content

Commit a9597d0

Browse files
committed
add repls links
1 parent ba8b121 commit a9597d0

File tree

31 files changed

+62
-0
lines changed

31 files changed

+62
-0
lines changed

modules/10-basics/20-comments/description.en.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ theory: |
2828
console.log('I am the King');
2929
```
3030
31+
https://replit.com/@hexlet/helloworld
32+
3133
Such comments usually clarify the purpose of pieces of code.
3234
3335
instructions: |

modules/10-basics/20-comments/description.ru.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ theory: |
4141
console.log('I am the King');
4242
```
4343
44+
https://replit.com/@hexlet/helloworld
45+
4446
Такие комментарии, обычно, используют для документирования кода, например, функций.
4547
4648
instructions: |

modules/25-strings/20-string-concatenation/description.en.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ theory: |
5050
console.log("King's " + ' Landing'); // => King's Landing
5151
```
5252
53+
https://replit.com/@hexlet/js-basics-strings
54+
5355
instructions: |
5456
5557
Print the following code

modules/25-strings/20-string-concatenation/description.ru.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ theory: |
4949
console.log("King's " + ' Landing'); // => King's Landing
5050
```
5151
52+
https://replit.com/@hexlet/js-basics-strings
53+
5254
instructions: |
5355
5456
Выведите на экран

modules/30-variables/18-variable-concatenation/description.en.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ theory: |
2929
console.log(what); // => 'Kingsroad'
3030
```
3131
32+
https://replit.com/@hexlet/variables-expression
33+
3234
instructions: |
3335
3436
Websites are constantly sending emails to their users. A common task is to automatically send a personalized email with the user's name in the header. IIf you store a person's name as a string somewhere in a website database, the task of generating the header boils down to concatenation. For instance, you have to concatenate the string `Hello` with a string containing their name.

modules/30-variables/18-variable-concatenation/description.ru.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ theory: |
2929
console.log(what); // => 'Kingsroad'
3030
```
3131
32+
https://replit.com/@hexlet/variables-expression
33+
3234
instructions: |
3335
3436
Сайты постоянно посылают письма своим пользователям. Типичная задача — сделать автоматическую отправку персонального письма, где в заголовке будет имя пользователя. Если где-то в базе сайта хранится имя человека в виде строки, то задача генерации заголовка сводится к конкатенации: например, нужно склеить строку `Здравствуйте` со строкой, где записано имя.

modules/30-variables/23-constants/description.en.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ theory: |
2828
console.log(rubles);
2929
```
3030
31+
https://replit.com/@hexlet/js-basics-variables
32+
3133
The only change here is syntactical: the keyword `let` has been replaced by `const`. Now if we try to change any constant, we get an error message. Otherwise, it behaves the same way as a variable.
3234
3335
```javascript

modules/30-variables/23-constants/description.ru.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ theory: |
2828
console.log(rubles);
2929
```
3030
31+
https://replit.com/@hexlet/js-basics-variables
32+
3133
Единственное изменение заключается в том, что ключевое слово `let` заменилось на `const`, но это только синтаксис. Теперь, если попытаться изменить любую константу, то мы получим сообщение об ошибке. В остальном они используются точно так же, как и переменные.
3234
3335
```javascript

modules/30-variables/25-interpolation/description.en.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ theory: |
2727
// => 'Hello, Joffrey!'
2828
```
2929
30+
https://replit.com/@hexlet/js-basics-interpolation
31+
3032
We simply create a string and "insert" constants in proper places using the dollar sign and curly brackets `${ }`. It's like we have a blank form where we can enter the desired values. And we no longer have to worry about separate strings for punctuation marks and spaces – all of these characters already exist in our template string.
3133
3234
You can create as many of these blocks as you want in a single string.

modules/30-variables/25-interpolation/description.ru.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ theory: |
2727
// => 'Hello, Joffrey!'
2828
```
2929
30+
https://replit.com/@hexlet/js-basics-interpolation
31+
3032
Мы просто создали одну строку и «вставили» в неё в нужные места константы с помощью знака доллара и фигурных скобок `${ }`. Получился как будто бланк, куда внесены нужные значения. И нам не нужно больше заботиться об отдельных строках для знаков препинания и пробелов — все эти символы просто записаны в этой строке-шаблоне.
3133
3234
В одной строке можно делать сколько угодно подобных блоков.

0 commit comments

Comments
 (0)