mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-18 07:03:01 -04:00
fix(curriculum): update hint text to 'You should have' in the Luhn algorithm challenge (#55853)
This commit is contained in:
@@ -11,7 +11,7 @@ Change the value of `card_number` such that `'INVALID!'` is printed to the conso
|
||||
|
||||
# --hints--
|
||||
|
||||
You could have `card_number = '4111-1111-4555-1141'` within the main function.
|
||||
You should have `card_number = '4111-1111-4555-1141'` within the main function.
|
||||
|
||||
```js
|
||||
({
|
||||
|
||||
@@ -11,7 +11,7 @@ Reverse the order of the digits in the last four digits of `card_number`, by usi
|
||||
|
||||
# --hints--
|
||||
|
||||
You could have `card_number_reversed = card_number[-1:-5:-1]` within the `verify_card_number` function. Expected `--fcc-actual--` to equal `--fcc-expected--`.
|
||||
You should have `card_number_reversed = card_number[-1:-5:-1]` within the `verify_card_number` function. Expected `--fcc-actual--` to equal `--fcc-expected--`.
|
||||
|
||||
```js
|
||||
({
|
||||
|
||||
Reference in New Issue
Block a user