mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): daily challenge typos (#62103)
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ Given a string containing one or more words, return an acronym of the words usin
|
||||
|
||||
- The acronym should consist of the first letter of each word capitalized, unless otherwise noted.
|
||||
- The acronym should ignore the first letter of these words unless they are the first word of the given string: `a`, `for`, `an`, `and`, `by`, and `of`.
|
||||
- The acronym letters should be returned in order they are given.
|
||||
- The acronym letters should be returned in the order they are given.
|
||||
- The acronym should not contain any spaces.
|
||||
|
||||
# --hints--
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ dashedName: challenge-33
|
||||
|
||||
# --description--
|
||||
|
||||
Given an input array of seven integers, representing a weeks time, where each integer is the amount of hours spent on your phone that day, determine if it is too much screen time based on these constraints:
|
||||
Given an input array of seven integers, representing a week's time, where each integer is the amount of hours spent on your phone that day, determine if it is too much screen time based on these constraints:
|
||||
|
||||
- If any single day has 10 hours or more, it's too much.
|
||||
- If the average of any three days in a row is greater than or equal to 8 hours, it’s too much.
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ dashedName: challenge-38
|
||||
|
||||
# --description--
|
||||
|
||||
Given a string, return a URL friendly version of the string using the following constraints:
|
||||
Given a string, return a URL-friendly version of the string using the following constraints:
|
||||
|
||||
- All letters should be lowercase.
|
||||
- All characters that are not letters, numbers, or spaces should be removed.
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ dashedName: challenge-42
|
||||
|
||||
Given a video size, a unit for the video size, a hard drive capacity, and a unit for the hard drive, return the number of videos the hard drive can store using the following constraints:
|
||||
|
||||
- The unit for the video size can be bytes (`"B"`), kilobytes (`"KB"`), or megabytes (`"MB"`), or gigabytes (`"GB"`).
|
||||
- The unit for the video size can be bytes (`"B"`), kilobytes (`"KB"`), megabytes (`"MB"`), or gigabytes (`"GB"`).
|
||||
- If not given one of the video units above, return `"Invalid video unit"`.
|
||||
- The unit of the hard drive capacity can be gigabytes (`"GB"`) or terabytes (`"TB"`).
|
||||
- If not given one of the hard drive units above, return `"Invalid drive unit"`.
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ Given a phone number in the format `"+A (BBB) CCC-DDDD"`, where each letter repr
|
||||
|
||||
- `A` represents the country code and can be any number of digits.
|
||||
- `BBB` represents the area code and will always be three digits.
|
||||
- `CCC` and `DDDD` represent the local number and will always three and four digits long, respectively.
|
||||
- `CCC` and `DDDD` represent the local number and will always be three and four digits long, respectively.
|
||||
|
||||
Determine if it's a spam number based on the following criteria:
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ Given a string containing one or more words, return an acronym of the words usin
|
||||
|
||||
- The acronym should consist of the first letter of each word capitalized, unless otherwise noted.
|
||||
- The acronym should ignore the first letter of these words unless they are the first word of the given string: `a`, `for`, `an`, `and`, `by`, and `of`.
|
||||
- The acronym letters should be returned in order they are given.
|
||||
- The acronym letters should be returned in the order they are given.
|
||||
- The acronym should not contain any spaces.
|
||||
|
||||
# --hints--
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ dashedName: challenge-33
|
||||
|
||||
# --description--
|
||||
|
||||
Given an input array of seven integers, representing a weeks time, where each integer is the amount of hours spent on your phone that day, determine if it is too much screen time based on these constraints:
|
||||
Given an input array of seven integers, representing a week's time, where each integer is the amount of hours spent on your phone that day, determine if it is too much screen time based on these constraints:
|
||||
|
||||
- If any single day has 10 hours or more, it's too much.
|
||||
- If the average of any three days in a row is greater than or equal to 8 hours, it’s too much.
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ dashedName: challenge-38
|
||||
|
||||
# --description--
|
||||
|
||||
Given a string, return a URL friendly version of the string using the following constraints:
|
||||
Given a string, return a URL-friendly version of the string using the following constraints:
|
||||
|
||||
- All letters should be lowercase.
|
||||
- All characters that are not letters, numbers, or spaces should be removed.
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ dashedName: challenge-42
|
||||
|
||||
Given a video size, a unit for the video size, a hard drive capacity, and a unit for the hard drive, return the number of videos the hard drive can store using the following constraints:
|
||||
|
||||
- The unit for the video size can be bytes (`"B"`), kilobytes (`"KB"`), or megabytes (`"MB"`), or gigabytes (`"GB"`).
|
||||
- The unit for the video size can be bytes (`"B"`), kilobytes (`"KB"`), megabytes (`"MB"`), or gigabytes (`"GB"`).
|
||||
- If not given one of the video units above, return `"Invalid video unit"`.
|
||||
- The unit of the hard drive capacity can be gigabytes (`"GB"`) or terabytes (`"TB"`).
|
||||
- If not given one of the hard drive units above, return `"Invalid drive unit"`.
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ Given a phone number in the format `"+A (BBB) CCC-DDDD"`, where each letter repr
|
||||
|
||||
- `A` represents the country code and can be any number of digits.
|
||||
- `BBB` represents the area code and will always be three digits.
|
||||
- `CCC` and `DDDD` represent the local number and will always three and four digits long, respectively.
|
||||
- `CCC` and `DDDD` represent the local number and will always be three and four digits long, respectively.
|
||||
|
||||
Determine if it's a spam number based on the following criteria:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user