8000 Capitalize 'Hint'-subtitles · MaxCodeXTC/javascript-exercises@35f797f · GitHub
[go: up one dir, main page]

Skip to content

Commit 35f797f

Browse files
Capitalize 'Hint'-subtitles
1 parent c17c207 commit 35f797f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

leapYears/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ leapYears(1985) // is not a leap year: returns false
1010
```
1111

1212

13-
## hints
13+
## Hints
1414
- use an `if` statement and `&&` to make sure all the conditions are met properly

removeFromArray/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ remove([1,2,3,4], 3) // should remove 3 and return [1,2,4]
88

99

1010

11-
## hints
11+
## Hints
1212
the first test on this one is fairly easy, but there are a few things to think about(or google) here for the later tests:
1313
- how to remove a single element from an array
1414
- how to deal with multiple optional arguments in a javascript function

reverseString/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ You will notice in this exercise that there are multiple tests, after making the
1111

1212

1313

14-
## hints
14+
## Hints
1515
Strings in JavaScript cannot be reversed directly so you're going to have to split it into something else first.. do the reversal and then join it back together into a string.

sumAll/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sumAll(1, 4) // returns the sum of 1 + 2 + 3 + 4 which is 10
77
```
88

99

10-
## hints
10+
## Hints
1111

1212
Think about how you would do this on pen and paper and then how you might translate that process into code:
1313
- create a variable to hold the final sum

tempConversion/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Because we are human, we want the result temperature to be rounded to one decima
1111

1212
This exercise asks you to create more than one function so the `module.exports` section of the spec file looks a little different this time. Nothing to worry about, we're just packaging both functions into a single object to be exported.
1313

14-
## hints
14+
## Hints
1515
- You can find the relevant formulae on [Wikipedia](https://en.wikipedia.org/wiki/Conversion_of_units_of_temperature).
1616

1717
- Try to find by yourself on the Internet how to round a number to 1 decimal place in JavaScript. If you struggle, have a look [here](https://stackoverflow.com/q/7342957/5433628).

0 commit comments

Comments
 (0)
0