From 5681c65336833540a5adf157b4dacdd9852b42d6 Mon Sep 17 00:00:00 2001
From: Jan-Mikael Rybicki <jan-mikael.rybicki@aalto.fi>
Date: Thu, 23 Jan 2020 20:13:56 +0200
Subject: [PATCH] Proofread the instructions. Only minor changes.

---
 content.js | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/content.js b/content.js
index 5df80fe..08bd04c 100644
--- a/content.js
+++ b/content.js
@@ -5,7 +5,7 @@
 let Content = {
 
   click_for_points: {
-    instructions: "This is an example of how automatically graded assignments appear on this course. Always <strong>carefully read assignment instruction</strong> before starting to do anything. At this time there is no problem to solve. You are just expected to click the button on left to receive your first points.",
+    instructions: "This is an example of how automatically graded assignments appear in this course. Always <strong>carefully read assignment instructions</strong> before starting to do anything. At this time, there is no problem to solve. You are only expected to click the button on left to receive your first points.",
     html: "<button class=\"green\">Click Me!</button>",
     selector: ".exercise button",
     events: "click",
@@ -17,13 +17,13 @@ let Content = {
     },
     maxPoints: 10,
     title: "Click for points",
-    description: "An example of how these assignments work",
+    description: "An example of how these assignments work.",
     concepts: ["Automatic assessment"],
     order: 0
   },
 
   fix_typo: {
-    instructions: "On the left you see a message that unfortunately contains a typo. Your task is to open the browser inspector tool, find the paragraph element <strong>&lt;p&gt;</strong> containing the message and then edit the element body to correctly contain the intended message \"<strong>Hello World!</strong>\".",
+    instructions: "On the left, you see a message that unfortunately contains a typo. Your task is to open the browser inspector tool, find the paragraph element <strong>&lt;p&gt;</strong> containing the message and then edit the element body correctly to contain the intended message \"<strong>Hello World!</strong>\".",
     html: "<div class=\"acos-webdev-poi\"><p>Hello Wordl!</p></div>",
     mutations: true,
     points: function ($element, config, mutations) {
@@ -37,7 +37,7 @@ let Content = {
         if ($p.eq(0).text() != 'Hello World!') {
           return {
             points: 5,
-            feedback: 'Almost there! You were able to change the node contents but the message is not exactly as requested.'
+            feedback: 'Almost there! You were able to change the node contents, but the message is not exactly as requested.'
           };
         } else {
           return {
@@ -56,7 +56,7 @@ let Content = {
   },
 
   change_color: {
-    instructions: "The blue area on left contains barely visible text. Your task is to use the browser inspector tool to locate the paragraph element <strong>&lt;p&gt;</strong> containing the barely visible text and then add a CSS property to apply another <strong>color</strong>. <em>Note that editing existing CSS rules does not grade the exercise.</em>",
+    instructions: "The blue area on left contains barely visible text. Your task is to use the browser inspector tool and locate the paragraph element <strong>&lt;p&gt;</strong> containing the barely visible text and then add a CSS property to apply another <strong>color</strong>. <em>Note that editing existing CSS rules does not grade the exercise.</em>",
     html: "<div class=\"acos-webdev-poi blue\" style=\"max-width: 280px;\"><p>The quick brown fox jumps over the lazy dog's back.</p></div>",
     mutations: true,
     points: function ($element, config, mutations) {
@@ -70,7 +70,7 @@ let Content = {
         config.graded = true;
         return {
           points: 10,
-          feedback: 'Excellent! You changed the color of that text.'
+          feedback: 'Excellent! You changed the color of the text.'
         };
       }
       return undefined;
@@ -83,7 +83,7 @@ let Content = {
   },
 
   disabled_button: {
-    instructions: "You need to click the button on left to receive your points on this assigment. Too bad that the button is disabled. Your task is to use the browser inspector tool to locate the <strong>button</strong>, remove the <strong>disabled</strong> attribute and finally click it.",
+    instructions: "You need to click the button on the left to receive your points from this assigment. Too bad that the button is disabled. Your task is to use the browser inspector tool to locate the <strong>button</strong>, remove the <strong>disabled</strong> attribute and finally click it.",
     html: "<button class=\"green\" disabled>Click Me!</button>",
     selector: ".exercise button",
     events: "click",
@@ -101,7 +101,7 @@ let Content = {
   },
 
   console_command: {
-    instructions: "This time the area on left does not have any visible content. However, this exercise defines a JavaScript function that can grant you points. Your task is to use the browser console to call the function like this: <code>giveMePoints();</code>",
+    instructions: "This time the area on the left does not have any visible content. However, this exercise defines a JavaScript function that can grant you points. Your task is to use the browser console to call the function like this: <code>giveMePoints();</code>",
     html: "<div id=\"events\"></div>",
     script: function giveMePoints() {
       window.postMessage('grade');
-- 
GitLab