From 2136eefdcc1bb2c33a894a49aac230dc0c24dd2d Mon Sep 17 00:00:00 2001 From: Lassi Haaranen <lassi.haaranen@aalto.fi> Date: Thu, 13 Feb 2020 18:59:02 +0200 Subject: [PATCH] Modify the text in 'change_border_color' a bit --- content.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content.js b/content.js index d8d051d..cd69559 100644 --- a/content.js +++ b/content.js @@ -297,7 +297,7 @@ let Content = { order: 7 }, change_border_color: { - instructions: "Change the border color and the background color of the element on the left. Use any value that you prefer. In order to get the points you will have to use the developer tools console, and change the color in the <em>element</em> selector. Also remeber that the values you use should be valid ones.", + instructions: "This looks quite horrible, please change the border color and the background color of the element on the left. You can use any value you prefer. In order to get the points you will have to use the developer tools console, and change the color in the <em>element</em> selector. Also remeber that the values you use should be valid ones.", html: ` <style> div#color-element { @@ -310,7 +310,7 @@ let Content = { <form method="post" action="" id="color-form"> <div id="color-element" style="border-color: rgb(47, 252, 252); background-color: rgb(252, 47, 252);"> - Pease change the border and background colors of this element, my eyes are bleeding :'( + This is quite bad for the eyes. Please change the border and background colors of this element </div><br> <input type="submit" value="Grade" /> </form> @@ -327,7 +327,7 @@ let Content = { let colorsDefined = (borderColor.length > 0 && backgroundColor.length > 0) if(colorsChanged && colorsDefined) { - document.getElementById('color-element').innerHTML = "Huhuh, thank you! My eyes feel much better already 8-D" + document.getElementById('color-element').innerHTML = "Thank you, that's much better!" return { points: pointAmount, feedback: 'Congratulations, nice colors! You got ' + pointAmount + ' points.' @@ -335,7 +335,7 @@ let Content = { } else { return { points: 0, - feedback: 'You have to change both the border color and background color with any valid value of your choice. Try again' + feedback: 'You have to change both the border color and background color with any valid value of your choice.' }; } -- GitLab