Skip to content

Commit 1645e9d

Browse files
authored
Merge pull request ironhack-labs#459 from ironhack-webdev-squad-141/master
Removed prompt
2 parents 1cdaae1 + cf89a01 commit 1645e9d

File tree

2 files changed

+5
-23
lines changed

2 files changed

+5
-23
lines changed

README.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Ready?
1010

1111
## Introduction
1212

13-
For this Pair-Programming activity we are going to use a [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop). You can fine a REPL that runs in the browser for programming languages as JavaScript in [repl.it](https://repl.it/)
13+
For this Pair-Programming activity we are going to use a [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop). You can find a REPL that runs in the browser for programming languages as JavaScript in [repl.it](https://repl.it/)
1414

1515
We could also type JavaScript code in an editor, and then execute it to see the results in the REPL.
1616

@@ -46,7 +46,7 @@ When you are done and you have checked that everything works fine, go to https:/
4646

4747
2. Print `"The driver's name is XXXX"`
4848

49-
3. Create a variable `hacker2` and [ask the user](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt) for the navigator's name
49+
3. Create a variable `hacker2` with the navigator's name
5050

5151
4. Print `"The navigator's name is YYYY"`
5252

@@ -72,24 +72,13 @@ When you are done and you have checked that everything works fine, go to https:/
7272

7373
### Bonus Time!
7474

75-
9. Ask the user for a new string and check if it's a [Palindrome](https://en.wikipedia.org/wiki/Palindrome). Examples of palindromes:
76-
- "A man, a plan, a canal, Panama!"
77-
- "Amor, Roma"
78-
- "race car"
79-
- "stack cats"
80-
- "step on no pets"
81-
- "taco cat"
82-
- "put it up"
83-
- "Was it a car or a cat I saw?" and "No 'x' in Nixon".
84-
85-
10. Go to [lorem ipsum generator](http://www.lipsum.com/) and:
86-
- Generate 3 parragraphs. Store the text in a String
75+
9. Go to [lorem ipsum generator](http://www.lipsum.com/) and:
76+
- Generate 3 paragraphs. Store the text in a String
8777
- Make your program count the number of words in the string
88-
- Make your program count the number of times the latin word [`et`](https://en.wiktionary.org/wiki/et#Latin)appears
78+
- Make your program count the number of times the latin word [`et`](https://en.wiktionary.org/wiki/et#Latin) appears
8979

9080
## Extra Resources
9181

92-
- [prompt() - MDN](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt) | Ask user for input
9382
- [String - MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)
9483
- [if - MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else)
9584
- [while - MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/while)

starter-code/basic-algorithms.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)