From 0b66af93ae1626be68cd5c7ee989ea17b844dcd4 Mon Sep 17 00:00:00 2001 From: Lassi Haaranen <lassi.haaranen@aalto.fi> Date: Wed, 8 Jan 2020 13:32:20 +0200 Subject: [PATCH] Minor adjustment to color exercise --- content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.js b/content.js index b11a679..5df80fe 100644 --- a/content.js +++ b/content.js @@ -57,7 +57,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><p></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\"><p class=\"blue\">The quick brown fox jumps over the lazy dog's back 1234567890</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, points: function ($element, config, mutations) { let $p = $element.find('.exercise p'); -- GitLab