Merge pull request #8786 from zaclem01/fix/add-code-tags

fix/add-code-tags
pull/8787/head
Eric Leung 2016-05-23 22:15:16 -07:00
commit 4bd48a118b
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
"Both Chrome and Firefox have excellent JavaScript consoles, also known as DevTools, for debugging your JavaScript.",
"You can find <code>Developer tools</code> in your Chrome's menu or <code>Web Console</code> in FireFox's menu. If you're using a different browser, or a mobile phone, we strongly recommend switching to desktop Firefox or Chrome.",
"Let's print to this console using the <code>console.log</code> method.",
"<code>console.log('Hello world!')</code>"
"<code>console.log('Hello world!');</code>"
],
"challengeSeed": [
"",
@ -22,7 +22,7 @@
"console.log('Hello world!');"
],
"tests": [
"assert(editor.getValue().match(/console\\.log\\(/gi), 'message: You should use the console.log method to log \"Hello world!\" to your JavaScript console.');"
"assert(editor.getValue().match(/console\\.log\\(/gi), 'message: You should use the <code>console.log</code> method to log <code>\"Hello world!\"</code> to your JavaScript console.');"
],
"type": "waypoint",
"challengeType": 1,