<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Think Vitamin</title>
	
	<link>http://thinkvitamin.com</link>
	<description>Carsonified's Blog about Web Design, Web Development and Web Business</description>
	<lastBuildDate>Wed, 22 Feb 2012 14:29:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/vitaminmasterfeed" /><feedburner:info uri="vitaminmasterfeed" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><image><link>http://thinkvitamin.com/</link><url>http://thinkvitamin.com/wp-content/uploads/2010/10/tv_logo.png</url><title>Think Vitamin</title></image><feedburner:emailServiceId>vitaminmasterfeed</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>We’re Hiring New Teachers!</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/wudrzoF3vSw/</link>
		<comments>http://thinkvitamin.com/asides/were-hiring-new-teachers/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 14:00:36 +0000</pubDate>
		<dc:creator>Nick Pettit</dc:creator>
				<category><![CDATA[Asides]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18758</guid>
		<content:encoded><![CDATA[<p>Treehouse is looking for <strong>four</strong> new awesome teachers to add to the <a href="http://teamtreehouse.com/about">Treehouse Team</a>! If you&#8217;re a talented designer or developer, this is an absolute dream job.</p>
<p><span id="more-18758"></span></p>
<p><img src="http://i.imgur.com/Mquxv.jpg" alt="A picture of Nick Pettit recording a new Treehouse video." /></p>
<p>We&#8217;re hiring four new video teachers! The Treehouse video studio is located in Orlando, Florida which is where you&#8217;ll be working. We&#8217;re looking for some amazing people that can dominate the following roles:</p>
<ul>
<li>PHP &amp; WordPress Teacher</li>
<li>Front-End Design Teacher</li>
<li>Android Development Teacher</li>
<li>Business &amp; Marketing Teacher</li>
</ul>
<h3>Responsibilities</h3>
<ol>
<li>Writing and recording videos</li>
<li>Writing quizzes and code challenges</li>
<li>Creating downloadable assets and code</li>
<li>Writing blog posts for Think Vitamin</li>
</ol>
<p>Here&#8217;s one of the videos from our library, which is similar to what you&#8217;ll be creating:</p>
<p><object width="704" height="507"><param name="movie" value="http://www.youtube.com/v/2ULFlnZjzPA?version=3&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/2ULFlnZjzPA?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="704" height="507" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h3>Skills and Qualities</h3>
<ul>
<li>You have crazy passion for the web. You live this stuff!</li>
<li>You have <em>outstanding</em> writing abilities.</li>
<li>You have impressive presentation skills and lots of on-camera confidence.</li>
<li>You’re self motivated and you maintain your razor sharp knowledge.</li>
<li>You whole-heartedly believe in our <a href="http://carsonified.com/values/">Core Values</a>.</li>
</ul>
<h3>Our Benefits</h3>
<p>We believe work, fun, and generous benefits go together. Treehouse team members enjoy&#8230;</p>
<ol>
<li>Full salary for a 4-Day week! We don&#8217;t work Fridays :)</li>
<li>18 vacation days, 9 federal holidays, and two weeks off at Christmas</li>
<li>Free iPhone + monthly contract</li>
<li>Free lunch every day</li>
<li>401(k) contribution matching</li>
<li>Full coverage for medical, dental, and vision</li>
</ol>
<h3>Working in Orlando</h3>
<p>You&#8217;ll absolutely love working in our Orlando office! In addition to the growing teaching team, you&#8217;ll also work closely with our talented video production crew. These creative guys and gals are the best in the biz; they will make you look and sound your best.</p>
<p><img src="http://i.imgur.com/bAjX1.jpg" alt="Three photos of our professional video crew members using a clapper board, a Steadicam, and sound gear." /></p>
<p>We&#8217;re a fun loving bunch that appreciates cupcakes, remote control helicopters, hammocks, Nerf wars, and coffee. Oh, and animated GIFs! Can&#8217;t forget about the GIFs. :) Here&#8217;s a behind-the-scenes video of a project we all worked on together that will give you a flavor for the office.</p>
<p><object width="704" height="396"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=34866706&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=34866706&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="704" height="396"></embed></object></p>
<h3>How to Apply</h3>
<ol>
<li>Create a 3-5 minute audition video where you teach a topic related to the role you&#8217;re applying for. If you love PHP and WordPress, tell me all about themes or plugins!</li>
<li>When you&#8217;ve uploaded your video to the web, email the link to nick@teamtreehouse.com &#8211; Please do not send email attachments.</li>
</ol>
<p>Also, please don&#8217;t send a resume. ;) We don&#8217;t care about your education or how many jobs you&#8217;ve worked. We&#8217;re looking for confidence, friendliness, passion, and crisp teaching abilities.</p>
<h3>Application Deadline</h3>
<p>Make sure to email us your application by Thursday, March 8th 2012!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=wudrzoF3vSw:LrRBPFONoVw:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/wudrzoF3vSw" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/asides/were-hiring-new-teachers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/asides/were-hiring-new-teachers/</feedburner:origLink></item>
		<item>
		<title>Angry Birds founder speaking at Future Insights Live</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/5z_O7TAIME4/</link>
		<comments>http://thinkvitamin.com/events/angry-birds-founder-speaking-at-future-insights-live/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 10:27:28 +0000</pubDate>
		<dc:creator>Ryan Carson</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Articles]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18809</guid>
		<content:encoded><![CDATA[<p><img src="https://img.skitch.com/20120222-q82hn9aup6cactkh6d743mmuwx.jpg" alt="Angry Birds logo" /></p>
<p>I&#8217;m super excited to announce that Peter Vesterbacka, the Founder of Angry Birds, will be speaking at <a href="http://futureinsightslive.com/">Future Insights Live</a> in Vegas, April 30 &#8211; May 4th.</p>
<p>There are only 19 Early Bird tickets left, so <a href="http://futureinsightslive.com/register">buy your ticket here</a>. See you there!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=5z_O7TAIME4:pe4FMx9ZWjE:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/5z_O7TAIME4" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/events/angry-birds-founder-speaking-at-future-insights-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/events/angry-birds-founder-speaking-at-future-insights-live/</feedburner:origLink></item>
		<item>
		<title>A New Year, A New Responsive Dribbble Portfolio – Part 2 of 2</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/9xmLTcY9p8Q/</link>
		<comments>http://thinkvitamin.com/design/a-new-year-a-new-responsive-dribbble-portfolio-part-2-of-2/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 03:20:42 +0000</pubDate>
		<dc:creator>Mat Helme</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML and XHTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[jQuery]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18483</guid>
		<content:encoded><![CDATA[<p>Moving forward ladies and gents we are onto round two of this two part tutorial. In part one we covered the HTML/CSS/jQuery of our one page responsive Dribbble portfolio site.  If you missed the first post please check it out <a href="http://thinkvitamin.com/design/a-new-year-a-new-responsive-dribbble-portfolio-part-1-of-2/">here</a>.  Now it&#8217;s time to convert HTML to PHP and use the Dribbble API to pull your data. Plus IE fixes.</p>
<p><span id="more-18483"></span></p>
<h2>HTML to PHP</h2>
<p>First things first let&#8217;s turn our project from HTML to PHP. This task takes two easy steps.  First, make sure we have our files in a php environment.  Second change the file extension of the index file.</p>
<p>As most of you know, when you run PHP you need to be in a PHP environment such as a live server or a local server.  I personally use <a href="http://mamp.info/">MAMP</a> as a test server before putting anything live.  <a href="http://mamp.info/">MAMP</a> is for Mac users where as <a href="http://www.wampserver.com/">WAMP</a> is for Windows users.  These two solutions are super easy to install and operate.  Also you have the option of using a live server.</p>
<p>Now that we have our PHP environment lets take our static HTML <a href="http://thinkvitamin.s3.amazonaws.com/dribbble-api/part1/Dribble-Portfolio.zip">Dribbble Portfolio</a> and upload it to our server. Since I&#8217;m using MAMP the default local host is &#8216;localhost:8888/&#8217; and the directory is &#8216;Dribble-Portfolio/&#8217;. In the browser the direct path is &#8216;http://localhost:8888/Dribble-Portfolio/&#8217;.  From here lets change the file extension of our index.html to index.php. When you refresh the page you will notice the url doesn&#8217;t change at all and the page still renders the same. This is exactly what we want.</p>
<h2>Download the PHP wrapper for the Dribbble API</h2>
<p>Thanks to <a href="http://www.martinbean.co.uk/">Martin Bean</a> for making this next step super easy. Martin created a <a href="https://github.com/martinbean/dribbble-php">&#8216;PHP wrapper for the Dribbble API&#8217;</a> which you can download at github. This allows us to access the Dribbble API with minimal code.  Simply download the file from <a href="https://github.com/martinbean/dribbble-php/downloads">here</a> and unzip it. Copy the &#8216;src&#8217; folder inside the main folder and paste it in the same directory as our index.php. Your directory should now look like this:</p>
<p><img src="http://i.imgur.com/8cqRA.jpg" alt="Your file directory should look like this" /></p>
<h2>Integrating Everything</h2>
<p>Now it&#8217;s time to jump into some php code. First we want to add the following code to our header area right before the html doctype:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #b1b100;">require</span> <span style="color: #0000ff;">'src/dribbble.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$dribbble</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Dribbble<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//////////////////////////////////////////////////////////////////////</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Dribbble User ID</span>
<span style="color: #000088;">$playername</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'mathelme'</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//How many 'shots' would you like to display per page?</span>
<span style="color: #000088;">$perpage</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'12'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Contact Info</span>
<span style="color: #000088;">$email</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'mat.helme@gmail.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$twitter</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'twitter.com/#/mathelme'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$facebook</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'facebook.com/mat.helme'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$linkedin</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'http://www.linkedin.com/pub/mat-helme/28/7b5/710'</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">/////////////////////////////////////////////////////////////////////</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;!DOCTYPE html&gt;</pre></div></div>

<p>Lets briefly go over the code.  We start off with an opening php tag.  The next bit of code calls the &#8216;dribbble.php&#8217; file which we placed in our directory and initiates its options for the Dribbble API.  Directly under the &#8216;//Dribble User ID&#8217; is where we specify which dribbble account we want to pull from.  For example purposes I have used all of my credentials.  My direct url to my dribbble account is http://www.dribbble.com/mathelme, so my player name is &#8216;mathelme&#8217;.  Then below that is how many shots we want to display. I would recommend using &#8217;12&#8242;. Lastly is the contact info. Again I have used my credentials for example purposes.  Simply swap out my info with yours. Lastly we close the php tag.</p>
<p>Now that we have initiated all the php functions and variables lets swap out the data in our page.  Our first step is swapping out our contact info. Simply highlight all the data between the &#8216;nav&#8217; tags with:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
&lt;ul class=&quot;menu&quot;&gt;
&nbsp;
     &lt;li&gt;&lt;a href=&quot;mailto:<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$email</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;email&quot;&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=&quot;http://www.dribbble.com/<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$playername</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;dribbble&quot;&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$twitter</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;twitter&quot;&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$facebook</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;facebook&quot;&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$linkedin</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;linkd&quot;&gt;&lt;/a&gt;&lt;/li&gt;
&nbsp;
&lt;/ul&gt;</pre></div></div>

<p>All we are doing here is changing the &#8216;href&#8217; &#8216;#&#8217; link with the variables we set in the head of the page through a php echo statement.</p>
<p>Now we want to pull in the latest shots for our Dribbble user. Simply swap out the following code in between the id &#8216;container&#8217; with:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
                    <span style="color: #000088;">$my_shots</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$dribbble</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_player_shots</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$playername</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> <span style="color: #000088;">$perpage</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
                    <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$my_shots</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">shots</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$shot</span><span style="color: #009900;">&#41;</span> 
                    <span style="color: #009900;">&#123;</span>
                        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a class=&quot;box&quot; href=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$shot</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;&lt;h3&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$shot</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/h3&gt;&lt;img src=&quot;'</span><span style="color: #339933;">.</span> <span style="color: #000088;">$shot</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">image_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; alt=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$shot</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; class=&quot;pic&quot; /&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">;</span>
                    <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>This php code runs a loop and grabs the latest 12 shots from the Dribbble user and returns a linking title and image to Dribbble.</p>
<p>Your final index.php file should look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #b1b100;">require</span> <span style="color: #0000ff;">'src/dribbble.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$dribbble</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Dribbble<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//////////////////////////////////////////////////////////////////////</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Dribbble User ID</span>
<span style="color: #000088;">$playername</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'mathelme'</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//How many 'shots' would you like to display per page?</span>
<span style="color: #000088;">$perpage</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'12'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Contact Info</span>
<span style="color: #000088;">$email</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'mat.helme@gmail.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$twitter</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'twitter.com/#/mathelme'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$facebook</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'facebook.com/mat.helme'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$linkedin</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'http://www.linkedin.com/pub/mat-helme/28/7b5/710'</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">/////////////////////////////////////////////////////////////////////</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;!DOCTYPE html&gt;
&nbsp;
&lt;html&gt;
&nbsp;
&lt;head&gt;
&nbsp;
	&lt;!--Viewport--&gt;
	&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width; initial-scale=1; maximum-scale=1&quot;&gt;
&nbsp;
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
&nbsp;
	&lt;title&gt;Dribbble Portfolio&lt;/title&gt;
&nbsp;
    &lt;!--Google fonts--&gt;
    &lt;link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'&gt;
    &lt;link href='http://fonts.googleapis.com/css?family=Raleway:100' rel='stylesheet' type='text/css'&gt;
&nbsp;
    &lt;!--Main Stylesheet--&gt;
    &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/style.css&quot; /&gt;
&nbsp;
&lt;/head&gt;
&nbsp;
&lt;body&gt;
&nbsp;
	&lt;header&gt;
&nbsp;
    	&lt;h1 id=&quot;logo&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;images/logo.png&quot; alt=&quot;My Logo&quot; /&gt;&lt;/a&gt;&lt;/h1&gt;
&nbsp;
        &lt;nav&gt;
&nbsp;
        	&lt;ul class=&quot;menu&quot;&gt;
&nbsp;
                 &lt;li&gt;&lt;a href=&quot;mailto:<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$email</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;email&quot;&gt;&lt;/a&gt;&lt;/li&gt;
                 &lt;li&gt;&lt;a href=&quot;http://www.dribbble.com/<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$playername</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;dribbble&quot;&gt;&lt;/a&gt;&lt;/li&gt;
                 &lt;li&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$twitter</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;twitter&quot;&gt;&lt;/a&gt;&lt;/li&gt;
                 &lt;li&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$facebook</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;facebook&quot;&gt;&lt;/a&gt;&lt;/li&gt;
                 &lt;li&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$linkedin</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;linkd&quot;&gt;&lt;/a&gt;&lt;/li&gt;
&nbsp;
            &lt;/ul&gt;
&nbsp;
        &lt;/nav&gt;
&nbsp;
    &lt;/header&gt;
    &lt;!--end header--&gt;
&nbsp;
    &lt;section class=&quot;half&quot;&gt;
&nbsp;
            &lt;img src=&quot;images/me.jpg&quot; class=&quot;main-image&quot; alt=&quot;This is Me&quot; /&gt;
&nbsp;
    &lt;/section&gt;
    &lt;!--end main image--&gt;
&nbsp;
    &lt;section class=&quot;half&quot;&gt;
&nbsp;
    	&lt;h2 class=&quot;tagline&quot;&gt;Check Out My Super Radical One Page Responsive Portfolio Which Pulls My Dribble 'Shots'. Get Gnarly!&lt;/h2&gt;
&nbsp;
    &lt;/section&gt;
    &lt;!--end tagline--&gt;
&nbsp;
    &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
&nbsp;
    &lt;section&gt;
&nbsp;
			&lt;h1&gt;Latest Work&lt;/h1&gt;
&nbsp;
&nbsp;
			&lt;div id=&quot;container&quot;&gt;
&nbsp;
&nbsp;
                    <span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
                    <span style="color: #000088;">$my_shots</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$dribbble</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_player_shots</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$playername</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> <span style="color: #000088;">$perpage</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
                    <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$my_shots</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">shots</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$shot</span><span style="color: #009900;">&#41;</span> 
                    <span style="color: #009900;">&#123;</span>
                        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a class=&quot;box&quot; href=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$shot</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;&lt;h3&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$shot</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/h3&gt;&lt;img src=&quot;'</span><span style="color: #339933;">.</span> <span style="color: #000088;">$shot</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">image_url</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; alt=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$shot</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; class=&quot;pic&quot; /&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">;</span>
                    <span style="color: #009900;">&#125;</span>
&nbsp;
                    <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&nbsp;
			&lt;/div&gt;
&nbsp;
	&lt;/section&gt;
    &lt;!--end dribble content--&gt;
&nbsp;
    &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
&nbsp;
    &lt;footer&gt;All RIghts Reserved &lt;a href=&quot;#&quot;&gt;www.website.com&lt;/a&gt;&lt;/footer&gt;
    &lt;!--end footer--&gt;
&nbsp;
    &lt;!--js files--&gt;
    &lt;script src=&quot;scripts/jquery.js&quot;&gt;&lt;/script&gt;
    &lt;script src=&quot;scripts/fitText.js&quot;&gt;&lt;/script&gt;
&nbsp;
    &lt;!--initiate fitText--&gt;
    &lt;script&gt;
&nbsp;
		$(document).ready(function() {
&nbsp;
			/*FitText*/
			$(&quot;.tagline&quot;).fitText(1.1, { minFontSize: '20px', maxFontSize: '200px' });
&nbsp;
		});
&nbsp;
    &lt;/script&gt;
&nbsp;
&lt;/body&gt;
&nbsp;
&lt;/html&gt;</pre></div></div>

<p>Congratulations you have successfully created a responsive one page Dribbble portfolio for Chrome, Firefox and Safari. As for Internet Explorer 8 and up we will need to add some additional code. </p>
<h2>IE fixes</h2>
<p>The fixes for IE aren&#8217;t going to be exact fixes but more or less simple solutions.  Here is what we need to add directly below the main stylesheet in the head tag:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #339933;">&lt;!--</span> IE fixes <span style="color: #339933;">--&gt;</span>
    <span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;scripts/html5.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;scripts/respond.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
    <span style="color: #339933;">&lt;!--</span><span style="color: #009900;">&#91;</span><span style="color: #b1b100;">if</span> IE<span style="color: #009900;">&#93;</span><span style="color: #339933;">&gt;</span>
      <span style="color: #339933;">&lt;</span>link rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;stylesheet&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/css&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;css/ie.css&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;!</span><span style="color: #009900;">&#91;</span><span style="color: #b1b100;">endif</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">--&gt;</span></pre></div></div>

<p>The <a href="http://html5shim.googlecode.com/svn/trunk/html5.js">html5.js</a> file is to allow IE to support HTML5 elements.  The <a href="https://raw.github.com/scottjehl/Respond/master/respond.min.js">respond.js</a> file is used for media quires in IE, since they don&#8217;t support them.  Lastly we use another style sheet specifically for IE since it doesn&#8217;t support CSS3 column-count or column-gap. Also we added <a href="http://css3pie.com/">CSS3pie</a> to fix the rounded-corners.</p>
<hr />
<p><a href="http://thinkvitamin.s3.amazonaws.com/dribbble-api/part-2/Dribble-Portfolio.zip">Source Files</a></p>
<hr />
<p>Role Those Credits:</p>
<ul>
<li><a href="http://dribbble.com/">Dribbble</a></li>
<li><a href="http://jquery.com/">jQuery</a></li>
<li><a href="http://fittextjs.com/">Fit Text</a></li>
<li><a href="http://css3pie.com/">CSS3pie</a></li>
<li><a href="http://html5shim.googlecode.com/svn/trunk/html5.js">HTML5.js</a></li>
<li><a href="https://raw.github.com/scottjehl/Respond/master/respond.min.js">Respond.js</a></li>
<li><a href="http://teamtreehouse.com/">Treehouse</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=9xmLTcY9p8Q:cxF_mNLKhE4:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/9xmLTcY9p8Q" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/a-new-year-a-new-responsive-dribbble-portfolio-part-2-of-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/a-new-year-a-new-responsive-dribbble-portfolio-part-2-of-2/</feedburner:origLink></item>
		<item>
		<title>Free Video: Getting Started with iOS 5 Automatic Reference Counting</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/hN6NmkJUei4/</link>
		<comments>http://thinkvitamin.com/code/ios/free-video-getting-started-with-ios-5-automatic-reference-counting/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 16:10:21 +0000</pubDate>
		<dc:creator>Amit Bijlani</dc:creator>
				<category><![CDATA[iOS]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18753</guid>
		<content:encoded><![CDATA[<p>In this <a href="http://teamtreehouse.com/library/ios-5-foundations/automatic-reference-counting/getting-started/play?cid=193">3 minute video</a>, you will be introduced to Automatic Reference Counting or ARC which eliminates the need for manually maintaining object life-cycles by adding code at compile time to ensure that objects live as long as necessary.</p>
<p><a href="http://teamtreehouse.com/library/ios-5-foundations/automatic-reference-counting/getting-started/play?cid=193"><img src="http://i.imgur.com/ItIkN.png" /></a></p>
<p>This video is from <a href="http://teamtreehouse.com/?cid=193">Treehouse</a>, a high-quality video training site with hundreds of short videos on topics like &#8230;</p>
<ul>
<li><a href="http://teamtreehouse.com/library/accessibility/?cid=193">Accessibility</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/css3?cid=193">CSS3</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/aesthetic-foundations?cid=193">Aesthetic Foundations</a></li>
<li><a href="http://teamtreehouse.com/library/django/?cid=193">Django</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/html/?cid=193">HTML</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/css-foundations/?cid=193">CSS</a></li>
<li><a href="http://teamtreehouse.com/library/html5-foundations/?cid=193">HTML5</a></li>
<li><a href="http://teamtreehouse.com/library/ios-4-foundations/?cid=193">iOS Development</a></li>
<li><a href="http://teamtreehouse.com/library/javascript/?cid=193">JavaScript</a></li>
<li><a href="http://teamtreehouse.com/library/jquery/?cid=193">jQuery</a></li>
<li><a href="http://teamtreehouse.com/library/nosql/?cid=193">NoSQL</a></li>
<li><a href="http://teamtreehouse.com/library/php/?cid=193">PHP</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/rwd-foundations/?cid=193">Responsive Web Design</a></li>
<li><a href="http://teamtreehouse.com/library/ruby/?cid=193">Ruby</a></li>
<li><a href="http://teamtreehouse.com/library/ruby-on-rails/?cid=193">Ruby on Rails</a></li>
<li><a href="http://teamtreehouse.com/library/archive/ux-foundations/?cid=193">UX</a></li>
<li><a href="http://teamtreehouse.com/library/version-control?cid=193">Version Control</a></li>
<li><a href="http://teamtreehouse.com/library/wordpress?cid=193">WordPress Theme Design</a></li>
</ul>
<p>New videos are added regularly, so it&#8217;s a great way to stay up-to-date on all the latest technology and methods. Browse the entire <a href="http://teamtreehouse.com/library/?cid=193">library of videos</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=hN6NmkJUei4:PKXPllrFUYw:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/hN6NmkJUei4" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/code/ios/free-video-getting-started-with-ios-5-automatic-reference-counting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/code/ios/free-video-getting-started-with-ios-5-automatic-reference-counting/</feedburner:origLink></item>
		<item>
		<title>Ruby 1.9.3-p125 Released</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/J1xwPfa0sYA/</link>
		<comments>http://thinkvitamin.com/code/ruby/ruby-1-9-3-p125-released/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 15:08:02 +0000</pubDate>
		<dc:creator>Jason Seifer</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18749</guid>
		<content:encoded><![CDATA[<p>The Ruby team just recently released <a href="http://www.ruby-lang.org/en/news/2012/02/16/ruby-1-9-3-p125-is-released/">Ruby 1.9.3 patch level 125</a>. The big news in this release is LLVM/clang support as well as GCC 4.7 support. There is also a security fix of the Ruby OpenSSL extension and various other bug fixes. You may notice some speed improvements as well.</p>
<p>You can view the full <a href="http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_125/ChangeLog">Change log</a> and both <a href="http://beginrescueend.com/">rvm</a> and <a href="https://github.com/sstephenson/ruby-build">ruby-build</a> both support the new release in their respective latest versions.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=J1xwPfa0sYA:mDe6fcekvjk:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/J1xwPfa0sYA" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/code/ruby/ruby-1-9-3-p125-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/code/ruby/ruby-1-9-3-p125-released/</feedburner:origLink></item>
		<item>
		<title>Gamification &amp; Frozen Margaritas with Ryan Carson and Fil Bot</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/0iY8mLwk9nc/</link>
		<comments>http://thinkvitamin.com/events/gamification-frozen-margaritas-with-ryan-carson-and-fil-bot/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 17:23:10 +0000</pubDate>
		<dc:creator>Cat Clark</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[carsonified]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[fi live]]></category>
		<category><![CDATA[filbot]]></category>
		<category><![CDATA[filive]]></category>
		<category><![CDATA[FOM]]></category>
		<category><![CDATA[fowa]]></category>
		<category><![CDATA[fowd]]></category>
		<category><![CDATA[future insights]]></category>
		<category><![CDATA[future of web apps]]></category>
		<category><![CDATA[futureofmobile]]></category>
		<category><![CDATA[gamification]]></category>
		<category><![CDATA[las vegas]]></category>
		<category><![CDATA[the future of web design]]></category>
		<category><![CDATA[treehouse]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18728</guid>
		<content:encoded><![CDATA[<p>Unless you&#8217;ve been kicking it hermit-style for the past few months, you&#8217;ll have heard about our shiny new super conference, <a href="http://futureinsightslive.com/">Future Insights Live</a>: a week-long web fest, with heaps of <a href="http://futureinsightslive.com/schedule">amazing speakers</a> and all the most pertinent web topics &#8211; combining the best elements of our world class &#8220;Future of&#8230;&#8221; events, <a href="http://futureofwebdesign.com/landing-page">FOWD</a>, <a href="http://futureofwebapps.com/landing-page">FOWA</a> and <a href="http://future-of-mobile.com/landing-page">FOM</a>.</p>
<p>Last week, event mascot-in-chief <a href="http://futureinsightslive.com/filbot.php" target="_blank">Fil Bot</a> joined us in the offices, for a chat with <a href="https://twitter.com/#!/ryancarson" target="_blank">Ryan Carson</a>, founder of Carsonified and Treehouse.</p>
<p>The pair discussed the <a href="http://futureinsightslive.com/" target="_blank">Future Insights Live</a> conference, Ryan&#8217;s conference session on the new gamification layer in <a href="http://teamtreehouse.com/" target="_blank">Treehouse</a>, and the joys of spending time with 1,000 or so of the top minds in web and mobile design and development.</p>
<p>Early Bird pricing for <a href="http://futureinsightslive.com/">Future Insights Live</a> ends this week, so head over to <a href="http://futureinsightslive.com/register">Registration</a> and we&#8217;ll see you in April&#8230;</p>
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/0gjf8bDy8Io?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>Hope you can join us for that frozen margarita :)</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=0iY8mLwk9nc:50_Oda3okms:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/0iY8mLwk9nc" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/events/gamification-frozen-margaritas-with-ryan-carson-and-fil-bot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/events/gamification-frozen-margaritas-with-ryan-carson-and-fil-bot/</feedburner:origLink></item>
		<item>
		<title>A Field Guide to Web Apps</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/ROgcQCamPn4/</link>
		<comments>http://thinkvitamin.com/design/a-field-guide-to-web-apps/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 14:42:17 +0000</pubDate>
		<dc:creator>Mat Helme</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[Web Industry]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18691</guid>
		<content:encoded><![CDATA[<p><img alt="Field Guide to Web Apps" src="http://i.imgur.com/q3tuD.jpg" title="Field Guide to Web Apps" class="alignnone" width="704" height="414" /></p>
<p>Bert Appward of the Google team recently released a superb interactive book titled &#8220;<a href="http://www.html5rocks.com/webappfieldguide/toc/index/">Field Guide to Web Applications</a>&#8220;.  Through the literature Bert presents the best skills and practices of building modern web apps.  The guide covers the following topics:</p>
<ol>
<li>KNOW YOUR WEB APPS</li>
<li>DESIGNING WEB APPLICATIONS</li>
<li>CASE STUDIES OF WEB APPS IN THE WILD</li>
<li>BUILDING GREAT WEB APPLICATIONS</li>
</ol>
<p>Not only is it a great read but a fun experience.  The guide has an almost tangible feel to it as the pages flip and has a strong emphasis on texture.  I recommend checking it out.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=ROgcQCamPn4:M5Mc2hS60-k:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/ROgcQCamPn4" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/a-field-guide-to-web-apps/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/a-field-guide-to-web-apps/</feedburner:origLink></item>
		<item>
		<title>Command Line Basics</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/rnrSn0lJENo/</link>
		<comments>http://thinkvitamin.com/code/command-line-basics/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 18:13:46 +0000</pubDate>
		<dc:creator>Jason Seifer</dc:creator>
				<category><![CDATA[Code]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18695</guid>
		<content:encoded><![CDATA[<p>
  After part one of the <a href="http://thinkvitamin.com/design/git-for-designers-part-1/">git for designers</a> post, Kim Røen suggested in the comments doing a post with some instructions on using the command line. This is that post. We&#8217;re going to be focusing on the Mac side of things, but a lot of the concepts in here will apply to all command line programs as well.
</p>
<p><span id="more-18695"></span></p>
<h3>What is the Command Line?</h3>
<p>
  If you really want to learn about the history of the command line, you can check out the <a href="http://en.wikipedia.org/wiki/Command-line_interface">Wikipedia</a> page on the topic:</p>
<blockquote><p>
    A command-line interface (CLI) is a mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks&#8230; This method of instructing a computer to perform a given task is referred to as &#8220;entering&#8221; a command: the system waits for the user to conclude the submitting of the text command by pressing the &#8220;Enter&#8221; key (a descendant of the &#8220;carriage return&#8221; key of a typewriter keyboard). A command-line interpreter then receives, parses, and executes the requested user command.
  </p></blockquote>
<p>
  <strong>TL;DR</strong>: wall of text.
</p>
<p>
  You don&#8217;t have to be a developer in order to get the full benefit using the command line. Being familiar with how the command line works can vastly simplify your daily life. Let&#8217;s say you&#8217;d like to move all of the files with a certain extension from one folder to another. Let&#8217;s also say that there are far too many to want to select them in Finder and move them to a folder called <code>html_files</code>. You could take a lot of time and do it in Finder or open a terminal and type in the following:
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">  <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">*</span>.html html_files</pre></div></div>

<p>
  It&#8217;s pretty easy once you get the hang of it. We&#8217;ll walk through that example now, learning the commands we would need to build up to that.
</p>
<h3>What Does It Look Like?</h3>
<p>
  If you&#8217;re on a Mac, launch Terminal. You can find it in the &quot;Utilities&quot; folder inside of your main &quot;Applications&quot; Folder. This is what you&#8217;ll see:
</p>
<p><img src="http://thinkvitamin.com/wp-content/uploads/2012/02/terminal.png" alt="Terminal" title="terminal" width="704" height="493" class="alignnone size-full wp-image-18698" /></p>
<p>
  Isn&#8217;t that exciting? Well no, not very. In fact, the command line is pretty boring and generally not very pretty. It does, however, provide great power once you learn to use it.
</p>
<h3>Let&#8217;s Learn Some Commands</h3>
<p>
  The main way that you&#8217;ll interact with the command line is by typing commands in. For the most part, it works like this (yes, there are a lot of exceptions):
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">command</span> name<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>options<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>arguments<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>
  We&#8217;ll start our command line journey with the <code>ls</code> command. This is a command that lists information about files. Essentially, it shows you a list of files in the directory or folder you tell it to. Let&#8217;s try it. Back in Terminal, type in <code>ls</code> and press enter. You should see something like the following:
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">  $ <span style="color: #c20cb9; font-weight: bold;">ls</span>
  Public                  Desktop                 Library                 Sites               
  Documents               Movies                  Source                  Downloads           
  Music                   Dropbox                 Pictures</pre></div></div>

<p>
  That&#8217;s what my home directory looks like. Cool, right!
</p>
<p>Let&#8217;s say you wanted slightly different output that had file sizes and other information. Most command line programs offer more options to do what you want to do through the use of arguments. These can also be called options or flags. They are usually prefixed with a <code>-</code> character (hyphen or dash)  to tell the program that you&#8217;re submitting an argument.</p>
<p>Here&#8217;s what the <code>ls</code> command looks like with the flags for a long list all files (by default, files that start with a <code>.</code> character are hidden) with human file sizes:
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-alhF</span>
drwxr-xr-x+ <span style="color: #000000;">57</span> jason  staff   1.9K Feb  <span style="color: #000000;">9</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">27</span> .<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x   <span style="color: #000000;">5</span> root   admin   170B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">14</span>:<span style="color: #000000;">21</span> ..<span style="color: #000000; font-weight: bold;">/</span>
-rw-r--r--<span style="color: #000000; font-weight: bold;">@</span>  <span style="color: #000000;">1</span> jason  staff    15K Feb  <span style="color: #000000;">8</span> 09:<span style="color: #000000;">51</span> .DS_Store
drwx------   <span style="color: #000000;">2</span> jason  staff    68B Feb  <span style="color: #000000;">8</span> 09:<span style="color: #000000;">40</span> .Trash<span style="color: #000000; font-weight: bold;">/</span>
lrwxr-xr-x   <span style="color: #000000;">1</span> jason  staff    42B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">34</span> .bash<span style="color: #000000; font-weight: bold;">@</span> -<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jason<span style="color: #000000; font-weight: bold;">/</span>Source<span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>dotfiles<span style="color: #000000; font-weight: bold;">/</span>.bash
<span style="color: #660033;">-rw-------</span>   <span style="color: #000000;">1</span> jason  staff   112K Feb  <span style="color: #000000;">7</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">25</span> .bash_history
lrwxr-xr-x   <span style="color: #000000;">1</span> jason  staff    37B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">36</span> .bash_profile<span style="color: #000000; font-weight: bold;">@</span> -<span style="color: #000000; font-weight: bold;">&gt;</span> Source<span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>dotfiles<span style="color: #000000; font-weight: bold;">/</span>.bash_profile
drwx------  <span style="color: #000000;">13</span> jason  staff   442B Feb <span style="color: #000000;">13</span> <span style="color: #000000;">10</span>:00 .dropbox<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x   <span style="color: #000000;">3</span> jason  staff   102B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">35</span> .gem<span style="color: #000000; font-weight: bold;">/</span>
lrwxr-xr-x   <span style="color: #000000;">1</span> jason  staff    47B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">34</span> .gitconfig<span style="color: #000000; font-weight: bold;">@</span> -<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jason<span style="color: #000000; font-weight: bold;">/</span>Source<span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>dotfiles<span style="color: #000000; font-weight: bold;">/</span>.gitconfig
<span style="color: #660033;">-rw-r--r--</span>   <span style="color: #000000;">1</span> jason  staff    13B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">14</span>:<span style="color: #000000;">24</span> .gitignore_global
lrwxr-xr-x   <span style="color: #000000;">1</span> jason  staff    20B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">48</span> .gvimrc<span style="color: #000000; font-weight: bold;">@</span> -<span style="color: #000000; font-weight: bold;">&gt;</span> Source<span style="color: #000000; font-weight: bold;">/</span>dotvim<span style="color: #000000; font-weight: bold;">/</span>gvimrc
drwx------   <span style="color: #000000;">3</span> jason  staff   102B Dec  <span style="color: #000000;">8</span> <span style="color: #000000;">18</span>:<span style="color: #000000;">28</span> .heroku<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #660033;">-rw-r--r--</span>   <span style="color: #000000;">1</span> jason  staff    27B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">14</span>:<span style="color: #000000;">24</span> .hgignore_global
-rw-r--r--<span style="color: #000000; font-weight: bold;">@</span>  <span style="color: #000000;">1</span> jason  staff   622B Jan  <span style="color: #000000;">9</span> <span style="color: #000000;">14</span>:<span style="color: #000000;">10</span> .hgrc
drwxr-xr-x   <span style="color: #000000;">6</span> jason  staff   204B Nov  <span style="color: #000000;">7</span> 09:<span style="color: #000000;">36</span> .ievms<span style="color: #000000; font-weight: bold;">/</span>
lrwxr-xr-x   <span style="color: #000000;">1</span> jason  staff    45B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">34</span> .inputrc<span style="color: #000000; font-weight: bold;">@</span> -<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jason<span style="color: #000000; font-weight: bold;">/</span>Source<span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>dotfiles<span style="color: #000000; font-weight: bold;">/</span>.inputrc
<span style="color: #660033;">-rw-r--r--</span>   <span style="color: #000000;">1</span> jason  staff   349B Feb  <span style="color: #000000;">7</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">18</span> .irb-history
<span style="color: #660033;">-rw-r--r--</span>   <span style="color: #000000;">1</span> jason  staff   525B Jan <span style="color: #000000;">30</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">42</span> .irb_history
<span style="color: #660033;">-rw-------</span>   <span style="color: #000000;">1</span> jason  staff   649B Jan <span style="color: #000000;">23</span> <span style="color: #000000;">10</span>:<span style="color: #000000;">18</span> .mysql_history
drwxr-xr-x  <span style="color: #000000;">69</span> jason  staff   2.3K Jan <span style="color: #000000;">12</span> 00:<span style="color: #000000;">40</span> .npm<span style="color: #000000; font-weight: bold;">/</span>
lrwxr-xr-x   <span style="color: #000000;">1</span> jason  staff    50B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">17</span>:<span style="color: #000000;">20</span> .pow<span style="color: #000000; font-weight: bold;">@</span> -<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jason<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Application Support<span style="color: #000000; font-weight: bold;">/</span>Pow<span style="color: #000000; font-weight: bold;">/</span>Hosts
drwxr-xr-x   <span style="color: #000000;">4</span> jason  staff   136B Nov <span style="color: #000000;">21</span> <span style="color: #000000;">17</span>:06 .rbenv<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #660033;">-rw-r--r--</span>   <span style="color: #000000;">1</span> jason  staff   8.1K Dec  <span style="color: #000000;">7</span> <span style="color: #000000;">18</span>:02 .rdebug_hist
drwxr-xr-x  <span style="color: #000000;">27</span> jason  staff   918B Nov <span style="color: #000000;">21</span> <span style="color: #000000;">17</span>:07 .rvm<span style="color: #000000; font-weight: bold;">/</span>
drwx------   <span style="color: #000000;">9</span> jason  staff   306B Nov  <span style="color: #000000;">7</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">57</span> .ssh<span style="color: #000000; font-weight: bold;">/</span>
lrwxr-xr-x   <span style="color: #000000;">1</span> jason  staff    13B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">48</span> .vim<span style="color: #000000; font-weight: bold;">@</span> -<span style="color: #000000; font-weight: bold;">&gt;</span> Source<span style="color: #000000; font-weight: bold;">/</span>dotvim
<span style="color: #660033;">-rw-------</span>   <span style="color: #000000;">1</span> jason  staff    45K Feb  <span style="color: #000000;">8</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">32</span> .viminfo
lrwxr-xr-x   <span style="color: #000000;">1</span> jason  staff    19B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">48</span> .vimrc<span style="color: #000000; font-weight: bold;">@</span> -<span style="color: #000000; font-weight: bold;">&gt;</span> Source<span style="color: #000000; font-weight: bold;">/</span>dotvim<span style="color: #000000; font-weight: bold;">/</span>vimrc
<span style="color: #660033;">-rw-r--r--</span>   <span style="color: #000000;">1</span> jason  staff   661B Jan <span style="color: #000000;">11</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">37</span> .vimrc.local
drwxr-xr-x<span style="color: #000000; font-weight: bold;">@</span>  <span style="color: #000000;">5</span> jason  staff   170B Feb  <span style="color: #000000;">8</span> 09:<span style="color: #000000;">40</span> AeroFS<span style="color: #000000; font-weight: bold;">/</span>
drwx------+  <span style="color: #000000;">4</span> jason  staff   136B Feb  <span style="color: #000000;">7</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">26</span> Desktop<span style="color: #000000; font-weight: bold;">/</span>
drwx------+ <span style="color: #000000;">21</span> jason  staff   714B Feb  <span style="color: #000000;">7</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">26</span> Documents<span style="color: #000000; font-weight: bold;">/</span>
drwx------+  <span style="color: #000000;">6</span> jason  staff   204B Feb  <span style="color: #000000;">8</span> <span style="color: #000000;">10</span>:09 Downloads<span style="color: #000000; font-weight: bold;">/</span>
drwx------<span style="color: #000000; font-weight: bold;">@</span> <span style="color: #000000;">51</span> jason  staff   1.7K Feb <span style="color: #000000;">13</span> 09:<span style="color: #000000;">48</span> Dropbox<span style="color: #000000; font-weight: bold;">/</span>
drwx------<span style="color: #000000; font-weight: bold;">@</span>  <span style="color: #000000;">8</span> jason  staff   272B Jan <span style="color: #000000;">19</span> <span style="color: #000000;">13</span>:<span style="color: #000000;">51</span> Insync<span style="color: #000000; font-weight: bold;">/</span>
drwx------<span style="color: #000000; font-weight: bold;">@</span> <span style="color: #000000;">49</span> jason  staff   1.6K Feb  <span style="color: #000000;">7</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">23</span> Library<span style="color: #000000; font-weight: bold;">/</span>
drwx------+  <span style="color: #000000;">5</span> jason  staff   170B Feb  <span style="color: #000000;">2</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">19</span> Movies<span style="color: #000000; font-weight: bold;">/</span>
drwx------+  <span style="color: #000000;">6</span> jason  staff   204B Feb  <span style="color: #000000;">2</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">19</span> Music<span style="color: #000000; font-weight: bold;">/</span>
drwx------+  <span style="color: #000000;">7</span> jason  staff   238B Feb  <span style="color: #000000;">2</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">19</span> Pictures<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x+  <span style="color: #000000;">5</span> jason  staff   170B Feb  <span style="color: #000000;">2</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">19</span> Public<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x   <span style="color: #000000;">5</span> jason  staff   170B Feb  <span style="color: #000000;">2</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">19</span> Sites<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x   <span style="color: #000000;">9</span> jason  staff   306B Nov <span style="color: #000000;">29</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">32</span> Source<span style="color: #000000; font-weight: bold;">/</span>
lrwxr-xr-x   <span style="color: #000000;">1</span> jason  staff    40B Nov  <span style="color: #000000;">2</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">34</span> bin<span style="color: #000000; font-weight: bold;">@</span> -<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jason<span style="color: #000000; font-weight: bold;">/</span>Source<span style="color: #000000; font-weight: bold;">/</span>private<span style="color: #000000; font-weight: bold;">/</span>dotfiles<span style="color: #000000; font-weight: bold;">/</span>bin</pre></div></div>

<p>
   You can look up the arguments to ls <a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?ls">here</a>. The path when using the ls command is optional. If it&#8217;s not submitted, it defaults to the current directory. You can add another path after the arguments if you choose to get a file listing of a directory other than the current one.
</p>
<h3>Some More Commands</h3>
<p>
	If you want to change the current working directory, you can do so with the <code>cd</code> command. If you&#8217;re in your home directory and want to change to. If you wanted to enter your Sites directory, you would type the following:
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">  $ <span style="color: #7a0874; font-weight: bold;">cd</span> Sites
  <span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #7a0874; font-weight: bold;">&#93;</span> $</pre></div></div>

<p>
  That would put you in the <code>Sites</code> directory. The output you see above <code>[~/Sites] $</code> is because I&#8217;ve modified the built in prompt. If you don&#8217;t have that in your prompt (you probably don&#8217;t) and forget where you are, you can always use the <code>pwd</code> command to remind you:
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">pwd</span>
<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jason<span style="color: #000000; font-weight: bold;">/</span>Sites</pre></div></div>

<h3>Accomplishing Something Useful</h3>
<p>
  Let&#8217;s say I wanted to duplicate one file as another file without using the Finder. For that, you can use the <code>cp</code> command. It takes two arguments: the path of the file you want to copy from and the path of the file you want to copy to. Let&#8217;s say I was in the <code>think_vitamin</code> directory from the <a href="http://thinkvitamin.com/design/git-for-designers-part-1/">Git for Designers</a> article and I wanted to copy the <code>index.html</code> file to <code>homepage.html</code>. I could do the following:
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> think_vitamin<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin master<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">cp</span> index.html homepage.html</pre></div></div>

<p>That would duplicate the <code>index.html</code> file to <code>homepage.html</code> file. If I have a change of heart and decide to rename the <code>homepage.html</code> file, I can use the <code>mv</code> command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin master<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">mv</span> homepage.html home.html
<span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin master<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-alhF</span>
total <span style="color: #000000;">16</span>
drwxr-xr-x   <span style="color: #000000;">5</span> jason  staff   170B Feb <span style="color: #000000;">14</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">50</span> .<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x+ <span style="color: #000000;">36</span> jason  staff   1.2K Feb <span style="color: #000000;">12</span> <span style="color: #000000;">12</span>:01 ..<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x  <span style="color: #000000;">10</span> jason  staff   340B Feb  <span style="color: #000000;">1</span> 01:<span style="color: #000000;">57</span> .git<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #660033;">-rw-r--r--</span>   <span style="color: #000000;">1</span> jason  staff     3B Feb <span style="color: #000000;">14</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">46</span> home.html
<span style="color: #660033;">-rw-r--r--</span>   <span style="color: #000000;">1</span> jason  staff     3B Feb  <span style="color: #000000;">1</span> 01:<span style="color: #000000;">57</span> index.html</pre></div></div>

<p>
  Let&#8217;s say I was trying to organize files by their type. I&#8217;ve decided (for some reason) to move all html files to the <code>html</code> directory. I could move every file individually in Finder. Or, I could use something called the wildcard character and do it on the command line. The wildcard character is represented by an asterisk. Here&#8217;s what it looks like:
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin master<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">*</span>.html html<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin master<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-alhF</span>
total <span style="color: #000000;">0</span>
drwxr-xr-x   <span style="color: #000000;">4</span> jason  staff   136B Feb <span style="color: #000000;">14</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">51</span> .<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x+ <span style="color: #000000;">36</span> jason  staff   1.2K Feb <span style="color: #000000;">12</span> <span style="color: #000000;">12</span>:01 ..<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x  <span style="color: #000000;">10</span> jason  staff   340B Feb  <span style="color: #000000;">1</span> 01:<span style="color: #000000;">57</span> .git<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x   <span style="color: #000000;">4</span> jason  staff   136B Feb <span style="color: #000000;">14</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">51</span> html<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Now let&#8217;s check out the <code>html</code> directory:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin master<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-alhF</span> html<span style="color: #000000; font-weight: bold;">/</span>
total <span style="color: #000000;">16</span>
drwxr-xr-x  <span style="color: #000000;">4</span> jason  staff   136B Feb <span style="color: #000000;">14</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">51</span> .<span style="color: #000000; font-weight: bold;">/</span>
drwxr-xr-x  <span style="color: #000000;">4</span> jason  staff   136B Feb <span style="color: #000000;">14</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">51</span> ..<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #660033;">-rw-r--r--</span>  <span style="color: #000000;">1</span> jason  staff     3B Feb <span style="color: #000000;">14</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">46</span> home.html
<span style="color: #660033;">-rw-r--r--</span>  <span style="color: #000000;">1</span> jason  staff     3B Feb  <span style="color: #000000;">1</span> 01:<span style="color: #000000;">57</span> index.html</pre></div></div>

<h3>Getting Help</h3>
<p>
  Invevitably there will be times when you get stuck or need a little refresher. The authors of most commands and programs knew that would happen. Accordingly, most programs allow you to specify either <code>-h</code> or <code>--help</code> as an argument. This will usually bring up a small help screen that displays the list of commands and arguments a program takes and give you a short description of each.
</p>
<p>
  If you&#8217;re on a Mac or linux system, the <code>man</code> command will give you a much more in depth description of the options available. Not every program ships with a man page but most do. Reading through the man page will inevitably be helpful for understanding the command itself and all of the options. Often, man pages will include examples of correct usage, which is extremely helpful when you&#8217;re stuck.
</p>
<p>
  If you&#8217;re still stuck, there&#8217;s always the option of doing a web search. Just type in the name of the command and the problem you&#8217;re having in to Google. <a href="http://stackoverflow.com/">Stack Overflow</a> is another great resource for both finding help and looking up answers to your problems. Of course, <a href="http://teamtreehouse.com">Treehouse</a> walks you through using the commands you need to accomplish tasks  while earning badges.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=rnrSn0lJENo:e__lDGhqI5M:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/rnrSn0lJENo" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/code/command-line-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/code/command-line-basics/</feedburner:origLink></item>
		<item>
		<title>Free Video: Getting Started with Accessibility</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/04UmYDIEj-Y/</link>
		<comments>http://thinkvitamin.com/user-science/accessibility/free-video-getting-started-with-accessibility/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 12:00:37 +0000</pubDate>
		<dc:creator>Nick Pettit</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18675</guid>
		<content:encoded><![CDATA[<p>In this <a href="http://teamtreehouse.com/library/design-foundations/accessibility/introduction/getting-started/play?cid=193">5 minute video</a>, you&#8217;ll gain a broad understanding of accessibility and learn about its place in web design and development.</p>
<p><a href="http://teamtreehouse.com/library/design-foundations/accessibility/introduction/getting-started/play?cid=193"><img src="http://i.imgur.com/JjLLa.png" /></a></p>
<p>This video is from <a href="http://teamtreehouse.com/?cid=193">Treehouse</a>, a high-quality video training site with hundreds of short videos on topics like &#8230;</p>
<ul>
<li><a href="http://teamtreehouse.com/library/accessibility/?cid=193">Accessibility</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/css3?cid=193">CSS3</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/aesthetic-foundations?cid=193">Aesthetic Foundations</a></li>
<li><a href="http://teamtreehouse.com/library/django/?cid=193">Django</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/html/?cid=193">HTML</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/css-foundations/?cid=193">CSS</a></li>
<li><a href="http://teamtreehouse.com/library/html5-foundations/?cid=193">HTML5</a></li>
<li><a href="http://teamtreehouse.com/library/ios-4-foundations/?cid=193">iOS Development</a></li>
<li><a href="http://teamtreehouse.com/library/javascript/?cid=193">JavaScript</a></li>
<li><a href="http://teamtreehouse.com/library/jquery/?cid=193">jQuery</a></li>
<li><a href="http://teamtreehouse.com/library/nosql/?cid=193">NoSQL</a></li>
<li><a href="http://teamtreehouse.com/library/php/?cid=193">PHP</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/rwd-foundations/?cid=193">Responsive Web Design</a></li>
<li><a href="http://teamtreehouse.com/library/ruby/?cid=193">Ruby</a></li>
<li><a href="http://teamtreehouse.com/library/ruby-on-rails/?cid=193">Ruby on Rails</a></li>
<li><a href="http://teamtreehouse.com/library/archive/ux-foundations/?cid=193">UX</a></li>
<li><a href="http://teamtreehouse.com/library/version-control?cid=193">Version Control</a></li>
<li><a href="http://teamtreehouse.com/library/wordpress?cid=193">WordPress Theme Design</a></li>
</ul>
<p>New videos are added regularly, so it&#8217;s a great way to stay up-to-date on all the latest technology and methods. Browse the entire <a href="http://teamtreehouse.com/library/?cid=193">library of videos</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=04UmYDIEj-Y:di3jvaUJ6G8:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/04UmYDIEj-Y" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/user-science/accessibility/free-video-getting-started-with-accessibility/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/user-science/accessibility/free-video-getting-started-with-accessibility/</feedburner:origLink></item>
		<item>
		<title>Detect What A Mobile App Is Sending To Its Servers</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/w8WTmYxUZu4/</link>
		<comments>http://thinkvitamin.com/asides/detect-what-a-mobile-app-is-sending-to-its-servers/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 16:26:56 +0000</pubDate>
		<dc:creator>Amit Bijlani</dc:creator>
				<category><![CDATA[Asides]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18626</guid>
		<content:encoded><![CDATA[<p>Recently there has been a lot of chatter about mobile apps uploading your entire address book to their servers. The app makers claim that their intentions are noble, yet they have no right to the data unless you give consent. As an informed consumer, we should learn how to detect that an app is phoning home and what information it is sending.</p>
<p><span id="more-18626"></span></p>
<h2>Apps Phoning Home</h2>
<p>A lot of mobile apps that provide social networking features and connect you with your friends, upload information from your address book to their servers unbeknownst to you. Which apps are doing this? That is not the right question, the right question is WHY they are doing it? The main reason we have heard is that they want to have the information to notify you when a friend from your address book joins their service. I&#8217;m not sure if I prefer ease of use over violation of privacy. If an app specifically asks for your consent then by all means go ahead but don&#8217;t just steal my data! Yes, it is absolutely stealing if you are not asking for my permission.</p>
<h2>What Can You Do?</h2>
<p>Glad you asked. Firstly, you can learn how to detect these kinds of activities for yourself. All it takes is installing software and changing a few settings on your device.</p>
<p>The software for the job is known as a &#8220;man in the middle&#8221; or MITM proxy. As the name suggests, this utility stands in between your device and the server the app is trying to reach. The MITM proxy inspects the packets and provides you with useful information such as: request headers, parameters and data sent.</p>
<p>We are going to use a free tool called <a title="Paros proxy" href="http://www.parosproxy.org/index.shtml">Paros</a> proxy, but you could also use <a href="http://mitmproxy.org">mitmproxy</a>. The latter is only tested for OSX, Unix and Linux but I didn&#8217;t have much success with it. Paros is a cross-platform tool built in Java, which means you can install it regardless of your operating system.</p>
<h2>Installing Paros Proxy</h2>
<p>Before you can install Paros make sure that you have the <a title="Java runtime" href="http://www.java.com/en/download/index.jsp">Java runtime</a> installed.</p>
<p><a title="Paros proxy" href="http://www.parosproxy.org/download.shtml">Download Paros proxy</a> for your operating system. For Mac OSX users download the unix version and open up &#8220;paros.jar&#8221; file.</p>
<p>Next, find the IP address of your Wi-Fi connection.</p>
<ul>
<li><strong>Windows</strong> go to the command prompt and type <code>ipconfig</code></li>
<li><strong>Mac OSX</strong> open up the Terminal app, type <code>ifconfig en1 | grep inet</code>, or go to the System Preferences and click on Network</li>
</ul>
<p><img src="https://img.skitch.com/20120209-ewhayawmj6mcifcm7hexjfbah5.png" alt="Wifi" /></p>
<p>Finally, open up that Paros proxy software, from the menu select Tools &gt; Options &gt; Local proxy and in the address field input the IP address that you found in the previous step. Leave the port at 8080.</p>
<p><img src="https://img.skitch.com/20120209-dcq99sq2fg3exun48839yciku5.png" alt="Paros options" /></p>
<h2>Setup Your Device</h2>
<p>Open up settings, select Wi-Fi and tap the selected Wi-Fi network and scroll towards the bottom.</p>
<p><img src="https://img.skitch.com/20120209-e4d1un4iihdfa85k518trucecu.png" alt="iPhone Wi-Fi proxy" /></p>
<h2>Find A Suspecting App</h2>
<p>For this tutorial, we will use an app called <a title="Path" href="https://path.com/">Path</a> which has been known to upload your address book. However, to be fair to Path they have issued an official <a title="Path apology" href="http://blog.path.com/post/17274932484/we-are-sorry">apology</a> and added an opt-in feature for a future update.</p>
<p>Make sure you have the Paros proxy software running and then open up Path on your device. Once you sign-up or login to Path you can see the requests being made to the server in logs of the Paros proxy software.</p>
<p><img src="http://i.imgur.com/CsEIb.jpg" alt="Paros log" /></p>
<p>If you discover that an app is sending data that you have not consented to then please report it. Blog about it, let people know and make them change their policy to add an opt-in feature.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=w8WTmYxUZu4:A7BeW6lt7wQ:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/w8WTmYxUZu4" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/asides/detect-what-a-mobile-app-is-sending-to-its-servers/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/asides/detect-what-a-mobile-app-is-sending-to-its-servers/</feedburner:origLink></item>
		<item>
		<title>Are There Problems Web Apps Can’t Solve?</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/h1VpkkV3hMw/</link>
		<comments>http://thinkvitamin.com/asides/are-there-problems-web-apps-cant-solve/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 14:00:50 +0000</pubDate>
		<dc:creator>Jim Hoskins</dc:creator>
				<category><![CDATA[Asides]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18568</guid>
		<content:encoded><![CDATA[<p>I&#8217;m a developer, have been for a long time. I&#8217;ve been wrting code for the web for the past decade in my life. I think I might be stuck in a bubble, I look to the web to solve problems that can be solved better in simpler ways. And looking around, I know I am not the only one.</p>
<p>I want to tell you a story of a couple of problems that we&#8217;ve tried to solve several times with technology, when all we needed was a couple dollars worth of office supplies.</p>
<p><span id="more-18568"></span></p>
<h2 id="the_lunch_party">The Lunch Party</h2>
<p>I&#8217;ve been working with <a href="http://twitter.com/nickrp">Nick Pettit</a> since 2007, before we came to Carsonified and <a href="http://teamtreehouse.com?cid=193">Treehouse</a>. In our last job we had a group of friends we would regularly go out to lunch with from the office. After a while, the decision of where to go became too difficult. &#8220;We went there yesterday!&#8221;, &#8220;I don&#8217;t really like X!&#8221;, and &#8220;I don&#8217;t know, where do you want to go?&#8221; became the common choices.</p>
<p>Then, I was writing in Rails, so I thought, &#8220;This is an easy problem to solve. Create a Restaurant and Person model, set up a voting system, input local eateries, Bam! Problem solved.&#8221; I had spare time in the office and this could easily be classified as learning, or experience building. I ended up making two or three prototypes over the 3 years I worked there. </p>
<p>The problem is, nobody really used it. Maybe it was a usability problem, but I think the process of using a web app to plan lunch just is not natural. Going out to lunch was a very social activity, and voting on a computer screen doesn&#8217;t really mesh well with that.</p>
<p>The &#8220;Lunch App&#8221; became a running joke between me and Nick. It was a more sarcastic version of &#8220;There&#8217;s an app for that.&#8221; An idea that seems easy, but just doesn&#8217;t really work. Fortunately, before I spent the rest of my life trying to plan lunch in the office, the problem was solved for me.  Nick and I quit. Then we joined Carsonified to built Treehouse (then Think Vitamin Membership).</p>
<p>There were now just 3 people in the company, and one of them was on another continent. Lunch was just agreeing between 2 people what to do, a web app is overkill. Then we hired <a href="https://twitter.com/michaelpoley">Michael</a>. Then <a href="https://twitter.com/jongeilen">Jon</a>. And <a href="https://twitter.com/paradoxed">Amit</a>, now there are 19 people working in the Orlando office. We scaled for a while, we just had to get 3 or 4 or 5 people to agree on lunch. It became stressful around 7. Suddenly the whole office can&#8217;t eat at the same place. Organizing lunch became a problem again.</p>
<p>For a few weeks we handled it in our campfire chat room. Someone would suggest a lunch destination, some people would be in, some not so much, an alternative choice would surface. It became hard to track who goes where. I began to think about the &#8220;Lunch App&#8221; again. Then I came to my senses.</p>
<p><img src="http://i.imgur.com/EAcvwh.jpg"></p>
<p>I grabbed a sharpie and a pack of sticky notes, wrote everybody&#8217;s name and all of the restaurants, each on their own note. I stuck them on the wall and this happened.</p>
<p><img src="http://i.imgur.com/NUNC3h.jpg"></p>
<p>It was amazing. Everybody could see the options, see who wanted to go where and make a good decision. We split into 3 reasonable groups and had excellent lunches, all the way around. This took 2 minutes to make.</p>
<p>There were bugs. The sticky notes were cheap. It was a bit boring, but that was fixed by going to the store and buying some extra-sticky sticky notes. I also picked up some stickers and other decorations so people could customize their stickies.</p>
<p>Version 2 was deployed in a few minutes, now with MySpace levels of &#8220;tasteful&#8221; customization.</p>
<p><img src="http://i.imgur.com/9FS3gh.jpg"><img src="http://i.imgur.com/gofPHh.jpg"></p>
<h2 id="video_workflow">Video Workflow</h2>
<p>Lunch planning was not the end of our sticky note problem solving.  Managing a video production studio is tough. We spent a lot of time at 2 video pros and 3 teachers. It was pretty manageable, but now there are 9 people on the video team, and 7 teachers. Now planning is critical. We have one screencasting room, and one video studio. With so many people figuring out who is using what resource when, and who is working with who when became our biggest headache.</p>
<p>At Treehouse, we use a lot of web apps. We have switched project management apps more times thatn I can count. Codebase, Basecamp, Github, Remember the Milk, Trello, Team Gannt, Asana, and probably a few others that escape my memory. It felt like we were switching project management apps every week. None of these apps were bad, but they all left something to be desired for our needs. </p>
<p>Then one day the sticky notes began to spread. Michael began utilizing other walls for organizing project workflow and scheduling </p>
<p><img src="http://i.imgur.com/JKawLh.jpg"></p>
<h2 id="so_sticky_notes_solve_all_problems">So, Sticky Notes Solve All Problems?</h2>
<p>No, my point is not that we should all use sticky notes for everything.  Obviously this has disadvantages vs a technical solution, but for lunch, we don&#8217;t need to have our remote employees involved, for obvious reasons.</p>
<p><img src="http://i.imgur.com/y5Q3Ah.jpg"></p>
<p>The moral of the story is that it&#8217;s very easy to get lost in our tools. As web designers and developers, we love the web, we love our tools. It&#8217;s easy to get into the mindset of solving every problem with what you know, when the obvious solution just isn&#8217;t obvious to you anymore.</p>
<p>Next time you set out to solve a problem with software, step back and think, can I solve this problem without it?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=h1VpkkV3hMw:PHuevD6pZxU:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/h1VpkkV3hMw" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/asides/are-there-problems-web-apps-cant-solve/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/asides/are-there-problems-web-apps-cant-solve/</feedburner:origLink></item>
		<item>
		<title>Rails 3.2.1</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/sK9NCA8PUAY/</link>
		<comments>http://thinkvitamin.com/code/ruby-on-rails/rails-3-2-1/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 14:00:04 +0000</pubDate>
		<dc:creator>Jason Seifer</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18410</guid>
		<content:encoded><![CDATA[<p>Greetings, folks! If you haven&#8217;t been keeping up with the latest Rails news, we have a new version! Ruby on Rails 3.2.1 has <a href="http://weblog.rubyonrails.org/2012/1/20/rails-3-2-0-faster-dev-mode-routing-explain-queries-tagged-logger-store">recently been released</a> with some very welcome changes!</p>
<p><span id="more-18410"></span></p>
<ul>
<li><strong>Faster development mode</strong> &#8211; Rails now only reloads the classes you&#8217;ve actually changed between requests in development mode.</li>
<li><strong>Explain queries</strong> &#8211; In development mode, you can automatically show the explain of certain queries by calling <code>.explain</code> at the end of your query. The results will go in your log.</li>
<li><strong>Active Record Store</strong> &#8211; Active Record now has a built in way to do key/value storage right from your models. No plug-ins or external gems required!</li>
</ul>
<p>You can also check out the <a href="https://gist.github.com/1648523">change log</a> of all of the fixes and changes, both big and small. Enjoy!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=sK9NCA8PUAY:1BBcTugKECQ:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/sK9NCA8PUAY" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/code/ruby-on-rails/rails-3-2-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/code/ruby-on-rails/rails-3-2-1/</feedburner:origLink></item>
		<item>
		<title>Treehouse Groups are live!</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/VM23ihUEc0w/</link>
		<comments>http://thinkvitamin.com/treehouse/treehouse-groups-are-live/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 13:45:02 +0000</pubDate>
		<dc:creator>Ryan Carson</dc:creator>
				<category><![CDATA[Treehouse]]></category>
		<category><![CDATA[Features]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18615</guid>
		<content:encoded><![CDATA[<p>You can now create a <a href="http://teamtreehouse.com/groups?cid=226">Treehouse Group Account</a> for your company, university, school or any grouping of two or more people. Group plans are 25% cheaper so it&#8217;s a great way to save money. <span id="more-18615"></span></p>
<p><a href="http://teamtreehouse.com/groups?cid=226"><img src="https://img.skitch.com/20120208-e353huqs35pai7sn4aram9xbfu.png" alt="Screenshot of the new Treehouse Groups Activity page which shows Members unlocking badges and watching videos" /></a></p>
<p>We&#8217;ve added a simple Groups Dashboard that allows you to see &#8230;</p>
<ol>
<li>Group Activity: Who&#8217;s watching videos and unlocking Badges</li>
<li>Ranking in your Group, based on Badge unlocks</li>
</ol>
<h3>More info &#8230;</h3>
<ol>
<li>Group pricing is 25% off normal prices, which allows people with large groups to save a bit of money.</li>
<li>You only need 2+ people to sign up.</li>
<li>If you&#8217;re already a Member, you can&#8217;t be brought into a Group. We&#8217;ll address this in v2 of Groups. However, please contact Support if you need help: help@teamtreehouse.com</li>
<li><a href="http://teamtreehouse.com/groups?cid=226">Sign up here</a></li>
</ol>
<p>We have big plans for adding more features to Groups, so stay tuned. This is just an MVP (minimum viable product) release, so we could get it out to you all and see what you think :)</p>
<h3>General Design Refresh</h3>
<p><a href="http://twitter.com/ty">Tyson</a>, our new Designer has also done a site-wide refresh on the app. It&#8217;s even easier to use now and super fast. Tyson lead the Digg Design Team for awhile so he knows all about optimizing for speed :)</p>
<p><img src="https://img.skitch.com/20120208-ntk55d9d6nwi4ugk57khijcr8x.png" alt="Screengrab of the new Library page" /></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=VM23ihUEc0w:HlFswKnjcFk:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/VM23ihUEc0w" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/treehouse/treehouse-groups-are-live/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/treehouse/treehouse-groups-are-live/</feedburner:origLink></item>
		<item>
		<title>Free Video: Getting started with iOS development</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/uoTfIo-Tajk/</link>
		<comments>http://thinkvitamin.com/code/ios/free-video-getting-started-with-ios-development/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 15:38:09 +0000</pubDate>
		<dc:creator>Amit Bijlani</dc:creator>
				<category><![CDATA[iOS]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18579</guid>
		<content:encoded><![CDATA[<p>In this <a href="http://teamtreehouse.com/library/ios-4-foundations/your-first-app/getting-started/play?cid=193">6 minute video</a>, we will get you started with iOS development by learning about the benefits of Apple&#8217;s iOS Dev center and how to gain access to the integrated development environment (IDE) called Xcode.</p>
<p><a href="http://teamtreehouse.com/library/ios-4-foundations/your-first-app/getting-started/play?cid=193"><img src="http://i.imgur.com/34Rjr.png" /></a></p>
<p>This video is from <a href="http://teamtreehouse.com/?cid=193">Treehouse</a>, a high-quality video training site with hundreds of short videos on topics like &#8230;</p>
<ul>
<li><a href="http://teamtreehouse.com/library/accessibility/?cid=193">Accessibility</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/css3?cid=193">CSS3</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/aesthetic-foundations?cid=193">Aesthetic Foundations</a></li>
<li><a href="http://teamtreehouse.com/library/django/?cid=193">Django</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/html/?cid=193">HTML</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/css-foundations/?cid=193">CSS</a></li>
<li><a href="http://teamtreehouse.com/library/html5-foundations/?cid=193">HTML5</a></li>
<li><a href="http://teamtreehouse.com/library/ios-4-foundations/?cid=193">iOS Development</a></li>
<li><a href="http://teamtreehouse.com/library/javascript/?cid=193">JavaScript</a></li>
<li><a href="http://teamtreehouse.com/library/jquery/?cid=193">jQuery</a></li>
<li><a href="http://teamtreehouse.com/library/nosql/?cid=193">NoSQL</a></li>
<li><a href="http://teamtreehouse.com/library/php/?cid=193">PHP</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/rwd-foundations/?cid=193">Responsive Web Design</a></li>
<li><a href="http://teamtreehouse.com/library/ruby/?cid=193">Ruby</a></li>
<li><a href="http://teamtreehouse.com/library/ruby-on-rails/?cid=193">Ruby on Rails</a></li>
<li><a href="http://teamtreehouse.com/library/archive/ux-foundations/?cid=193">UX</a></li>
<li><a href="http://teamtreehouse.com/library/version-control?cid=193">Version Control</a></li>
<li><a href="http://teamtreehouse.com/library/wordpress?cid=193">WordPress Theme Design</a></li>
</ul>
<p>New videos are added regularly, so it&#8217;s a great way to stay up-to-date on all the latest technology and methods. Browse the entire <a href="http://teamtreehouse.com/library/?cid=193">library of videos</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=uoTfIo-Tajk:TBbSR5woB7s:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/uoTfIo-Tajk" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/code/ios/free-video-getting-started-with-ios-development/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/code/ios/free-video-getting-started-with-ios-development/</feedburner:origLink></item>
		<item>
		<title>Another Round of Treehouse Nerd Merit Badges!</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/MGgUMyKUE8s/</link>
		<comments>http://thinkvitamin.com/treehouse/another-round-of-treehouse-nerd-merit-badges/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 14:00:28 +0000</pubDate>
		<dc:creator>Nick Pettit</dc:creator>
				<category><![CDATA[Treehouse]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18564</guid>
		<content:encoded><![CDATA[<p>We recently launched <a href="http://teamtreehouse.com/?cid=193">Treehouse</a> and, thanks to you, it&#8217;s been successful beyond our wildest expectations. Thank you all so much!</p>
<p>We had so much fun celebrating with our previous giveaway, that we thought we would do another one.<span id="more-18564"></span>If you <a href="http://twitter.com/treehouse">tweet to @treehouse</a> the name of your favorite web app, we&#8217;ll randomly pick 10 winners to receive a &quot;Mike the Frog&quot; Nerd Merit Badge! Here&#8217;s a picture of what they look like:</p>
<p><img src="http://i.imgur.com/MRZX6.jpg" alt="A circular embroidered badge featuring Mike the Frog."></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=MGgUMyKUE8s:g-HOwraB-6U:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/MGgUMyKUE8s" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/treehouse/another-round-of-treehouse-nerd-merit-badges/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/treehouse/another-round-of-treehouse-nerd-merit-badges/</feedburner:origLink></item>
		<item>
		<title>Pears: An open source collection of common markup &amp; style</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/5QPI3k9-NNo/</link>
		<comments>http://thinkvitamin.com/design/pears-an-open-source-collection-of-common-markup-style/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 18:38:20 +0000</pubDate>
		<dc:creator>Allison Grayce</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[User Interface]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18536</guid>
		<content:encoded><![CDATA[<p>Lo and behold, Mr. Dan Cederholm has done it again! This time the folks over at <a href="http://simplebits.com/" target="_blank">SimpleBits</a> unveiled their latest project, <a href="http://pea.rs/" target="_blank">Pears</a>, an open source WordPress theme that enables you to get your own pattern library up and running quickly.</p>
<p><img alt="Pears" src="http://i.imgur.com/xvD0Z.jpg" title="Pears" class="alignleft" width="704" height="576" /></p>
<p><span id="more-18536"></span></p>
<p>This is super helpful to collect, test and experiment with your collection of semantic HTML &#038; CSS patterns. For beginners it can be a great way to begin to understand the relationship between markup and style. No matter which audience you fall into, it  is a handy tool for improving speed and productivity.</p>
<p>Also make sure to take notice of the Pears website itself, which is beautifully designed and responsive. </p>
<p>Thanks Dan, for making our lives more enjoyable with <a href="http://www.dribbble.com">Dribbble</a> and easier with <a href="http://www.pea.rs/">Pears</a>. :)</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=5QPI3k9-NNo:jznt-NvLDNM:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/5QPI3k9-NNo" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/pears-an-open-source-collection-of-common-markup-style/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/pears-an-open-source-collection-of-common-markup-style/</feedburner:origLink></item>
		<item>
		<title>Future Insights Live – Early Birds Extended!</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/UiEC1hHIdE0/</link>
		<comments>http://thinkvitamin.com/events/future-insights-live-early-birds-extended/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 16:52:04 +0000</pubDate>
		<dc:creator>Lou Morgan</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[carsonified]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[filive]]></category>
		<category><![CDATA[fowa]]></category>
		<category><![CDATA[fowd]]></category>
		<category><![CDATA[futureinsightslive]]></category>
		<category><![CDATA[futureofmobile]]></category>
		<category><![CDATA[thinkvitamin]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18485</guid>
		<content:encoded><![CDATA[<p><a href="http://thinkvitamin.com/events/future-insights-live-early-birds-extended/attachment/hooray/" rel="attachment wp-att-18486"><img src="http://thinkvitamin.com/wp-content/uploads/2012/02/hooray.jpg" alt="" width="704" height="468" class="aligncenter size-full wp-image-18486" /></a></p>
<p>If you caught <a href="http://thinkvitamin.com/events/youve-gotta-come-to-this-event/">Ryan&#8217;s article</a> last week, he told you about our brand new, not to be missed Vegas event &#8211; <a href="http://futureinsightslive.com"> Future Insights Live</a>! We&#8217;ve combined the Future of Web Apps, Design and Mobile into one massive five day event all geared toward you! Whether you&#8217;re a Web Designer, Developer or Entrepreneur there will be something for everyone.</p>
<p>We are launching a brand new scheduling app within the next couple of weeks which will list full details of the huge conference schedule and give you an overall feel for the event. So with that in mind, we have decided to extend our Early Birds (saving you $200) until 24th Feb! That way you can see EXACTLY what you&#8217;re paying for.</p>
<p>We&#8217;ll be launching the full schedule by the end of the week, so please check it out and <a href="http://futureinsightslive.com/register">join us</a> for our biggest event yet!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=UiEC1hHIdE0:pNdP7oEfh60:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/UiEC1hHIdE0" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/events/future-insights-live-early-birds-extended/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/events/future-insights-live-early-birds-extended/</feedburner:origLink></item>
		<item>
		<title>Check My Colours</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/5-7K3reuYh4/</link>
		<comments>http://thinkvitamin.com/design/check-my-colours/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 16:51:42 +0000</pubDate>
		<dc:creator>Nick Pettit</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[User Interface]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18517</guid>
		<content:encoded><![CDATA[<p>Developers often write tests to make sure their code is working properly, and designers should be thinking along the same lines.</p>
<p><span id="more-18517"></span></p>
<p>It&#8217;s difficult to test aesthetics, but with tools like <a href="http://www.spurapp.com/">Spur App</a> you can make sure that your design looks good for people with color blindness and other mild vision impairments. You can also make sure that your design has enough contrast and feels &quot;balanced&quot; on both sides.</p>
<p><a href="http://www.checkmycolours.com/"><img src="http://i.imgur.com/FdscF.jpg" alt="Logo for Check my Colours"></a></p>
<p><a href="http://www.checkmycolours.com/">Check My Colours</a> is another web-based tool that can help out. Simply type in your live URL, and you&#8217;ll get a listing of all the areas where your color contrast can be improved. It&#8217;s a bit more technical than simply looking at a black and white image, but it&#8217;s good for more detailed analysis, especially on a complex web application that might have lots of dynamic views.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=5-7K3reuYh4:ndeOO4iKia4:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/5-7K3reuYh4" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/check-my-colours/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/check-my-colours/</feedburner:origLink></item>
		<item>
		<title>Full Day Web Design Workshops: Which Would You Pick?</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/t5IZusJJEZU/</link>
		<comments>http://thinkvitamin.com/business/full-day-web-design-workshops-which-would-you-pick/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 16:51:00 +0000</pubDate>
		<dc:creator>Cat Clark</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[UX]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[carsonified]]></category>
		<category><![CDATA[fowd]]></category>
		<category><![CDATA[future of web design]]></category>
		<category><![CDATA[josh clark]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[mobile design]]></category>
		<category><![CDATA[paul boag]]></category>
		<category><![CDATA[responsive design]]></category>
		<category><![CDATA[steve fisher]]></category>
		<category><![CDATA[touchscreen]]></category>
		<category><![CDATA[ux]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web standardistas]]></category>
		<category><![CDATA[workshops]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18417</guid>
		<content:encoded><![CDATA[<p><a href="http://thinkvitamin.com/business/full-day-web-design-workshops-which-would-you-pick/attachment/learn/" rel="attachment wp-att-18419"><img class="size-full wp-image-18419 alignleft" src="http://thinkvitamin.com/wp-content/uploads/2012/02/learn.jpg" alt="" width="704" height="380" /></a></p>
<p>At Carsonified Towers, we&#8217;re all getting super excited for May, when <a title="The Future Of Web Design" href="http://futureofwebdesign.com/london-2012/">The Future of Web Design</a> hits London for another three days of learning and inspiration. As ever, we kick off the show with <a href="http://futureofwebdesign.com/london-2012/schedule">four full-day workshops</a> &#8211; each lead by a totally inspirational industry leader. From 9am am to 5pm, we&#8217;ll be rolling up our sleeves and knuckling down for a serious hit of web savvy. Numbers are capped at 40 for each workshop, ensuring a great learning environment.</p>
<p>This year&#8217;s chosen workshop topics are already proving popular. First up, we&#8217;ve got the unstoppable force of web awesomeness that is <a href="http://twitter.com/#!/boagworld">Paul Boag</a>. Director of <a title="Headscape" href="http://headscape.co.uk/">Headscape</a>, Paul will be leading a crash course in <strong>Running A Successful Web Design Business</strong>: &#8221;<em>We like to think that being a successful independent web designer is about creating great websites. Its not. Running your own business is about a lot more than having the right professional skills.</em> &#8221;</p>
<p>After wowing the crowds as a Rising Star back in 2011, <a title="Steve Fisher (Twitter)" href="http://twitter.com/hellofisher">Steve Fisher</a> has rapidly become one of our most popular speakers. He&#8217;ll be joining us again in <a href="http://futureofwebdesign.com/london-2012/">London</a> to lead his <strong>Rock Solid UX Deliverables</strong> workshop: <em>&#8220;No longer something that has to always be hugely complex and costly, we&#8217;ll cover the back-to-basics approach to UX design in this workshop and how to practically dispatch a rock solid responsive web design UX deliverables package.&#8221; </em></p>
<p>Next up, creator of the uber popular<a href="http://globalmoxie.com/blog/c25k.shtml"> Coach to 5K</a> app, <a title="Josh Clark (Twitter)" href="http://twitter.com/globalmoxie">Josh Clark</a> will be crossing the Atlantic to deliver his <strong>Teaching Touch</strong> workshop &#8211; a sell out success at <a href="http://futureofwebdesign.com/new-york-2011/schedule/">FOWD NYC</a> last year: &#8220;<em>The workshop presents nitty-gritty &#8216;rule of thumb&#8217; design techniques that together form a framework for crafting finger-friendly interface metaphors, affordances, and gestures for a new generation of mobile apps that inform and delight.</em>&#8221;</p>
<p>Last but not least, longtime Carsonified favourites, the <a href="http://twitter.com/#!/standardistas">Web Standardistas </a>will be joining the fun, to teach their <strong>Good Ideas Grow On Paper</strong> workshop: &#8220;<em>Armed with some fundamental design principles and an abundance of tools – which naturally includes the Standardistas&#8217; &#8216;Bag of Awesome™&#8217; (containing a veritable cornucopia of material) – we show the aspiring analogue designer a range of methods for breaking out of the stranglehold of the often clichéd digital world.</em>&#8221;</p>
<div>
<p>Which workshop appeals the most to you? For detailed information on all of them, head on over to our <a href="http://futureofwebdesign.com/london-2012/schedule">schedule page</a>&#8230;</p>
<p><em>Thanks to <a href="http://www.flickr.com/photos/nationaalarchief/3915529903/">Nationaal Archief</a>  for the photo used above.</em></p>
</div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=t5IZusJJEZU:XLscK-sCN70:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/t5IZusJJEZU" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/business/full-day-web-design-workshops-which-would-you-pick/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/business/full-day-web-design-workshops-which-would-you-pick/</feedburner:origLink></item>
		<item>
		<title>SQL Fiddle</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/i-wBRPUUpyA/</link>
		<comments>http://thinkvitamin.com/asides/sql-fiddle/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 15:05:25 +0000</pubDate>
		<dc:creator>Amit Bijlani</dc:creator>
				<category><![CDATA[Asides]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18418</guid>
		<content:encoded><![CDATA[<p>If you like jsFiddle, then you will love <a href="http://sqlfiddle.com/" title="SQL Fiddle">SQL Fiddle</a>. It allows you to select a database, build a schema, populate the schema and run queries against it. The service currently supports MS SQL, MySQL, Oracle, and PostgreSQL. Why is this interesting? You can compare databases, post questions to forums along with your schema and query or just prototype an idea. </p>
<p><a href="http://sqlfiddle.com/" title="SQL Fiddle"><img src="http://i.imgur.com/rXJfW.jpg" title="SQL Fiddle"></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=i-wBRPUUpyA:2tq45Y49-MU:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/i-wBRPUUpyA" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/asides/sql-fiddle/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/asides/sql-fiddle/</feedburner:origLink></item>
		<item>
		<title>Free Video: Control Flow</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/Ao2E9Z7lMJM/</link>
		<comments>http://thinkvitamin.com/code/ruby/free-video-control-flow/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 14:00:24 +0000</pubDate>
		<dc:creator>Jason Seifer</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18405</guid>
		<content:encoded><![CDATA[<p>In this <a href="http://teamtreehouse.com/library/ruby-foundations/objects-classes-and-variables/control-flow/play?cid=193">4 minute video</a>, you will learn about the concept of control flow in Ruby. This goes in to using if/else statements and case statements</p>
<p><a href="http://teamtreehouse.com/library/ruby-foundations/objects-classes-and-variables/control-flow/play?cid=193"><img src="http://thinkvitamin.com/wp-content/uploads/2012/02/Control-Flow-Treehouse-1.png" width="704" height="397" alt="A screenshot from the Control Flow video demonstrating a case statement." /></a></p>
<p>This video is from <a href="http://teamtreehouse.com/?cid=193">Treehouse</a>, a high-quality video training site with hundreds of short videos on topics like &#8230;</p>
<ul>
<li><a href="http://teamtreehouse.com/library/accessibility/?cid=193">Accessibility</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/css3?cid=193">CSS3</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/aesthetic-foundations?cid=193">Aesthetic Foundations</a></li>
<li><a href="http://teamtreehouse.com/library/django/?cid=193">Django</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/html/?cid=193">HTML</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/css-foundations/?cid=193">CSS</a></li>
<li><a href="http://teamtreehouse.com/library/html5-foundations/?cid=193">HTML5</a></li>
<li><a href="http://teamtreehouse.com/library/ios-4-foundations/?cid=193">iOS Development</a></li>
<li><a href="http://teamtreehouse.com/library/javascript/?cid=193">JavaScript</a></li>
<li><a href="http://teamtreehouse.com/library/jquery/?cid=193">jQuery</a></li>
<li><a href="http://teamtreehouse.com/library/nosql/?cid=193">NoSQL</a></li>
<li><a href="http://teamtreehouse.com/library/php/?cid=193">PHP</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/rwd-foundations/?cid=193">Responsive Web Design</a></li>
<li><a href="http://teamtreehouse.com/library/ruby/?cid=193">Ruby</a></li>
<li><a href="http://teamtreehouse.com/library/ruby-on-rails/?cid=193">Ruby on Rails</a></li>
<li><a href="http://teamtreehouse.com/library/archive/ux-foundations/?cid=193">UX</a></li>
<li><a href="http://teamtreehouse.com/library/version-control?cid=193">Version Control</a></li>
<li><a href="http://teamtreehouse.com/library/wordpress?cid=193">WordPress Theme Design</a></li>
</ul>
<p>New videos are added regularly, so it&#8217;s a great way to stay up-to-date on all the latest technology and methods. Browse the entire <a href="http://teamtreehouse.com/library/?cid=193">library of videos</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=Ao2E9Z7lMJM:Kgaf5geFeio:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/Ao2E9Z7lMJM" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/code/ruby/free-video-control-flow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/code/ruby/free-video-control-flow/</feedburner:origLink></item>
		<item>
		<title>Git For Designers (Part 1)</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/_ssyV-KFkTk/</link>
		<comments>http://thinkvitamin.com/design/git-for-designers-part-1/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 20:33:36 +0000</pubDate>
		<dc:creator>Jason Seifer</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18391</guid>
		<content:encoded><![CDATA[<p>Hi designers! I&#8217;m not a designer. Sorry. I&#8217;m a developer. I can barely tell when things look good or not. This week I learned that there are different ampersands out there (thanks, <a href="http://twitter.com/allisongrayce">Allison</a>!). But that&#8217;s not why I&#8217;m writing today. We all have to work together. Professionally, one way we do that is by using version control. A version control system tracks changes to your code. There are a lot of different version control systems out there. Today we&#8217;ll be talking about git. Specifically, as it relates to designers making web sites.</p>
<p><span id="more-18391"></span></p>
<h2>Why Use Version Control?</h2>
<p>You might be wondering why you should use version control, even for a site you&#8217;ll never collaborate with anyone on. This is a valid question. I can best illustrate the answer with a scenario you may have encountered in the past. Let&#8217;s say you&#8217;re in the middle of making a site and want to try something crazy with the css. Maybe you want to do a bit of an experiment and make everything strange shades of yellow and red. You don&#8217;t know if you&#8217;re going to keep the work when you finish it. Since it&#8217;s an experiment, it would probably be a good idea to not mess up your working version of the site.</p>
<p>At this point, you might be thinking of creating a copy of the site and making your changes on the copy. Maybe you&#8217;re sure that you&#8217;re going to use this work and you&#8217;re going to crank through. Maybe it doesn&#8217;t work out, though. Wouldn&#8217;t it be nice if you could take a snapshot of your site now, do your experiment, and not have to worry about whether you mess things up? That&#8217;s exactly what version control is for!</p>
<h2 id="install">Step 1: Install and Configure Git</h2>
<p>In order to start working with git, though, we need to install it. Git is fairly easy to install. If you&#8217;re using Windows, <a href="http://help.github.com/win-set-up-git/">GitHub</a> has an excellent set up guide to get git installed on Windows. They also have great guides for <a href="http://help.github.com/mac-set-up-git/">Mac OS X</a> and <a href="http://help.github.com/linux-set-up-git/">linux</a>. If you don&#8217;t already have git installed, follow those guides and come on back here.</p>
<p>Once you have git installed, you have to tell it who you are. This is done using the <code>config</code> command. Open Terminal and type in the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> config <span style="color: #660033;">--global</span> user.name <span style="color: #ff0000;">&quot;Jason Seifer&quot;</span>
$ <span style="color: #c20cb9; font-weight: bold;">git</span> config <span style="color: #660033;">--global</span> user.email <span style="color: #ff0000;">&quot;jason@teamtreehouse.com&quot;</span></pre></div></div>

<h2 id="initialize">Step 2: Initialize a repository</h2>
<p>We&#8217;re going to initialize a git repository now. A repository is just a directory with one or more files we want to track the changes of, in this case our web site. Open up terminal (or command prompt on Windows) and change to the directory containing the site you want to put in to git. You do that with the <code>cd</code> command. I&#8217;m going to put my web site in the <code>Sites/think_vitamin</code> directory.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #7a0874; font-weight: bold;">&#93;</span> $ <span style="color: #7a0874; font-weight: bold;">cd</span> Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin
<span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span> $</pre></div></div>

<p>Once you&#8217;re in there, type the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span> $ <span style="color: #c20cb9; font-weight: bold;">git</span> init</pre></div></div>

<p>Assuming you have correctly installed git, you should see the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">  Initialized empty Git repository <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jason<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #000000; font-weight: bold;">/</span>.git<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>This is git telling you that thinks are working and that the path it gave you is now a repository. If you don&#8217;t see that output, go back to step 1 and verify that everything was correctly installed.</p>
<h2 id="add">Step 3: Add Your Files</h2>
<p>Now that we have initialized our git repository, we have to tell git what files we want to add to the repository. In order to do this, we use the <code>add</code> command. The <code>add</code> command takes either a single file or a path. The <code>add</code> command takes the changes you&#8217;ve made and adds them to something in git called the staging area. The staging area is kind of like a waiting room for git. It lets you tell git what changes you&#8217;re going to add to the main index.</p>
<p>Since we are already in the directory with our web site, we&#8217;ll tell it to add the path of the current directory:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span> $ <span style="color: #c20cb9; font-weight: bold;">git</span> add .</pre></div></div>

<p>At this point, you won&#8217;t see any output. My example is just an <code>index.html</code> file. In order to see what git is about to stage, you can use the <code>status</code> command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin master<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> status
&nbsp;
<span style="color: #666666; font-style: italic;"># On branch master</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Initial commit</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Changes to be committed:</span>
<span style="color: #666666; font-style: italic;">#   (use &quot;git rm --cached ...&quot; to unstage)</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#	new file:   index.html</span>
<span style="color: #666666; font-style: italic;">#</span></pre></div></div>

<p>The first line of the output says &#8220;<code>On branch master</code>&#8220;. In git, a branch is just a pointer to something called a <code>commit</code> (explained in the next section). Since this is our first commit, git lets us know that on the second line of output where it says <code>Initial commit</code>. Next, git says there are changes to be committed. My <code>index.html</code> file is there since it&#8217;s the only thing I have in the directory right now. This is good!</p>
<h2 id="commit">Step 4: Commit Your Changes</h2>
<p>A <code>commit</code> in git is a pointer to a series of changes that you have told git you want to track with the <code>add</code> command. When you commit your changes, git writes them to the index. This is git&#8217;s way of saying &#8220;this is what the repository looked like at this point in time.&#8221; So let&#8217;s commit our changes:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> commit <span style="color: #660033;">-m</span> <span style="color: #ff0000;">&quot;Initial commit&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>master <span style="color: #7a0874; font-weight: bold;">&#40;</span>root-commit<span style="color: #7a0874; font-weight: bold;">&#41;</span> 542d5fa<span style="color: #7a0874; font-weight: bold;">&#93;</span> Initial commit
 <span style="color: #000000;">1</span> files changed, <span style="color: #000000;">1</span> insertions<span style="color: #7a0874; font-weight: bold;">&#40;</span>+<span style="color: #7a0874; font-weight: bold;">&#41;</span>, <span style="color: #000000;">0</span> deletions<span style="color: #7a0874; font-weight: bold;">&#40;</span>-<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 create mode <span style="color: #000000;">100644</span> index.html</pre></div></div>

<p>Here we use the <code>commit</code> command to tell git to commit our changes to the repository. The <code>-m</code> argument told git that we want to give the commit a message. My message here was &#8220;Initial commit&#8221; because this was the first commit to the repository. As you make changes, you can be much more descriptive. This is helpful when working on larger teams. <a href="http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html">Time Pope</a> has a great article on writing good commit messages if you&#8217;d like any pointers.</p>
<p>The important thing about commits is that, once you have committed changes, you can always go back to how your repository was at the point in time of that commit. How cool is that? That means that you&#8217;re now free to make horrible changes to your site. Wnat to see how Comic Sans looks for all the headers? Go for it! You can always go back.</p>
<h2 id="make_changes">Step 5: Make some changes</h2>
<p>Now that things are committed, you can feel free to make some changes to your code. In my example web page, I made changes to the header of the page. Now we can run <code>git status</code> again to see what happened:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> status
<span style="color: #666666; font-style: italic;"># On branch master</span>
<span style="color: #666666; font-style: italic;"># Changes not staged for commit:</span>
<span style="color: #666666; font-style: italic;">#   (use &quot;git add ...&quot; to update what will be committed)</span>
<span style="color: #666666; font-style: italic;">#   (use &quot;git checkout -- ...&quot; to discard changes in working directory)</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#	modified:   index.html</span>
<span style="color: #666666; font-style: italic;">#</span>
no changes added to commit <span style="color: #7a0874; font-weight: bold;">&#40;</span>use <span style="color: #ff0000;">&quot;git add&quot;</span> and<span style="color: #000000; font-weight: bold;">/</span>or <span style="color: #ff0000;">&quot;git commit -a&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Now we&#8217;ll add the file we just changed:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> add index.html
1.9.3 <span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> status
<span style="color: #666666; font-style: italic;"># On branch master</span>
<span style="color: #666666; font-style: italic;"># Changes to be committed:</span>
<span style="color: #666666; font-style: italic;">#   (use &quot;git reset HEAD ...&quot; to unstage)</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#	modified:   index.html</span>
<span style="color: #666666; font-style: italic;">#</span></pre></div></div>

<p>Finally, we&#8217;ll commit the change:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> commit <span style="color: #660033;">-m</span> <span style="color: #ff0000;">&quot;Modify home page header&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>master bc8251b<span style="color: #7a0874; font-weight: bold;">&#93;</span> Modify home page header
 <span style="color: #000000;">1</span> files changed, <span style="color: #000000;">1</span> insertions<span style="color: #7a0874; font-weight: bold;">&#40;</span>+<span style="color: #7a0874; font-weight: bold;">&#41;</span>, <span style="color: #000000;">1</span> deletions<span style="color: #7a0874; font-weight: bold;">&#40;</span>-<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Great! We just made our first two commits. Our co-workers will love us for writing a descriptive message along with the second commit, too, although they might also still be mad for taking the last cup of coffee.</p>
<h2 id="make_a_branch">Step 6: Make a branch</h2>
<p>Remember earlier when we were talking about making experimental changes that you may want to keep? That&#8217; what branches are for! Branches let you easily separate your work. You can have two branches going at the same time with different work. Branches are great for experimentation with something that you&#8217;re not sure you&#8217;re going to keep.</p>
<p>Let&#8217;s say we wanted to change the font on all headers to Comic Sans. You&#8217;re not sure how this is going to look (bad) but your client really wants you to give it a try anyway. Let&#8217;s create a branch to do that just in case we want to switch back. In git terms, we call this process creating a branch. We do that by checking out the branch and passing a flag to git saying that we want to create it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> checkout <span style="color: #660033;">-b</span> comic_sans
Switched to a new branch <span style="color: #ff0000;">'comic_sans'</span></pre></div></div>

<p>Now that we&#8217;re on our <code>comic_sans</code> branch, we are free to make changes and commit them. This won&#8217;t affect anything on our <code>master</code> branch until later. Let&#8217;s make our changes:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> status
<span style="color: #666666; font-style: italic;"># On branch comic_sans</span>
<span style="color: #666666; font-style: italic;"># Changes not staged for commit:</span>
<span style="color: #666666; font-style: italic;">#   (use &quot;git add ...&quot; to update what will be committed)</span>
<span style="color: #666666; font-style: italic;">#   (use &quot;git checkout -- ...&quot; to discard changes in working directory)</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#	modified:   index.html</span>
<span style="color: #666666; font-style: italic;">#</span>
no changes added to commit <span style="color: #7a0874; font-weight: bold;">&#40;</span>use <span style="color: #ff0000;">&quot;git add&quot;</span> and<span style="color: #000000; font-weight: bold;">/</span>or <span style="color: #ff0000;">&quot;git commit -a&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Git also let&#8217;s us see what changed in between what we&#8217;re about to stage with the <code>diff</code> command:</p>

<div class="wp_syntax"><div class="code"><pre class="diff" style="font-family:monospace;"><span style="">&#91;</span>~/Sites/think_vitamin<span style="">&#93;</span>$ git diff
diff --git a/index.html b/index.html
index 159202e..<span style="color: #440088;">266d025</span> <span style="">100644</span>
<span style="color: #888822;">--- a/index.html</span>
<span style="color: #888822;">+++ b/index.html</span>
<span style="color: #440088;">@@ -1 +1 @@</span>
<span style="color: #991111;">-</span></pre></div></div>

<h1>Hello world</h1>

<div class="wp_syntax"><div class="code"><pre class="diff" style="font-family:monospace;"><span style="color: #00b000;">+</span></pre></div></div>

<h1 style="font-face: Comic Sans;">Hello world</h1>
<p>We can also add and commit the change with one command by using the <code>-a</code> flag when committing:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> commit <span style="color: #660033;">-am</span> <span style="color: #ff0000;">&quot;Make header font comic sans&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>comic_sans 94af8b2<span style="color: #7a0874; font-weight: bold;">&#93;</span> Make header font comic sans
 <span style="color: #000000;">1</span> files changed, <span style="color: #000000;">1</span> insertions<span style="color: #7a0874; font-weight: bold;">&#40;</span>+<span style="color: #7a0874; font-weight: bold;">&#41;</span>, <span style="color: #000000;">1</span> deletions<span style="color: #7a0874; font-weight: bold;">&#40;</span>-<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Now we&#8217;ve committed to the <code>comic_sans</code> branch. Sweet!</p>
<h2>Step 7: Merge your changes</h2>
<p>Our client is now happy with the header changes. Our experimental branch we created now needs the changes to make their way back in to our main branch. We do this through a process called <em>merging</em>. What we want to do is <code>merge</code> or changes from the <code>comic_sans</code> branch back in to the <code>master</code> branch. First, we have to go to the branch we want to merge to. We do that by checking out. This time, we won&#8217;t use the <code>-b</code> parameter since we&#8217;re not creating the branch:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> checkout master
Switched to branch <span style="color: #ff0000;">'master'</span></pre></div></div>

<p>Now we use the <code>merge</code> command to get our changes from the <code>comic_sans</code> branch in to <code>master</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> merge comic_sans
Updating bc8251b..94af8b2
Fast-forward
 index.html <span style="color: #000000; font-weight: bold;">|</span>    <span style="color: #000000;">2</span> +-
 <span style="color: #000000;">1</span> files changed, <span style="color: #000000;">1</span> insertions<span style="color: #7a0874; font-weight: bold;">&#40;</span>+<span style="color: #7a0874; font-weight: bold;">&#41;</span>, <span style="color: #000000;">1</span> deletions<span style="color: #7a0874; font-weight: bold;">&#40;</span>-<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Boom! Now we have all of our changes in to git. If we want to see what these changes were, we can use th <code>log</code> command to get a nice display of times, dates, and authors:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>think_vitamin<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">git</span> log
commit 94af8b2e976ba11755f7483bc761ea2b9a747e0a
Author: Jason Seifer 
Date:   Wed Feb <span style="color: #000000;">1</span> <span style="color: #000000;">15</span>:07:<span style="color: #000000;">45</span> <span style="color: #000000;">2012</span> <span style="color: #660033;">-0500</span>
&nbsp;
    Make header font comic sans
&nbsp;
commit bc8251b338b8ac4451888e1da482708df6264529
Author: Jason Seifer 
Date:   Wed Feb <span style="color: #000000;">1</span> <span style="color: #000000;">10</span>:<span style="color: #000000;">16</span>:<span style="color: #000000;">41</span> <span style="color: #000000;">2012</span> <span style="color: #660033;">-0500</span>
&nbsp;
    Modify home page header
&nbsp;
commit 542d5fab4c86d29a125a78b8a89366f70bdfaa9d
Author: Jason Seifer 
Date:   Wed Feb <span style="color: #000000;">1</span> <span style="color: #000000;">10</span>:<span style="color: #000000;">10</span>:01 <span style="color: #000000;">2012</span> <span style="color: #660033;">-0500</span>
&nbsp;
    Initial commit</pre></div></div>

<h2>Well Done!</h2>
<p>In this article we learned how to install git, create a repository, change branches, and commit changes to our code. In the next article in this series, we&#8217;ll learn about removing files, going back to different commits, and pushing up to <a href="http://github.com">GitHub</a> and working with other people. Stay tuned!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=_ssyV-KFkTk:-zbGYzPPl58:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/_ssyV-KFkTk" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/git-for-designers-part-1/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/git-for-designers-part-1/</feedburner:origLink></item>
		<item>
		<title>Showcase of the Best Google Fonts</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/HM5OV6C1D6s/</link>
		<comments>http://thinkvitamin.com/design/typography/showcase-of-the-best-google-fonts/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 14:00:08 +0000</pubDate>
		<dc:creator>Nick Pettit</dc:creator>
				<category><![CDATA[Typography]]></category>
		<category><![CDATA[Web Fonts]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18362</guid>
		<content:encoded><![CDATA[<p>It&#8217;s no secret that I am in love with Google Fonts. In fact, I use Google Fonts frequently in <a href="http://teamtreehouse.com/?cid=193">Treehouse</a> videos. :)</p>
<p><a href="http://hellohappy.org/beautiful-web-type/"><img src="http://i.imgur.com/uLh7I.jpg" alt="A screenshot of sans-serif typography that replicates the text from Darwin's book The Origin of Species."></a></p>
<p>The ongoing drawback to Google Fonts has been the smaller selection compared to other font services, but that&#8217;s rapidly changing. Even better, an editorialized web page called &#8220;<a href="http://hellohappy.org/beautiful-web-type/">Beautiful Web Type</a>&#8221; has popped up that showcases the best fonts that Google has to offer. Loving this!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=HM5OV6C1D6s:EoR822CjsYU:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/HM5OV6C1D6s" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/typography/showcase-of-the-best-google-fonts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/typography/showcase-of-the-best-google-fonts/</feedburner:origLink></item>
		<item>
		<title>Styling Images with CSS3</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/obApUqe8UBY/</link>
		<comments>http://thinkvitamin.com/design/styling-images-with-css3/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 23:36:54 +0000</pubDate>
		<dc:creator>Mat Helme</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[responsive layout]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18373</guid>
		<content:encoded><![CDATA[<p><a href="https://twitter.com/#!/nickla">Nick La</a> over at <a href="http://www.webdesignerwall.com">Web Designer Wall</a> put together a great article on how to style images with CSS3. The styles include: Basic Style(rounded corners), Embossed Style, Soft Embossed Style, Cutout Style and Glossy Overlay.  I personally love the Embossed Style, it&#8217;s ideal for interface buttons. Originally Nick ran into some issues when styling for a responsive layout. He quickly fixed them with an alternate solution. Check out the <a href="http://webdesignerwall.com/tutorials/css3-image-styles-part-2">article</a> to see his solution.  Great job Nick, we appreciate the tips and tricks!</p>
<p><a href="http://webdesignerwall.com/tutorials/css3-image-styles-part-2">View the Tutorial</a><br />
<a href="http://webdesignerwall.com/demo/css3-image-styles-part-2/">Demo Page</a></p>
<p><img alt="" src="http://i.imgur.com/7UdVG.jpg" title="Web Designer Wall" class="alignnone" width="704" height="311" /></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=obApUqe8UBY:6rH9Pkoy-gI:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/obApUqe8UBY" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/styling-images-with-css3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/styling-images-with-css3/</feedburner:origLink></item>
		<item>
		<title>Is there a Photoshop grid for responsive web design?</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/dv8ITV0s7tQ/</link>
		<comments>http://thinkvitamin.com/design/is-there-a-photoshop-grid-for-responsive-web-design/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 22:09:51 +0000</pubDate>
		<dc:creator>Kevin Dees</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18333</guid>
		<content:encoded><![CDATA[<p>I love responsive web design. It just gets me like no one else can. Now responsive web design gets Photoshop too. A <a href="http://elliotjaystocks.com/blog/a-better-photoshop-grid-for-responsive-web-design/">recent post by Elliot Jays Stocks</a> sheds light on the topic and includes a great template for designing your next PSD. You can find the <a href="http://static.elliotjaystocks.com/responsive-grid/psd/ejs_1000px_responsive_grid.psd.zip">download link on his website</a> or view the <a href="http://static.elliotjaystocks.com/responsive-grid/html-demo/">simply view the demo</a> if you are impatient like me.</p>
<p><span id="more-18333"></span></p>
<p><img src="http://i.imgur.com/e1zAT.jpg" alt="Grid Demo" /></p>
<p>You can <a href="http://elliotjaystocks.com/blog/">read all about Elliot&#8217;s ideas</a> on his website. He explain everything is great detail. If you read his post you will find it hard to disagree. Fixed designs are becoming harder and harder to justify.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=dv8ITV0s7tQ:UwnlOh2chcM:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/dv8ITV0s7tQ" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/is-there-a-photoshop-grid-for-responsive-web-design/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/is-there-a-photoshop-grid-for-responsive-web-design/</feedburner:origLink></item>
		<item>
		<title>Kevin Rose and Jason Calacanis confirmed for Future Insights Live in Vegas</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/mPN-CgbGwmU/</link>
		<comments>http://thinkvitamin.com/events/kevin-rose-and-jason-calacanis-confirmed-for-future-insights-live-in-vegas/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 11:08:25 +0000</pubDate>
		<dc:creator>Ryan Carson</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Articles]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18352</guid>
		<content:encoded><![CDATA[<p><img src="http://thinkvitamin.com/wp-content/uploads/2012/01/Kevin-and-Jason.jpg" alt="Kevin Rose standing against a blue wall and Jason Calacanis sitting in a red chair" /></p>
<p>We&#8217;ve just confirmed that industry leaders Kevin Rose and Jason Calacanis will be speaking at <a href="http://futureinsightslive.com/">Future Insights Live</a> in Vegas on April 30 &#8211; May 4th!</p>
<p>Future Insights Live is our new show that combines Future of Web Apps, Future of Web Design and Future of Mobile into one huge 5-day, 5-track, 1,500 person conference. It&#8217;s going to be epic and you won&#8217;t want to miss it.</p>
<p>Early bird pricing (save $200) is almost over, so <a href="http://futureinsightslive.com/register">grab your ticket today</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=mPN-CgbGwmU:5GvTjoUvjZE:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/mPN-CgbGwmU" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/events/kevin-rose-and-jason-calacanis-confirmed-for-future-insights-live-in-vegas/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/events/kevin-rose-and-jason-calacanis-confirmed-for-future-insights-live-in-vegas/</feedburner:origLink></item>
		<item>
		<title>Free Video: iOS Tab bar (UITabBarController)</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/X0ky4Hr0nPg/</link>
		<comments>http://thinkvitamin.com/code/ios/free-video-ios-tab-bar-uitabbarcontroller/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 20:55:58 +0000</pubDate>
		<dc:creator>Amit Bijlani</dc:creator>
				<category><![CDATA[iOS]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18347</guid>
		<content:encoded><![CDATA[<p>In this <a href="http://teamtreehouse.com/library/ios-4-foundations/tab-bar-/basics/play?cid=193">7 minute video</a>,  you will learn the basics of the UITabBarController and how to create one using the Xcode project template.</p>
<p><a href="http://teamtreehouse.com/library/ios-4-foundations/tab-bar-/basics/play?cid=193"><img src="http://i.imgur.com/t2A5f.jpg" /></a></p>
<p>This video is from <a href="http://teamtreehouse.com/?cid=193">Treehouse</a>, a high-quality video training site with hundreds of short videos on topics like &#8230;</p>
<ul>
<li><a href="http://teamtreehouse.com/library/accessibility/?cid=193">Accessibility</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/css3?cid=193">CSS3</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/aesthetic-foundations?cid=193">Aesthetic Foundations</a></li>
<li><a href="http://teamtreehouse.com/library/django/?cid=193">Django</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/html/?cid=193">HTML</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/css-foundations/?cid=193">CSS</a></li>
<li><a href="http://teamtreehouse.com/library/html5-foundations/?cid=193">HTML5</a></li>
<li><a href="http://teamtreehouse.com/library/ios-4-foundations/?cid=193">iOS Development</a></li>
<li><a href="http://teamtreehouse.com/library/javascript/?cid=193">JavaScript</a></li>
<li><a href="http://teamtreehouse.com/library/jquery/?cid=193">jQuery</a></li>
<li><a href="http://teamtreehouse.com/library/nosql/?cid=193">NoSQL</a></li>
<li><a href="http://teamtreehouse.com/library/php/?cid=193">PHP</a></li>
<li><a href="http://teamtreehouse.com/library/design-foundations/rwd-foundations/?cid=193">Responsive Web Design</a></li>
<li><a href="http://teamtreehouse.com/library/ruby/?cid=193">Ruby</a></li>
<li><a href="http://teamtreehouse.com/library/ruby-on-rails/?cid=193">Ruby on Rails</a></li>
<li><a href="http://teamtreehouse.com/library/archive/ux-foundations/?cid=193">UX</a></li>
<li><a href="http://teamtreehouse.com/library/version-control?cid=193">Version Control</a></li>
<li><a href="http://teamtreehouse.com/library/wordpress?cid=193">WordPress Theme Design</a></li>
</ul>
<p>New videos are added regularly, so it&#8217;s a great way to stay up-to-date on all the latest technology and methods. Browse the entire <a href="http://teamtreehouse.com/library/?cid=193">library of videos</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=X0ky4Hr0nPg:7NBW_jiW3qU:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/X0ky4Hr0nPg" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/code/ios/free-video-ios-tab-bar-uitabbarcontroller/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/code/ios/free-video-ios-tab-bar-uitabbarcontroller/</feedburner:origLink></item>
		<item>
		<title>Twitter Bootstrap 2.0</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/zr94Xcv8IF8/</link>
		<comments>http://thinkvitamin.com/design/twitter-bootstrap-2-0/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 14:00:54 +0000</pubDate>
		<dc:creator>Jason Seifer</dc:creator>
				<category><![CDATA[Design]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18282</guid>
		<content:encoded><![CDATA[<p>
<a href="http://markdotto.com/bs2/docs/">Twitter Bootstrap 2.0</a> will be coming out January 31st. In the mean time, there is a pre-release you can check out and report on any bugs that you find. Twitter Bootstrap is a great HTML and CSS framework that has been gaining a lot of popularity recently. You can check out sites built with bootstrap on the unofficial <a href="http://builtwithbootstrap.com/">Built With Bootstrap</a> tumblr.
</p>
<p><span id="more-18282"></span></p>
<p>You can also follow <a href="http://twitter.com/twbootstrap">@twbootstrap</a> on Twitter.</p>
<p><a href="http://markdotto.com/bs2/docs/"><img src="http://thinkvitamin.com/wp-content/uploads/2012/01/Bootstrap-from-Twitter.jpg" alt="" title="Bootstrap, from Twitter" width="704" height="656" class="alignnone size-full wp-image-18283" /></a></p>
<p>Here&#8217;s some of what&#8217;s new in this release:</p>
<ul>
<li>Responsive layout (!) with media queries.</li>
<li>New 12 column grid (the old one was 16 columns).</li>
<li>Stacked forms are the default.</li>
<li>Split button dropdowns.</li>
<li>New Pills.</li>
<li>Navigation lists.</li>
<li>New Dropdowns.</li>
<li>Tabbles in any direction.</li>
<li>New JavaScript plugins.</li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=zr94Xcv8IF8:1bwn3ziR6Wc:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/zr94Xcv8IF8" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/twitter-bootstrap-2-0/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/twitter-bootstrap-2-0/</feedburner:origLink></item>
		<item>
		<title>A New Year, A New Responsive Dribbble Portfolio – Part 1 of 2</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/e8vStbJuWrA/</link>
		<comments>http://thinkvitamin.com/design/a-new-year-a-new-responsive-dribbble-portfolio-part-1-of-2/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 14:00:18 +0000</pubDate>
		<dc:creator>Mat Helme</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18138</guid>
		<content:encoded><![CDATA[<p><a href="http://i.imgur.com/6HWPQ.png"><img src="http://i.imgur.com/bvVj8.jpg" alt="Dribbble Portfolio" /></a></p>
<p>What better way to start off the new year than a fresh new Dribbble portfolio?  If you are a designer with minimal coding experience and want to display your Dribbble work in all browser sizes, you have come to the right place.  We will be creating a HTML5 one page portfolio which pulls your Dribbble information and is responsive in all browsers.  This little project will be presented in two parts.</p>
<p><span id="more-18138"></span></p>
<hr />
<h3>Part 1 (this post):</h3>
<p>HTML/CSS/jQuery set up.</p>
<h3>Part 2 (coming soon):</h3>
<p>Convert HTML to PHP and use the Dribbble API to pull your data. Plus IE fixes.</p>
<hr />
<h2>The File Structure</h2>
<p>Let’s dig right in and start off with our file structure.  On your desktop create a folder labeled: ‘Dribble-Portfolio’.  In that folder create the following files:</p>
<ul>
<li>folder labeled ‘css’</li>
<ul>
<li>style.css</li>
</ul>
<li>folder labeled ‘images’</li>
<ul>
<li><a href="http://i.imgur.com/IGjNu.png">logo.png</a></li>
<li><a href="http://i.imgur.com/CaQ1q.png">connet.jpg</a></li>
<li><a href="http://i.imgur.com/gp22J.jpg">me.png</a></li>
<li><a href="http://i.imgur.com/C5Sdi.jpg">sample.jpg</a></li>
</ul>
<li>index.html</li>
<li>folder labeled ‘scripts’</li>
<ul>
<li><a href="http://www.etuwa.com/scripts/jquery.js">jquery.js</a></li>
<li><a href="http://www.etuwa.com/scripts/fitText.js">fitText.js</a></li>
</ul>
</ul>
<p>It should look a little something like this:</p>
<p><img src="http://i.imgur.com/U0OPl.jpg" alt="Dribbble Portfolio" /></p>
<p><em>*to download the .js and image files simply select the links above and save them to the appropriate file structure.</em></p>
<h2>The HTML</h2>
<p>Now that we have all of our assets and files lets begin with the HTML. Below is the proper code for your ‘index.html’ file.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;!</span>DOCTYPE html<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;!--</span>Viewport<span style="color: #339933;">--&gt;</span>
	<span style="color: #339933;">&lt;</span>meta name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;viewport&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;width=device-width; initial-scale=1; maximum-scale=1&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Content-Type&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/html; charset=UTF-8&quot;</span> <span style="color: #339933;">/&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>title<span style="color: #339933;">&gt;</span>Dribbble Portfolio<span style="color: #339933;">&lt;/</span>title<span style="color: #339933;">&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;!--</span>Google fonts<span style="color: #339933;">--&gt;</span>
  <span style="color: #339933;">&lt;</span>link href<span style="color: #339933;">=</span><span style="color: #0000ff;">'http://fonts.googleapis.com/css?family=Open+Sans'</span> rel<span style="color: #339933;">=</span><span style="color: #0000ff;">'stylesheet'</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">'text/css'</span><span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;</span>link href<span style="color: #339933;">=</span><span style="color: #0000ff;">'http://fonts.googleapis.com/css?family=Raleway:100'</span> rel<span style="color: #339933;">=</span><span style="color: #0000ff;">'stylesheet'</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">'text/css'</span><span style="color: #339933;">&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;!--</span>Main Stylesheet<span style="color: #339933;">--&gt;</span>
  <span style="color: #339933;">&lt;</span>link rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;stylesheet&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/css&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;css/style.css&quot;</span> <span style="color: #339933;">/&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>body<span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>header<span style="color: #339933;">&gt;</span>
&nbsp;
  	<span style="color: #339933;">&lt;</span>h1 id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;logo&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/logo.png&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;My Logo&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>h1<span style="color: #339933;">&gt;</span>
&nbsp;
    <span style="color: #339933;">&lt;</span>nav<span style="color: #339933;">&gt;</span>
&nbsp;
    	<span style="color: #339933;">&lt;</span>ul <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;menu&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;email&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;dribbble&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;twitter&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;facebook&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;linkd&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
&nbsp;
      <span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
&nbsp;
    <span style="color: #339933;">&lt;/</span>nav<span style="color: #339933;">&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;/</span>header<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span><span style="color: #990000;">end</span> header<span style="color: #339933;">--&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;</span>section <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;half&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
      <span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/me.jpg&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;main-image&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;This is Me&quot;</span> <span style="color: #339933;">/&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;/</span>section<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span><span style="color: #990000;">end</span> main image<span style="color: #339933;">--&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;</span>section <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;half&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
  	<span style="color: #339933;">&lt;</span>h2 <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tagline&quot;</span><span style="color: #339933;">&gt;</span>Check Out My Super Radical One Page Responsive Portfolio Which Pulls My Dribble <span style="color: #0000ff;">'Shots'</span><span style="color: #339933;">.</span> Get Gnarly<span style="color: #339933;">!&lt;/</span>h2<span style="color: #339933;">&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;/</span>section<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span><span style="color: #990000;">end</span> tagline<span style="color: #339933;">--&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;clear&quot;</span><span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;</span>section<span style="color: #339933;">&gt;</span>
&nbsp;
			<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Latest Work<span style="color: #339933;">&lt;/</span>h1<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
			<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;container&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;/</span>section<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span><span style="color: #990000;">end</span> dribble content<span style="color: #339933;">--&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;clear&quot;</span><span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;</span>footer<span style="color: #339933;">&gt;</span>All RIghts Reserved <span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>www<span style="color: #339933;">.</span>website<span style="color: #339933;">.</span>com<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>footer<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span><span style="color: #990000;">end</span> footer<span style="color: #339933;">--&gt;</span>
&nbsp;
&nbsp;
&nbsp;
<span style="color: #339933;">&lt;/</span>body<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p>As you can see the code is fairly simple. We have a basic HTML5 markup with some ‘viewport’ settings at the top. The ‘viewport’ settings tell devices such as iPhones to display at the devices width and scale.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #339933;">&lt;!</span>DOCTYPE html<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;!--</span>Viewport<span style="color: #339933;">--&gt;</span>
	<span style="color: #339933;">&lt;</span>meta name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;viewport&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;width=device-width; initial-scale=1; maximum-scale=1&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Content-Type&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/html; charset=UTF-8&quot;</span> <span style="color: #339933;">/&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>title<span style="color: #339933;">&gt;</span>Dribbble Portfolio<span style="color: #339933;">&lt;/</span>title<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Also the &#8216;head&#8217; is reaching out and grabbing some Google font stylesheets as well as our ‘style.css’ file in our ‘css’ folder. We will get to this file in our next step.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
  <span style="color: #339933;">&lt;!--</span>Google fonts<span style="color: #339933;">--&gt;</span>
  <span style="color: #339933;">&lt;</span>link href<span style="color: #339933;">=</span><span style="color: #0000ff;">'http://fonts.googleapis.com/css?family=Open+Sans'</span> rel<span style="color: #339933;">=</span><span style="color: #0000ff;">'stylesheet'</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">'text/css'</span><span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;</span>link href<span style="color: #339933;">=</span><span style="color: #0000ff;">'http://fonts.googleapis.com/css?family=Raleway:100'</span> rel<span style="color: #339933;">=</span><span style="color: #0000ff;">'stylesheet'</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">'text/css'</span><span style="color: #339933;">&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;!--</span>Main Stylesheet<span style="color: #339933;">--&gt;</span>
  <span style="color: #339933;">&lt;</span>link rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;stylesheet&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/css&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;css/style.css&quot;</span> <span style="color: #339933;">/&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span></pre></div></div>

<p>As we get into the body of the file we have four main sections(header, section(half), section(dribbble) and footer).</p>
<p>The header contains two elements. Element one is the logo, feel free to change it. It’s located in the images folder, labeled ‘logo.png’(200x80px). Element two is our social network icons which we won’t see until we add the css styles. For now we are going to link to hash tags. In part two of this tutorial we will be pulling in the correct data via Dribbble.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>header<span style="color: #339933;">&gt;</span>
&nbsp;
  	<span style="color: #339933;">&lt;</span>h1 id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;logo&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/logo.png&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;My Logo&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>h1<span style="color: #339933;">&gt;</span>
&nbsp;
    <span style="color: #339933;">&lt;</span>nav<span style="color: #339933;">&gt;</span>
&nbsp;
    	<span style="color: #339933;">&lt;</span>ul <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;menu&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;email&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;dribbble&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;twitter&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;facebook&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;linkd&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
&nbsp;
      <span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
&nbsp;
    <span style="color: #339933;">&lt;/</span>nav<span style="color: #339933;">&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;/</span>header<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span><span style="color: #990000;">end</span> header<span style="color: #339933;">--&gt;</span></pre></div></div>

<p>The next section, section(half) contains our ‘me.jpg’ image and our tagline which are located directly below the header. Feel free to swap out the image(me.jpg) and tagline copy to better personalize your portfolio. The image currently being pulled in is 800x600px as it is scalable to the screen size.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #339933;">&lt;</span>section <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;half&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
      <span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/me.jpg&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;main-image&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;This is Me&quot;</span> <span style="color: #339933;">/&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;/</span>section<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span><span style="color: #990000;">end</span> main image<span style="color: #339933;">--&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;</span>section <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;half&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
  	<span style="color: #339933;">&lt;</span>h2 <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tagline&quot;</span><span style="color: #339933;">&gt;</span>Check Out My Super Radical One Page Responsive Portfolio Which Pulls My Dribble <span style="color: #0000ff;">'Shots'</span><span style="color: #339933;">.</span> Get Gnarly<span style="color: #339933;">!&lt;/</span>h2<span style="color: #339933;">&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;/</span>section<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span><span style="color: #990000;">end</span> tagline<span style="color: #339933;">--&gt;</span>
&nbsp;
  <span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;clear&quot;</span><span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Our next section is section(dribble) which is going to pull our most recent Dribbble ‘shot’ titles and ‘shot’ images. For now we are going to use dummy content. In part two we will be running a loop to pull the latest projects with the all mighty power of php. You will also be able to choose how many projects you would like to display. For now we are going show twelve ‘shot’ examples.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>section<span style="color: #339933;">&gt;</span>
&nbsp;
			<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Latest Work<span style="color: #339933;">&lt;/</span>h1<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
			<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;container&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
          <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;box&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Title of the Work<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
            	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/sample.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Work Title&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pic&quot;</span><span style="color: #339933;">/&gt;</span>
          <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;/</span>section<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span><span style="color: #990000;">end</span> dribble content<span style="color: #339933;">--&gt;</span></pre></div></div>

<p>The last section is the footer area. This is for any links or Copy Right text you wish to display or link out to.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>footer<span style="color: #339933;">&gt;</span>All RIghts Reserved <span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>www<span style="color: #339933;">.</span>website<span style="color: #339933;">.</span>com<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>footer<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span><span style="color: #990000;">end</span> footer<span style="color: #339933;">--&gt;</span></pre></div></div>

<h2>The CSS</h2>
<p>Now that we have inserted all of our HTML data, let’s add our styles to the page. Simply copy the CSS code below and input it into the style.css file. Here is the CSS code:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* DRIBBBLE PORTFOLIO SITE - 2012 */</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*RESET*/</span>
html<span style="color: #00AA00;">,</span>body<span style="color: #00AA00;">,</span>div<span style="color: #00AA00;">,</span>span<span style="color: #00AA00;">,</span>applet<span style="color: #00AA00;">,</span>object<span style="color: #00AA00;">,</span>iframe<span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#logo</span><span style="color: #00AA00;">,</span>h2<span style="color: #00AA00;">,</span>h3<span style="color: #00AA00;">,</span>h4<span style="color: #00AA00;">,</span>h5<span style="color: #00AA00;">,</span>h6<span style="color: #00AA00;">,</span>p<span style="color: #00AA00;">,</span>blockquote<span style="color: #00AA00;">,</span>pre<span style="color: #00AA00;">,</span>a<span style="color: #00AA00;">,</span>abbr<span style="color: #00AA00;">,</span>acronym<span style="color: #00AA00;">,</span>address<span style="color: #00AA00;">,</span>big<span style="color: #00AA00;">,</span>cite<span style="color: #00AA00;">,</span>code<span style="color: #00AA00;">,</span>del<span style="color: #00AA00;">,</span>dfn<span style="color: #00AA00;">,</span>em<span style="color: #00AA00;">,</span>img<span style="color: #00AA00;">,</span>ins<span style="color: #00AA00;">,</span>kbd<span style="color: #00AA00;">,</span>q<span style="color: #00AA00;">,</span>s<span style="color: #00AA00;">,</span>samp<span style="color: #00AA00;">,</span>small<span style="color: #00AA00;">,</span>strike<span style="color: #00AA00;">,</span>strong<span style="color: #00AA00;">,</span>sub<span style="color: #00AA00;">,</span>sup<span style="color: #00AA00;">,</span>tt<span style="color: #00AA00;">,</span>var<span style="color: #00AA00;">,</span>b<span style="color: #00AA00;">,</span>u<span style="color: #00AA00;">,</span>i<span style="color: #00AA00;">,</span><span style="color: #993333;">center</span><span style="color: #00AA00;">,</span>dl<span style="color: #00AA00;">,</span>dt<span style="color: #00AA00;">,</span>dd<span style="color: #00AA00;">,</span>ol<span style="color: #00AA00;">,</span>ul<span style="color: #00AA00;">,</span>li<span style="color: #00AA00;">,</span>fieldset<span style="color: #00AA00;">,</span>form<span style="color: #00AA00;">,</span>label<span style="color: #00AA00;">,</span>legend<span style="color: #00AA00;">,</span>table<span style="color: #00AA00;">,</span>caption<span style="color: #00AA00;">,</span>tbody<span style="color: #00AA00;">,</span>tfoot<span style="color: #00AA00;">,</span>thead<span style="color: #00AA00;">,</span>tr<span style="color: #00AA00;">,</span>th<span style="color: #00AA00;">,</span>td<span style="color: #00AA00;">,</span>article<span style="color: #00AA00;">,</span>aside<span style="color: #00AA00;">,</span>canvas<span style="color: #00AA00;">,</span>details<span style="color: #00AA00;">,</span><span style="color: #993333;">embed</span><span style="color: #00AA00;">,</span>figure<span style="color: #00AA00;">,</span>figcaption<span style="color: #00AA00;">,</span>footer<span style="color: #00AA00;">,</span>header<span style="color: #00AA00;">,</span>hgroup<span style="color: #00AA00;">,</span>menu<span style="color: #00AA00;">,</span>nav<span style="color: #00AA00;">,</span>output<span style="color: #00AA00;">,</span>ruby<span style="color: #00AA00;">,</span>section<span style="color: #00AA00;">,</span>summary<span style="color: #00AA00;">,</span>time<span style="color: #00AA00;">,</span>mark<span style="color: #00AA00;">,</span>audio<span style="color: #00AA00;">,</span>video<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>border<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>font-family<span style="color: #00AA00;">:</span><span style="color: #993333;">inherit</span><span style="color: #00AA00;">;</span>font-<span style="color: #000000; font-weight: bold;">size</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>padding<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>vertical-align<span style="color: #00AA00;">:</span><span style="color: #993333;">baseline</span><span style="color: #00AA00;">&#125;</span>article<span style="color: #00AA00;">,</span>aside<span style="color: #00AA00;">,</span>details<span style="color: #00AA00;">,</span>figcaption<span style="color: #00AA00;">,</span>figure<span style="color: #00AA00;">,</span>footer<span style="color: #00AA00;">,</span>header<span style="color: #00AA00;">,</span>hgroup<span style="color: #00AA00;">,</span>menu<span style="color: #00AA00;">,</span>nav<span style="color: #00AA00;">,</span>section<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">&#125;</span>body<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">&#125;</span>ol<span style="color: #00AA00;">,</span>ul<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">&#125;</span>blockquote<span style="color: #00AA00;">,</span>q<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">quotes</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">&#125;</span>blockquote<span style="color: #3333ff;">:before</span><span style="color: #00AA00;">,</span>blockquote<span style="color: #3333ff;">:after</span><span style="color: #00AA00;">,</span>q<span style="color: #3333ff;">:before</span><span style="color: #00AA00;">,</span>q<span style="color: #3333ff;">:after</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">&#125;</span>table<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">border-collapse</span><span style="color: #00AA00;">:</span><span style="color: #993333;">collapse</span><span style="color: #00AA00;">;</span>border-spacing<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*MAIN*/</span>
body <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#dce877</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">5%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Open </span>Sans<span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">90%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">13px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">21px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#616634</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
header<span style="color: #00AA00;">,</span> footer <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
section <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
ul <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
a <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#616634</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> transition<span style="color: #3333ff;">:all </span>linear .5s<span style="color: #00AA00;">;</span> -webkit-transition<span style="color: #3333ff;">:all </span>linear .5s<span style="color: #00AA00;">;</span> -moz-transition<span style="color: #3333ff;">:all </span>linear .5s<span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span><span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#111</span><span style="color: #00AA00;">;</span> opacity<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
h1<span style="color: #00AA00;">,</span> h2<span style="color: #00AA00;">,</span> h3 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">normal</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
h1 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
h2 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">30px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">40px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
h3 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">14px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">40px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
p <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.full</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">96%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">2%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.half</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">46%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">2%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
.<span style="color: #000000; font-weight: bold;">clear</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #993333;">both</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*HEADER*/</span>
header <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#bcc664</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#logo</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> transition<span style="color: #3333ff;">:all </span>linear .5s<span style="color: #00AA00;">;</span> -webkit-transition<span style="color: #3333ff;">:all </span>linear .5s<span style="color: #00AA00;">;</span> -moz-transition<span style="color: #3333ff;">:all </span>linear .5s<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">/*CONNECT*/</span>
	nav <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span> transition<span style="color: #3333ff;">:all </span>linear .5s<span style="color: #00AA00;">;</span> -webkit-transition<span style="color: #3333ff;">:all </span>linear .5s<span style="color: #00AA00;">;</span> -moz-transition<span style="color: #3333ff;">:all </span>linear .5s<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.menu</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.menu</span> li <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.menu</span> li a <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">32px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">31px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../images/connect.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span> opacity<span style="color: #00AA00;">:</span>.5<span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">30px</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.menu</span> li a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span> opacity<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.dribbble</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.linkd</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">-38px</span> <span style="color: #cc66cc;">0</span> !important<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.twitter</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">-78px</span> <span style="color: #cc66cc;">0</span> !important<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.facebook</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">-118px</span> <span style="color: #cc66cc;">0</span> !important<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.email</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">-158px</span> <span style="color: #cc66cc;">0</span> !important<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*SECTION(HALF)*/</span>
<span style="color: #6666ff;">.main-image</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.tagline</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">140%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#616634</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span>Raleway<span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">normal</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*SECTION(DRIBBBLE)*/</span>
<span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span> -moz-column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">4</span><span style="color: #00AA00;">;</span> column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">4</span><span style="color: #00AA00;">;</span> -webkit-column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">4</span><span style="color: #00AA00;">;</span> -webkit-column-gap<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span> -moz-column-gap<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span> column-gap<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.box</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#BCC664</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5%</span><span style="color: #00AA00;">;</span> opacity<span style="color: #00AA00;">:</span>.75<span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span>inline-<span style="color: #993333;">block</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#616634</span><span style="color: #00AA00;">;</span> border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #933;">2px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">90%</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.pic</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #993333;">both</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*FOOTER*/</span>
footer <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#bcc664</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #808080; font-style: italic;">/*MEDIA QUERIES*/</span>
<span style="color: #a1a100;">@media screen and (max-width:960px ) {</span>
&nbsp;
	<span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span> -moz-column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">3</span><span style="color: #00AA00;">;</span> column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">3</span><span style="color: #00AA00;">;</span> -webkit-column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">3</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #a1a100;">@media screen and (max-width: 768px) {</span>
&nbsp;
	<span style="color: #6666ff;">.half</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">95%</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.menu</span> li a <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span> -moz-column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">2</span><span style="color: #00AA00;">;</span> -webkit-column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">2</span><span style="color: #00AA00;">;</span> column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">2</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>	
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #a1a100;">@media screen and (max-width: 479px) {</span>
&nbsp;
	<span style="color: #cc00cc;">#logo</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">48px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	nav <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">50px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #6666ff;">.menu</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span> -moz-column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span> -webkit-column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span> column-count<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>After we save our ‘style.css’ file and refresh our browser, we have a very clean portfolio layout that responds well to the browser size.</p>
<p>When you view the stylesheet css code you will see ‘%’ used a lot on the width attributes. The page is styled with a responsive fluid layout in mind. If you have any questions about responsive web sites, please check out ‘<a href="http://teamtreehouse.com/library/design-foundations/rwd-foundations">Responsive Web Design Foundations</a>’ over at Treehouse.</p>
<p>As of now we have a fully functional static HTML5 page which has been tested in the latest versions of Firefox, Chrome and Safari. Because we are using HTML5 and CSS3 capabilities we will not be testing in IE at the moment. Once we finish up part 2 of the tutorial we will set up separate IE files to compensate for it’s lack of functionality with HTML5 and CSS3.</p>
<h2>The JavaScript</h2>
<p>Lastly we are going to add a little javascript to our page allowing our ‘tagline’ text to scale with browser size. Insert this snippet of code directly below the footer.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;!--</span>js files<span style="color: #339933;">--&gt;</span>
	<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;scripts/jquery.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;scripts/fitText.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;!--</span>initiate fit text<span style="color: #339933;">--&gt;</span>
	<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
  	 $<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
  		 <span style="color: #009966; font-style: italic;">/*FitText*/</span>
  		 $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.tagline&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fitText</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1.1</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> minFontSize<span style="color: #339933;">:</span> <span style="color: #3366CC;">'20px'</span><span style="color: #339933;">,</span> maxFontSize<span style="color: #339933;">:</span> <span style="color: #3366CC;">'200px'</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  	 <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>This snippet simply links up to our ‘jquery’ and ‘fitText’ files we set in our scripts folder earlier. Then it initiates the ‘fitText’ function and gives it some variables. Feel free to change the max-font-size and min-font-size as your ‘tagline’ will be different.</p>
<h2>Wrapping Up</h2>
<p>Now lets review what we have just done.</p>
<ul>
<li>We have set up our HTML</li>
<li>Added our CSS styles</li>
<li>Inserted a little javascript</li>
</ul>
<p>Congratulations you have successfully set up a static responsive one page portfolio.</p>
<hr />
<p><a href="http://thinkvitamin.s3.amazonaws.com/dribbble-api/part-1/Dribble-Portfolio.zip">Source Files</a><br />
<a href="http://thinkvitamin.s3.amazonaws.com/dribbble-api/part-1/Dribble-Portfolio/index.html" target="_blank">Demo Site</a></p>
<hr />
<h3>Still to Come(Part 2)</h3>
<p>In the final portion of this tutorial we will be using <a href="http://dribbble.com/api">Dribbble API</a> to load in our user data and ‘shots’, as well as IE 8 and up fixes. In the meantime if you would like to know more about HTML5 and CSS3 please check out <a href="http://teamtreehouse.com/">Treehouse</a>, or contact me at mat@teamtreehouse.com. As always, Get Gnarly and Design your Life!</p>
<p>Role Those Credits:</p>
<ul>
<li><a href="http://dribbble.com/">Dribbble</a></li>
<li><a href="http://jquery.com/">jQuery</a></li>
<li><a href="http://fittextjs.com/">Fit Text</a></li>
<li><a href="http://teamtreehouse.com/">Treehouse</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=e8vStbJuWrA:gA_zEYOkPlI:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/e8vStbJuWrA" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/a-new-year-a-new-responsive-dribbble-portfolio-part-1-of-2/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/a-new-year-a-new-responsive-dribbble-portfolio-part-1-of-2/</feedburner:origLink></item>
		<item>
		<title>Scrolling Made Fun</title>
		<link>http://feedproxy.google.com/~r/vitaminmasterfeed/~3/1yWNXrRKmPc/</link>
		<comments>http://thinkvitamin.com/design/scrolling-made-fun/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 20:00:31 +0000</pubDate>
		<dc:creator>Mat Helme</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Typography]]></category>
		<guid isPermaLink="false">http://thinkvitamin.com/?p=18304</guid>
		<content:encoded><![CDATA[<p><a href="http://johnpolacek.github.com/scrollorama/"><img src="http://i.imgur.com/Ff5DF.jpg" alt="Scrollorama" /></a></p>
<p>Just when you thought scrolling your web page was getting boring. <a href="http://johnpolacek.github.com/scrollorama/">Scrollorama</a> has stepped the scroll game up with this remarkable jQuery Plugin. <a href="http://johnpolacek.github.com/scrollorama/">Scrollorama</a> allows you to manipulate text when you scroll the page. You can do everything from Transitions to Zoom to Parallax. Check out the <a href="http://johnpolacek.github.com/scrollorama/">Scrollorama</a> site to view some great examples and the plugin&#8217;s documentation.</p>
<p>This Plugin is great for landing pages and highly interactive web applications. Like CSS3 transitions, use your animations sparingly.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/vitaminmasterfeed?a=1yWNXrRKmPc:mVfXxKLz_NY:TJpph-hZrPI"><img src="http://feeds.feedburner.com/~ff/vitaminmasterfeed?d=TJpph-hZrPI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/vitaminmasterfeed/~4/1yWNXrRKmPc" height="1" width="1"/>]]></content:encoded>
		<wfw:commentRss>http://thinkvitamin.com/design/scrolling-made-fun/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
					<feedburner:origLink>http://thinkvitamin.com/design/scrolling-made-fun/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.882 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-22 14:58:44 -->

