Skip to content

Commit 2107357

Browse files
committed
update readme - new logo, standard format with iterations, check grammar
1 parent 1645e9d commit 2107357

File tree

1 file changed

+38
-41
lines changed

1 file changed

+38
-41
lines changed

README.md

Lines changed: 38 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,78 @@
1-
![Ironhack Logo](https://i.imgur.com/1QgrNNw.png)
1+
![logo_ironhack_blue 7](https://user-images.githubusercontent.com/23629340/40541063-a07a0a8a-601a-11e8-91b5-2f13e4e6b441.png)
22

3-
# JS | Basic Algorithms
3+
# Lab | JS Basic Algorithms
44

5-
Welcome to your first bootcamp exercise at IronHack!
5+
Welcome to your first bootcamp exercise at Ironhack!
66

7-
The goal of this exercise is to get you acquainted with the different control structures we have in JavaScript.
7+
The goal of this exercise is to get you familiarized with the different data structures we have in JavaScript.
88

99
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 find a REPL that runs in the browser for programming languages as JavaScript in [repl.it](https://repl.it/)
14-
15-
We could also type JavaScript code in an editor, and then execute it to see the results in the REPL.
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 [https://repl.it/languages/nodejs](https://repl.it/languages/nodejs)
1614

1715
Ready to start?
1816

1917
## Requirements
2018

21-
- Go to [repl.it](https://repl.it/languages/javascript) and create an account (or login if you have one)
22-
- Open a new repl.it and make sure the language is ==JavaScript==
23-
- Type this in the ==Code Editor== (left panel)
19+
- Go to [repl.it](https://repl.it/languages/nodejs) and create an account (or login if you have one)
20+
- Type this in the *Code Editor* (left panel)
2421

2522
```javascript
26-
console.log("I'm Ready!");
23+
console.log("I'm ready!");
2724
```
2825
- Press `run ►`
29-
- If you can see the message on the JavaScript REPL, you're ready!!
26+
- If you can see the message in the right side panel, you are really ready!
3027

31-
![](https://i.imgur.com/4TQislb.png)
28+
<!-- ![](https://i.imgur.com/4TQislb.png) -->
29+
![](https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_17f095b9bb4fa4bd1bee1c017c043327.png)
3230

3331
## Submission
3432

35-
When you are done and you have checked that everything works fine, go to https://gist.github.com/, create a new [secret gist](https://help.github.com/articles/about-gists/#secret-gists) and send it to your Instructor.
36-
37-
![](https://i.imgur.com/ux5em6j.png)
33+
When you are done and you have checked that everything works fine, click on the **Share** button and copy the link from the *Share Link* field. Send this link to your TAs so they can check up your work.
34+
35+
![](https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_a4256fa95d57930c482bfa90bc7924c4.png =400x)
3836

39-
**Remember:** Remember to add the extension of the file `fileName`**.js** in the *"Filename including extension"* input box so you can enjoy [syntax highlighting](https://en.wikipedia.org/wiki/Syntax_highlighting) in your gist
4037

41-
## Exercise
38+
## Instructions
4239

43-
### Names and Input
40+
### Iteration 1: Names and Input
4441

45-
1. Create a variable `hacker1` with the driver's name
42+
1.1 Create a variable `hacker1` with the driver's name.
4643

47-
2. Print `"The driver's name is XXXX"`
44+
1.2 Print `"The driver's name is XXXX"`.
4845

49-
3. Create a variable `hacker2` with the navigator's name
46+
1.3 Create a variable `hacker2` with the navigator's name.
5047

51-
4. Print `"The navigator's name is YYYY"`
48+
1.4 Print `"The navigator's name is YYYY"`.
5249

53-
### Conditionals
50+
### Iteration 2: Conditionals
5451

55-
5. Depending on which name [is longer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length), print:
56-
- `The Driver has the longest name, it has XX characters` or
57-
- `Yo, navigator got the longest name, it has XX characters` or
58-
- `wow, you both got equally long names, XX characters!!`
52+
2.1. Depending on which name [is longer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length), print:
53+
- `The Driver has the longest name, it has XX characters` or
54+
- `Yo, navigator got the longest name, it has XX characters` or
55+
- `Wow, you both got equally long names, XX characters!`
5956

60-
### Loops
57+
### Iteration 3: Loops
6158

62-
6. 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)
63-
ie. `"J O H N"`
59+
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)
60+
i.e. `"J O H N"`
6461

65-
7. Print all the characters of the navigator's name, in reverse order.
66-
ie. `"nhoJ"`
62+
3.2 Print all the characters of the navigator's name, in reverse order.
63+
i.e. `"nhoJ"`
6764

68-
8. Depending on the [lexicographic order](https://en.wikipedia.org/wiki/Lexicographical_order) of the strings, print:
69-
- `The driver's name goes first`
70-
- `Yo, the navigator goes first definitely`
71-
- `What?! You both got the same name?`
65+
3.3 Depending on the [lexicographic order](https://en.wikipedia.org/wiki/Lexicographical_order) of the strings, print:
66+
- `The driver's name goes first.`
67+
- `Yo, the navigator goes first definitely.`
68+
- `What?! You both got the same name?`
7269

7370
### Bonus Time!
7471

75-
9. Go to [lorem ipsum generator](http://www.lipsum.com/) and:
76-
- Generate 3 paragraphs. Store the text in a String
77-
- Make your program count the number of words in the string
78-
- Make your program count the number of times the latin word [`et`](https://en.wiktionary.org/wiki/et#Latin) appears
72+
Go to [lorem ipsum generator](http://www.lipsum.com/) and:
73+
- Generate 3 paragraphs. Store the text in a variable type of string.
74+
- Make your program count the number of words in the string.
75+
- Make your program count the number of times the Latin word [`et`](https://en.wiktionary.org/wiki/et#Latin) appears.
7976

8077
## Extra Resources
8178

0 commit comments

Comments
 (0)