Skip to content

Commit 2565160

Browse files
authored
Update part3d.md
Removed validation ambiguity from exercise 3.20, fixed typo.
1 parent 7aa385d commit 2565160

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/3/en/part3d.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ You can display the default error message returned by Mongoose, even though they
175175

176176
#### 3.20*: Phonebook database, step8
177177

178-
Add validation to your phonebook application, which will make sure that phone numbers are of the correct form. A phone number must
178+
Add validation to your phonebook application, which will make sure that phone numbers are of the correct form. A phone number must:
179179

180-
- has length of 8 or more
181-
- if formed of two parts that are separated by -, the first part has two or three numbers and the second part also consists of numbers
180+
- have length of 8 or more
181+
- be formed of two parts that are separated by -, the first part has two or three numbers and the second part also consists of numbers
182182
- eg. 09-1234556 and 040-22334455 are valid phone numbers
183183
- eg. 1234556, 1-22334455 and 10-22-334455 are invalid
184184

0 commit comments

Comments
 (0)