Skip to content

Commit 0adebcd

Browse files
committed
touchups to markdown
1 parent 76d7bb0 commit 0adebcd

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Additionally, create a unit test that validates the operation.
102102

103103
From now on, you will have to create the unit tests for every new operation. Wasn't it easy with Copilot?
104104

105-
- **/DaysBetweenDates**:
105+
- **/daysbetweendates**:
106106

107107
- calculate days between two dates
108108
- receive by query string two parameters `date1` and `date2`, and calculate the days between those two dates.
@@ -129,19 +129,23 @@ From now on, you will have to create the unit tests for every new operation. Was
129129
- **/returncolorcode**:
130130

131131
- receive by querystring a parameter called color
132-
- read colors.json file and return the rgba field
132+
- read colors.json file under resources and return the rgba field
133133
- get color var from querystring
134134
- iterate for each color in colors.json to find the color
135-
- return the code.hex field
135+
- return the hex field
136+
- return 404 if not found
136137

137-
> **_NOTE:_** Lets try Copilot chat now. Paste the above information and make it as detailed as possible in the Copilot chat text box. Copilot will use by default the open file as context in order to generate the suggestion.
138+
> **_NOTE:_** Hint: Use TDD. Start by creating the unit test and then implement the code.
139+
> Lets try Copilot chat now.
140+
> Paste the above information and make it as detailed as possible in the Copilot chat text box.
141+
> Copilot will use by default the open file as context in order to generate the suggestion.
138142
139143
- **/tellmeajoke**:
140144

141145
- Make a call to the joke api and return a random joke - <https://api.chucknorris.io/jokes/random>
142146

143147
> **_NOTE:_** Here's example where you might need to use you own knowledge and judgement
144-
> to validate that Copilot follows best practices. Just because Copilot mimic
148+
> to validate that Copilot follows best practices. Just because Copilot mimics
145149
> what many developers do, doesn't always mean it's the correct way. You might need
146150
> to be extra specific in your prompt to let Copilot know what's best practices.
147151

0 commit comments

Comments
 (0)