Comments on: JavaScript, PHP and Planning my First Solo Project http://dyrbye.ca/2013/09/javascript-php-and-planning-my-first-solo-project/ Web Developer and Digital Humanist Thu, 04 Dec 2014 22:01:12 +0000 hourly 1 By: adyrbye http://dyrbye.ca/2013/09/javascript-php-and-planning-my-first-solo-project/#comment-14 Sun, 29 Sep 2013 17:59:43 +0000 http://adyrbye.wordpress.com/?p=35#comment-14 In reply to Tiji.

Hello Tiji,

I’m not surprised that console.log behaves differently than I’ve assessed it.

This blog is for me to think aloud about my learning process, and I fully expect that I’ll have to adjust my expectations as I gain more experience. I’ll likely do a retrospective in a few weeks, laying out the difference between my initial impressions and JavaScript’s actual syntax and behaviours.

Until the print resources I’ve ordered arrive, all I have to go from is the Codecademy tutorials I’m working through, where console.log is used in a directly analogous fashion to print/echo in PHP.

]]>
By: Tiji http://dyrbye.ca/2013/09/javascript-php-and-planning-my-first-solo-project/#comment-13 Sun, 29 Sep 2013 15:51:05 +0000 http://adyrbye.wordpress.com/?p=35#comment-13 Hi Amy,
The Javascript equivalent of PHP’s echo would be document.write .. Console.log is to log the data in the console object. You can see everything logged in console under the console tab of Firebug, Chrome developer tools or the similar versions of other browsers.

]]>