Skip to content

Commit 1a54850

Browse files
committed
Add a (short) story
1 parent ac3bd9d commit 1a54850

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ your IDE should open up. You'll see a sidebar like this:
4949

5050
![learn IDE sidebar](https://curriculum-content.s3.amazonaws.com/skills-based-js/learn_ide_sidebar.png)
5151

52-
If you open up that "javascript-logging-lab..." folder, you'll see a list of files (along with a test/ directory). Click `index.js`, and it will open in the editor.
52+
If you open up that "javascript-logging-lab..." folder, you'll see a list of files (along with a test/ directory). Click `index.js`, and it will open in the editor.
5353

5454
In `index.js`, you should see, well, nothing. We'll fix that soon.
5555

@@ -140,6 +140,17 @@ We'll try to rewrite these error messages when possible to be more descriptive a
140140

141141
Now it's your turn — can you follow a flow similar to the one we followed together above to get the remaining to tests to pass?
142142

143+
Imagine that you're building the user interface for a fancy ATM machine.
144+
Because the developers are hip with the latest trends, they're using
145+
JavaScript for the user-facing parts.
146+
147+
We need a way to send messages to the user: some messages are just updates,
148+
some are warnings (the user should not continue doing what they just did),
149+
and some are errors (something broke, and we need to recover).
150+
151+
Your job is to identify a way of sending each kind of message. Hint: in
152+
JavaScript, you'll probably find ways of telling users things with `console`.
153+
143154
When all of your tests pass, be sure to run `learn submit` to move on to the next lesson.
144155

145156
## Resources

0 commit comments

Comments
 (0)