Skip to content

Commit b89694d

Browse files
authored
Update README.md
1 parent 05363bf commit b89694d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,24 @@ _You should make a PR (stands for Pull Request) as soon as you make any signific
5454

5555
### Iteration 1: Names and Input
5656

57-
1.1 Create a variable `hacker1` with the driver's name.
57+
1.1 Create a variable `hacker1` with the driver's name.
5858

59-
1.2 Print `"The driver's name is XXXX"`.
59+
1.2 Print `"The driver's name is XXXX"`.
6060

61-
1.3 Create a variable `hacker2` with the navigator's name.
61+
1.3 Create a variable `hacker2` with the navigator's name.
6262

63-
1.4 Print `"The navigator's name is YYYY"`.
63+
1.4 Print `"The navigator's name is YYYY"`.
6464

6565
### Iteration 2: Conditionals
66-
66+
<br>
6767
2.1. Depending on which name [is longer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length), print:
6868
<br>
6969
- `The driver has the longest name, it has XX characters.` or <br>
7070
- `It seems that the navigator has the longest name, it has XX characters.` or <br>
7171
- `Wow, you both have equally long names, XX characters!`.
7272

7373
### Iteration 3: Loops
74-
74+
<br>
7575
3.1 Print all the characters of the driver's name, separated by a space and [in capitals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase)
7676
i.e. `"J O H N"`
7777

@@ -86,13 +86,14 @@ _You should make a PR (stands for Pull Request) as soon as you make any signific
8686
### Bonus Time!
8787

8888
#### Bonus 1:
89+
<br>
8990
Go to [lorem ipsum generator](http://www.lipsum.com/) and:
9091
- Generate 3 paragraphs. Store the text in a variable type of string.
9192
- Make your program count the number of words in the string.
9293
- Make your program count the number of times the Latin word [`et`](https://en.wiktionary.org/wiki/et#Latin) appears.
9394

9495
#### Bonus 2:
95-
96+
<br>
9697
Create a new variable `phraseToCheck` and have it contain some string value. Write a code that will check if the value we assigned to this variable is a [Palindrome](https://en.wikipedia.org/wiki/Palindrome). Here are some examples of palindromes:
9798
- "A man, a plan, a canal, Panama!"
9899
- "Amor, Roma"

0 commit comments

Comments
 (0)