diff --git a/docs/docs.css b/docs/docs.css index 3b3fe36..4bcf7dd 100644 --- a/docs/docs.css +++ b/docs/docs.css @@ -252,6 +252,10 @@ button.highlight:hover { background-color: #534B95 } +#Coding{ + background-color: #FF69BB +} + .list { font-family: "Open Sans", "Lato", Arial; font-size: 100%; diff --git a/docs/index.html b/docs/index.html index 816f6e8..78f04de 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2029,12 +2029,39 @@ code: "// import the lodash utility library\n// https://lodash.com/docs/4.17.4\nimportCodeURL('https://cdn.jsdelivr.net/lodash/4.17.4/lodash.min.js', () => {\n _.flatten([1, [2, [3, [4]], 5]])\n})", tags: "import code url require firebase library module more blocks" }, - + ], + "Coding Tricks": [{ + description: "After selecting an item, you can press CTRL/CMD-D to select the next occurrence.", + tags: "select trick occurrence cursor typing" + }, + {html:"
"}, + { + description: "If you hold down CTRL/CMD and LEFT-ClICK in the code window, you can create and type with multiple cursors.", + tags: "select cursor trick typing" + }, + {html:"
"}, { description: "A comment is a piece of code that is ignored by your browser. You can use it to separate long code into sections, making it easier to read through and edit. Add a comment block like \"Instructions\" or \"Create Sprites\" to your code.", code: "//------------------------------------------\n//------Instruction Screen Sprites----------\n//------------------------------------------", - tags: "comment" - } + tags: "comment tricks" + }, + { + description: "A double backslash comments an entire line of code", + code: "//ignores line until the end", + tags: "comment tricks" + }, + { + description: "A forward slash followed by an asterisk tells the browser to start ignoring code, and an asterisk followed by a forward slash tells it to stop ignoring the code", + code: "/*ignores this text but the code that follows it is read*/ var x = 0\n/*\nCan be used to\nignore\nmany lines of code\n*/", + tags: "comment tricks" + }, + {html:"
"}, + { + description: "If your computer does not use ALT + LEFT-ClICK to perform a RIGHT-CLICK, then if you hold down ALT and LEFT-CLICK and drag to SELECT, you can select columns of text. ", + tags: "comment tricks" + }, + {html:"
"}, + ] } },