From f383a2b47ce66f524952cd11558da71534723f96 Mon Sep 17 00:00:00 2001 From: lehtint6 <teemu.t.lehtinen@aalto.fi> Date: Sun, 23 Feb 2020 21:52:56 +0200 Subject: [PATCH] Add button to focus for console commands --- content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.js b/content.js index cd69559..5c4468e 100644 --- a/content.js +++ b/content.js @@ -102,7 +102,7 @@ let Content = { console_command: { 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\"><p>First, <button>click here to focus</button> on suitable JavaScript context. Then use the browser console.</p></div>", script: function giveMePoints() { window.postMessage('grade'); }, -- GitLab