Javascript Loop

Day Two – Loops

Took a look at the for and for / in loops and how they’re used in variables and objects to pull information.

var warGoodForObject = {
"what": "nothing",
"who": "no one"
};
for( var name in warGoodForObject ) {
console.log ( name + ": " + warGoodForObject[name] );
}

Results in console:
what: nothing
who: no one

100 Days of Javascript

Starting today I’m taking on the challenge to re-learn javascript. The last ten years have led to countless updates, APIs and new frameworks that I’ve largely ignored in favor of focusing on HTML, CSS and enough PHP to get the job done in WordPress.

Day One: Relearning the basics

Javacript for Web Designers by Mat Marquis

Specifically chapter three which focuses on conditional statements such as if, else and else if. True and false and math.

I expect the first 30 days will find me reading about the DOM and running tests in my browser’s console before the actual fun begins.

My favorite WordPress 16.04 setup guide

Hacking my live installation led to losing my WordPress site a few months back. But, the best lessons are learned through stupid mistakes.

Since I’m no longer cowboy coding here is my favorite guide to installing a WordPress server on an Ubuntu 16.04 system.

Additionally I added a “must use plugin” or “mu-plugin” to identify the local server via a wp-local toolbox which provides a customized admin bar.

Terran Empire Wallpaper

Last week I created this short series of Terran Empire desktop wallpapers after catching up on the Star Trek Deep Space Nine mirror universe episodes.