New Blog

How to create a sub theme and how to highlight code scripts.

Advertisements

No, I’m not leaving WordPress, just self hosting…
Here’s my first post. It will be wonderful to see you there:
“Creating a WordPress Subtheme and Code Highlighting”

icontemp

Learning JavaScript

I’m really happy to announce that my eBook JavaScript in Plain Language – A Self-Study Method: JSON and AngularJS Prep has been updated.

If you’re looking to learn or relearn JavaScript please be assured that I have put a lot of thought into this publication based on the feedback from thousands of students I have coached over the years. Please check it out…

Get your lucky numbers with Angular

This snippet is based on the JavaScript exercise published on my eBook
“Small Projects to Learn JavaScript – Drawing Six ‘Lucky’ Numbers”

AngularJS was not even mentioned on the project but I figured it was time to demonstrate a way to implement AngularJS since it is the most popular implementation wanted right now.

Here it is: JSPLAIN

Have fun!

Tony

Fahrenheit to Celsius – JavaScript and AngularJS

You probably know how to convert Fahrenheit to Celsius in JavaScript but how would you display it on a web page?

Google has come up with a modern solution: AngularJS

AngularJS is a way to make your HTML more dynamic and it is easy to implement.

Take a look at my sample here:
http://jsplain.com/javascript/index.php/Thread/45-Fahrenheit-to-Celsius-ng-model/

Have fun testing it!
Tony

On Learning

“People that learn quickly only focus on the information and skills that matter – excuses don’t matter, and they are thought viruses.” – Kevin Horsley

“No time? Time is always there; you just need to schedule it.”

JavaScript value and reference variables

Are you still puzzled by JavaScript terms such as typeof,
reference variables, value variables, stack vs heap?
My new article at JSPLAIN (JavaScript in Plain Language)
is short, sweet and right to the point.
Here’s my link: http://bit.ly/1wz2rLq
Have a great weekend!!
Tony

Dot Syntax

What is the meaning of the dot?
The dot signifies that we want to use something that’s inside something else.

console.log("log is inside of a console");

myObject.search("Tony de Araujo");
// search is a method which is inside of object myObject

Hope it helps!