From 763cd6fb9c122d7d5c840bd9dd35492553fef18e Mon Sep 17 00:00:00 2001 From: Ruth Baker <33294286+ruthmoog@users.noreply.github.com> Date: Mon, 26 Aug 2019 11:38:15 +0100 Subject: [PATCH] Correct minor typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates to Step 9, saving your blogpost This will make spelling of 'JavaScript' consistent throughout this doc and correct a minor typo 👍 --- .../tutorial/step-9-saving-your-blog-post.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intro-to-backend-development-with-node.js/tutorial/step-9-saving-your-blog-post.md b/intro-to-backend-development-with-node.js/tutorial/step-9-saving-your-blog-post.md index 254f208..d735524 100644 --- a/intro-to-backend-development-with-node.js/tutorial/step-9-saving-your-blog-post.md +++ b/intro-to-backend-development-with-node.js/tutorial/step-9-saving-your-blog-post.md @@ -18,7 +18,7 @@ You'll note that in the data folder there's a new file called `posts.json`. JSON is a type of file for structuring data in a readable way. It is also a really popular format for sending data across the web. -JSON is a string representation of a Javascript object. JSON objects convert really easily to Javascript objects, and vice versa, with `JSON.parse()` and `JSON.stringify()`. +JSON is a string representation of a JavaScript object. JSON objects convert really easily to JavaScript objects, and vice versa, with `JSON.parse()` and `JSON.stringify()`. \(If you're not sure about JavaScript objects, have a chat with your mentor and your team.\) @@ -133,7 +133,7 @@ console.log(file.toString()); ## Converting from JSON to JavaScript object -`file` is in JSON format right now. If we want to access the blog post message inside `file`, we need to parse it from JSON back to a JavaScipt object. +`file` is in JSON format right now. If we want to access the blog post message inside `file`, we need to parse it from JSON back to a JavaScript object. Add this next bit of code to your `fs.readFile`'s callback function: