Skip to content
Snippets Groups Projects
Commit 5681c653 authored by Jan-Mikael Rybicki's avatar Jan-Mikael Rybicki
Browse files

Proofread the instructions. Only minor changes.

parent 0b66af93
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
let Content = { let Content = {
click_for_points: { 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>", html: "<button class=\"green\">Click Me!</button>",
selector: ".exercise button", selector: ".exercise button",
events: "click", events: "click",
...@@ -17,13 +17,13 @@ let Content = { ...@@ -17,13 +17,13 @@ let Content = {
}, },
maxPoints: 10, maxPoints: 10,
title: "Click for points", title: "Click for points",
description: "An example of how these assignments work", description: "An example of how these assignments work.",
concepts: ["Automatic assessment"], concepts: ["Automatic assessment"],
order: 0 order: 0
}, },
fix_typo: { 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>", html: "<div class=\"acos-webdev-poi\"><p>Hello Wordl!</p></div>",
mutations: true, mutations: true,
points: function ($element, config, mutations) { points: function ($element, config, mutations) {
...@@ -37,7 +37,7 @@ let Content = { ...@@ -37,7 +37,7 @@ let Content = {
if ($p.eq(0).text() != 'Hello World!') { if ($p.eq(0).text() != 'Hello World!') {
return { return {
points: 5, 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 { } else {
return { return {
...@@ -56,7 +56,7 @@ let Content = { ...@@ -56,7 +56,7 @@ let Content = {
}, },
change_color: { 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>", 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, mutations: true,
points: function ($element, config, mutations) { points: function ($element, config, mutations) {
...@@ -70,7 +70,7 @@ let Content = { ...@@ -70,7 +70,7 @@ let Content = {
config.graded = true; config.graded = true;
return { return {
points: 10, points: 10,
feedback: 'Excellent! You changed the color of that text.' feedback: 'Excellent! You changed the color of the text.'
}; };
} }
return undefined; return undefined;
...@@ -83,7 +83,7 @@ let Content = { ...@@ -83,7 +83,7 @@ let Content = {
}, },
disabled_button: { 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>", html: "<button class=\"green\" disabled>Click Me!</button>",
selector: ".exercise button", selector: ".exercise button",
events: "click", events: "click",
...@@ -101,7 +101,7 @@ let Content = { ...@@ -101,7 +101,7 @@ let Content = {
}, },
console_command: { 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>", html: "<div id=\"events\"></div>",
script: function giveMePoints() { script: function giveMePoints() {
window.postMessage('grade'); window.postMessage('grade');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment