Month: October 2015

Making forms in InDesign

Create rectangle Duplicate (Paste in Place) Reduce size by 0.5mm on all sides (resize in Control Panel with Center Reference Point) This will give the form “padding” – there will be a small white border around the form (the rectangle behind it), but the text will look better Buttons and Forms Panel > Type > […]

JSDoc

Started using JSDoc syntax for when I’m describing methods/functions I’m learning about. (Although JSDoc is a way of generating HTML files from the comments included inside a JS file) http://speakingjs.com/es5/ch29.html http://usejsdoc.org/index.html https://github.com/jsdoc3/jsdoc

Pseudoselectors

a:hover a:visited a:link = unvisited link p:first-child = paragraphs that are the FIRST CHILD of their parents (not the first child of paragraphs) – can also use this with <a> tags too! p:nth-child(n) = selects all paragraphs that are the nth-child (p:nth-child(3) selects all paragraphs that are the 3rd child) Remember that “children” are not […]

Function Keys and Chrome DevTools

Get rid of needing to press “fn” System Preferences > Keyboard > Keyboard Select “Use all F1, F2, etc keys as standard function keys Now, if you want to increase volume (for example), then you use the “fn” key Get rid of Mission Control System Preferences > Keyboard > Shortcuts > Mission Control Deselect “Show […]

Journal 151022

BJS – Values, Operators, If, Else, Switch, For BJS – Wrote a little program that converted an array of 3 Fahrenheit degrees into Celcius, and output to console JS – Using ++ (unary operator ++) and — (unary operator –) throws an error in JSLint; used Brackets preferences to turn this off! (and used JSONLint.com to […]

JS Resources

Books (in order of To-Read) Beginning JavaScript found: 151020 completed: from JavascriptisSexy JavaScript for Kids. Nick Morgan found: 151014 completed: Essential JavaScript Design Patterns. Addy Osymani found ~ 151015 http://www.addyosmani.com/resources/essentialjsdesignpatterns/book/ Eloquent JavaScript. Marijn Haverbeke. ONLINE http://eloquentjavascript.net/index.html found ~ 151015 JavaScript Succinctly. Cody Lindley. found: 151021 completed: JavaScript: The Definitive Guide. David Flanagan by searching / reading found: […]