<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>random nothingness &#187; Curiosities</title>
	<atom:link href="http://greenraingraphics.com/z/category/curiosities/feed/" rel="self" type="application/rss+xml" />
	<link>http://greenraingraphics.com/z</link>
	<description>making sense of the madness</description>
	<lastBuildDate>Mon, 26 Jul 2010 00:54:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Questions to master &#8211;  front end dev related</title>
		<link>http://greenraingraphics.com/z/curiosities/questions-to-master/</link>
		<comments>http://greenraingraphics.com/z/curiosities/questions-to-master/#comments</comments>
		<pubDate>Tue, 25 May 2010 16:03:01 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Curiosities]]></category>
		<category><![CDATA[The Industry]]></category>

		<guid isPermaLink="false">http://greenraingraphics.com/z/?p=156</guid>
		<description><![CDATA[javascript

Provide an example of closure in javascript.
How do you create an object using a function constructor?
How would you dynamically populate the following into all elements with a class name of ?news-story? on a page using a) jQuery and b) raw javascript:
JSON:

				{&#8220;items&#8221;: [
				{
				    "title": "sample 1",
				    "author": "author 1"
				},
				{
				  [...]]]></description>
			<content:encoded><![CDATA[<h2>javascript</h2>
<ol>
<li>Provide an example of closure in javascript.</li>
<li>How do you create an object using a function constructor?</li>
<li>How would you dynamically populate the following into all elements with a class name of ?news-story? on a page using a) jQuery and b) raw javascript:<br />
<h3>JSON:</h3>
<div class="code">
				{&#8220;items&#8221;: [<br />
				{<br />
				    "title": "sample 1",<br />
				    "author": "author 1"<br />
				},</p>
<p>				{<br />
				    "title": "sample 2",<br />
				    "author": "author 2"<br />
				}<br />
				]}
			</div>
<h3>expected output:</h3>
<div class="code">
<p>&lt;div class=&quot;news-story&quot;&gt;</p>
<p class="indent">
					&lt;h5&gt;sample 1&lt;/h5&gt;<br />
					&lt;p&gt;By: author 1&lt;/p&gt;</p>
<p>					&lt;h5&gt;sample 2&lt;/h5&gt;<br />
					&lt;p&gt;By: author 2&lt;/p&gt;
					</p>
<p>&lt;/div&gt;</p>
</p></div>
</li>
</ol>
<h2>markup/css</h2>
<ol>
<li>
		Provide sample markup/css for the following module:<br />
		<img src="module.png"></p>
<h3>required interaction (with javascript, if desired feel free to use a library of choice):</h3>
<p>Clicking on a topic link (left-side) loads new content on the right side content well</p>
</li>
</ol>
<h2>BONUS:</h2>
<ol>
<li>Write a program in Javascript that prints the numbers from 1 to 100 into a web page.<br />
		But for multiples of three print &#8220;Fizz&#8221; instead of the number and for the multiples of five print &#8220;Buzz&#8221;.<br />
		For numbers which are multiples of both three and five print &#8220;FizzBuzz&#8221;. </p>
<p>Then repeat, and do a version in PHP (or some other server side language). Please submit the server-side code for review.</p>
</li>
</ol>
<p>I can&#8217;t disclose where these questions came from, but I&#8217;m going to use them as a guide on what to learn, if I don&#8217;t already know the solutions.</p>
]]></content:encoded>
			<wfw:commentRss>http://greenraingraphics.com/z/curiosities/questions-to-master/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

