<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Code Samples on HTML5 in 24 Hours</title>
    <link>https://www.html5in24hours.com/code-samples/</link>
    <description>Code Samples on HTML5 in 24 Hours</description>
    <generator>Hugo</generator>
    <language>en-us</language><copyright>Jennifer Kyrnin</copyright><lastBuildDate>Wed, 01 Feb 2023 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.html5in24hours.com/code-samples/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Teach Yourself Bootstrap Code Listings</title>
      <link>https://www.html5in24hours.com/code-samples/tyb-code/</link>
      <pubDate>Wed, 01 Feb 2023 00:00:00 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/tyb-code/</guid><description>&lt;h2 id=&#34;code-listings&#34;&gt;Code Listings&lt;/h2&gt;&#xA;&lt;h3 id=&#34;part-1-getting-started-with-bootstrap&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/&#34;&gt;Part 1: Getting Started with Bootstrap&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;h4 id=&#34;1what-is-a-framework-and-why-you-should-use-it&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#hour1&#34;&gt;1.What is a Framework and Why You Should Use It&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#list1.1&#34;&gt;Listing 1.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;2downloading-and-installing-bootstrap&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#hour2&#34;&gt;2.Downloading and Installing Bootstrap&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#list2.1&#34;&gt;Listing 2.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#list2.2&#34;&gt;Listing 2.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#list2.3&#34;&gt;Listing 2.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;3build-your-first-bootstrap-website-with-the-basic-template&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#hour3&#34;&gt;3.Build Your First Bootstrap Website with the Basic Template&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#list3.1&#34;&gt;Listing 3.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#list3.2&#34;&gt;Listing 3.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#list3.3&#34;&gt;Listing 3.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;4understanding-normalizecss-and-the-basics-of-bootstrap-css&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#hour4&#34;&gt;4.Understanding Normalize.CSS and the Basics of Bootstrap CSS&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#list4.1&#34;&gt;Listing 4.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/#list4.2&#34;&gt;Listing 4.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;part-2-building-and-managing-web-pages-with-bootstrap&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/&#34;&gt;Part 2: Building and Managing Web Pages with Bootstrap&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;h4 id=&#34;5grids-and-how-to-use-them&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#hour5&#34;&gt;5.Grids and How to Use Them&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list5.1&#34;&gt;Listing 5.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list5.2&#34;&gt;Listing 5.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list5.3&#34;&gt;Listing 5.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list5.4&#34;&gt;Listing 5.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list5.5&#34;&gt;Listing 5.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list5.6&#34;&gt;Listing 5.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list5.7&#34;&gt;Listing 5.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list5.8&#34;&gt;Listing 5.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;6labels-badges-panels-wells-and-the-jumbotron&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#hour6&#34;&gt;6.Labels, Badges, Panels, Wells, and the Jumbotron&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list6.1&#34;&gt;Listing 6.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list6.2&#34;&gt;Listing 6.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list6.3&#34;&gt;Listing 6.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list6.4&#34;&gt;Listing 6.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list6.5&#34;&gt;Listing 6.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list6.6&#34;&gt;Listing 6.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list6.7&#34;&gt;Listing 6.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list6.8&#34;&gt;Listing 6.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list6.9&#34;&gt;Listing 6.9&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list6.10&#34;&gt;Listing 6.10&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;7bootstrap-typography&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#hour7&#34;&gt;7.Bootstrap Typography&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list7.1&#34;&gt;Listing 7.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list7.2&#34;&gt;Listing 7.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list7.3&#34;&gt;Listing 7.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list7.4&#34;&gt;Listing 7.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list7.5&#34;&gt;Listing 7.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list7.6&#34;&gt;Listing 7.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list7.7&#34;&gt;Listing 7.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;8styling-tables&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#hour8&#34;&gt;8.Styling Tables&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list8.1&#34;&gt;Listing 8.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list8.2&#34;&gt;Listing 8.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list8.3&#34;&gt;Listing 8.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list8.4&#34;&gt;Listing 8.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list8.5&#34;&gt;Listing 8.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;9styling-forms&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#hour9&#34;&gt;9.Styling Forms&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.1&#34;&gt;Listing 9.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.2&#34;&gt;Listing 9.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.3&#34;&gt;Listing 9.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.4&#34;&gt;Listing 9.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.5&#34;&gt;Listing 9.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.6&#34;&gt;Listing 9.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.7&#34;&gt;Listing 9.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.8&#34;&gt;Listing 9.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.9&#34;&gt;Listing 9.9&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.10&#34;&gt;Listing 9.10&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.11&#34;&gt;Listing 9.11&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.12&#34;&gt;Listing 9.12&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list9.13&#34;&gt;Listing 9.13&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;10images-and-glyphicons&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#hour10&#34;&gt;10.Images and Glyphicons&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list10.1&#34;&gt;Listing 10.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list10.2&#34;&gt;Listing 10.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list10.3&#34;&gt;Listing 10.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list10.4&#34;&gt;Listing 10.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list10.5&#34;&gt;Listing 10.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list10.6&#34;&gt;Listing 10.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list10.7&#34;&gt;Listing 10.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list10.8&#34;&gt;Listing 10.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;11styling-and-using-buttons-and-button-groups&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#hour11&#34;&gt;11.Styling and Using Buttons and Button Groups&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list11.1&#34;&gt;Listing 11.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list11.2&#34;&gt;Listing 11.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list11.3&#34;&gt;Listing 11.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list11.4&#34;&gt;Listing 11.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list11.5&#34;&gt;Listing 11.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list11.6&#34;&gt;Listing 11.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list11.7&#34;&gt;Listing 11.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;12creating-navigation-systems-with-bootstrap&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#hour12&#34;&gt;12.Creating Navigation Systems with Bootstrap&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.1&#34;&gt;Listing 12.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.2&#34;&gt;Listing 12.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.3&#34;&gt;Listing 12.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.4&#34;&gt;Listing 12.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.5&#34;&gt;Listing 12.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.6&#34;&gt;Listing 12.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.7&#34;&gt;Listing 12.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.8&#34;&gt;Listing 12.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.9&#34;&gt;Listing 12.9&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.10&#34;&gt;Listing 12.10&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.11&#34;&gt;Listing 12.11&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.12&#34;&gt;Listing 12.12&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.13&#34;&gt;Listing 12.13&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.14&#34;&gt;Listing 12.14&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.15&#34;&gt;Listing 12.15&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.16&#34;&gt;Listing 12.16&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list12.17&#34;&gt;Listing 12.17&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;13bootstrap-utilities&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#hour13&#34;&gt;13.Bootstrap Utilities&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list13.1&#34;&gt;Listing 13.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list13.2&#34;&gt;Listing 13.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list13.3&#34;&gt;Listing 13.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list13.4&#34;&gt;Listing 13.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list13.5&#34;&gt;Listing 13.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list13.6&#34;&gt;Listing 13.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list13.7&#34;&gt;Listing 13.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/#list13.8&#34;&gt;Listing 13.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;part-3-bootstrap-javascript-plugins&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/&#34;&gt;Part 3: Bootstrap JavaScript Plugins&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;h4 id=&#34;14using-bootstrap-javascript-plugins&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#hour14&#34;&gt;14.Using Bootstrap JavaScript Plugins&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list14.1&#34;&gt;Listing 14.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list14.2&#34;&gt;Listing 14.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list14.3&#34;&gt;Listing 14.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list14.4&#34;&gt;Listing 14.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list14.5&#34;&gt;Listing 14.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list14.6&#34;&gt;Listing 14.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list14.7&#34;&gt;Listing 14.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list14.8&#34;&gt;Listing 14.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;15modal-windows&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#hour15&#34;&gt;15.Modal Windows&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list15.1&#34;&gt;Listing 15.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list15.2&#34;&gt;Listing 15.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list15.3&#34;&gt;Listing 15.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list15.4&#34;&gt;Listing 15.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list15.5&#34;&gt;Listing 15.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list15.6&#34;&gt;Listing 15.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list15.7&#34;&gt;Listing 15.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list15.8&#34;&gt;Listing 15.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list15.9&#34;&gt;Listing 15.9&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;16affix-tab-and-scrollspy&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#hour16&#34;&gt;16.Affix, Tab, and Scrollspy&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list16.1&#34;&gt;Listing 16.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list16.2&#34;&gt;Listing 16.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list16.3&#34;&gt;Listing 16.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list16.4&#34;&gt;Listing 16.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list16.5&#34;&gt;Listing 16.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list16.6&#34;&gt;Listing 16.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list16.7&#34;&gt;Listing 16.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list16.8&#34;&gt;Listing 16.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;17popovers-and-tooltips&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#hour17&#34;&gt;17.Popovers and Tooltips&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list17.1&#34;&gt;Listing 17.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list17.2&#34;&gt;Listing 17.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list17.3&#34;&gt;Listing 17.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list17.4&#34;&gt;Listing 17.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list17.5&#34;&gt;Listing 17.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list17.6&#34;&gt;Listing 17.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list17.7&#34;&gt;Listing 17.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;18transitions-buttons-alerts-and-progress-bars&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#hour18&#34;&gt;18.Transitions, Buttons, Alerts, and Progress Bars&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.1&#34;&gt;Listing 18.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.2&#34;&gt;Listing 18.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.3&#34;&gt;Listing 18.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.4&#34;&gt;Listing 18.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.5&#34;&gt;Listing 18.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.6&#34;&gt;Listing 18.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.7&#34;&gt;Listing 18.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.8&#34;&gt;Listing 18.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.9&#34;&gt;Listing 18.9&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.10&#34;&gt;Listing 18.10&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.11&#34;&gt;Listing 18.11&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.12&#34;&gt;Listing 18.12&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list18.13&#34;&gt;Listing 18.13&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;19collapse-and-accordion&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#hour19&#34;&gt;19.Collapse and Accordion&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list19.1&#34;&gt;Listing 19.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list19.2&#34;&gt;Listing 19.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list19.3&#34;&gt;Listing 19.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list19.4&#34;&gt;Listing 19.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list19.5&#34;&gt;Listing 19.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list19.6&#34;&gt;Listing 19.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list19.7&#34;&gt;Listing 19.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;20carousels&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#hour20&#34;&gt;20.Carousels&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list20.1&#34;&gt;Listing 20.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list20.2&#34;&gt;Listing 20.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list20.3&#34;&gt;Listing 20.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list20.4&#34;&gt;Listing 20.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list20.5&#34;&gt;Listing 20.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list20.6&#34;&gt;Listing 20.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/#list20.7&#34;&gt;Listing 20.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;part-4-customizing-bootstrap&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/&#34;&gt;Part 4: Customizing Bootstrap&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;h4 id=&#34;21customizing-bootstrap-and-your-bootstrap-website&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#hour21&#34;&gt;21.Customizing Bootstrap and Your Bootstrap Website&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list21.1&#34;&gt;Listing 21.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;22making-bootstrap-accessible&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#hour22&#34;&gt;22.Making Bootstrap Accessible&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list22.1&#34;&gt;Listing 22.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list22.2&#34;&gt;Listing 22.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;23using-less-and-sass-with-bootstrap&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#hour23&#34;&gt;23.Using Less and Sass with Bootstrap&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.1&#34;&gt;Listing 23.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.2&#34;&gt;Listing 23.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.3&#34;&gt;Listing 23.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.4&#34;&gt;Listing 23.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.5&#34;&gt;Listing 23.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.6&#34;&gt;Listing 23.6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.7&#34;&gt;Listing 23.7&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.8&#34;&gt;Listing 23.8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.9&#34;&gt;Listing 23.9&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.10&#34;&gt;Listing 23.10&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.11&#34;&gt;Listing 23.11&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list23.12&#34;&gt;Listing 23.12&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;24going-further-with-bootstrap&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#hour24&#34;&gt;24.Going Further with Bootstrap&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list24.1&#34;&gt;Listing 24.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list24.2&#34;&gt;Listing 24.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list24.3&#34;&gt;Listing 24.3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list24.4&#34;&gt;Listing 24.4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/#list24.5&#34;&gt;Listing 24.5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Teach Yourself RWD in 24 Hours—Code Samples</title>
      <link>https://www.html5in24hours.com/code-samples/rwd-code/</link>
      <pubDate>Sun, 01 Jan 2023 00:00:00 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/rwd-code/</guid><description>&lt;h2 id=&#34;code-samples&#34;&gt;Code Samples&lt;/h2&gt;&#xA;&lt;p&gt;The code samples in the book are all available online for you to copy and paste into your pages to try out.&lt;/p&gt;&#xA;&lt;p&gt;Not every hour of the book has code listings, but here are the listings for those hours that have them.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-1/&#34;&gt;Hour 1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-2/&#34;&gt;Hour 2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-5/&#34;&gt;Hour 5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-6/&#34;&gt;Hour 6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-11/&#34;&gt;Hour 11&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-12/&#34;&gt;Hour 12&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-13/&#34;&gt;Hour 13&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-14/&#34;&gt;Hour 14&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-15/&#34;&gt;Hour 15&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-16/&#34;&gt;Hour 16&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-17/&#34;&gt;Hour 17&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-18/&#34;&gt;Hour 18&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-19/&#34;&gt;Hour 19&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-22/&#34;&gt;Hour 22&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-23/&#34;&gt;Hour 23&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Teach Yourself HTML5 in 24 Hours—Code Samples</title>
      <link>https://www.html5in24hours.com/code-samples/tyhtml5-code/</link>
      <pubDate>Thu, 01 Dec 2022 00:00:00 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/tyhtml5-code/</guid><description>&lt;h2 id=&#34;code-samples&#34;&gt;Code Samples&lt;/h2&gt;&#xA;&lt;p&gt;The code samples in the book are all available online for you to copy and paste into your pages to try out.&lt;/p&gt;&#xA;&lt;h3 id=&#34;hour-1-improving-mobile-web-application-development-with-html5&#34;&gt;Hour 1: Improving Mobile Web Application Development with HTML5&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour1-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/exercises/exercise1-1.html&#34;&gt;Exercise 1.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-2-new-html5-tags-and-attributes-with-mobile-development&#34;&gt;Hour 2: New HTML5 Tags and Attributes with Mobile Development&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour2-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-3-styling-mobile-pages-with-css3&#34;&gt;Hour 3: Styling Mobile Pages with CSS3&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour3-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/exercises/exercise3-1.html&#34;&gt;Exercise 3.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/exercises/exercise3-2.html&#34;&gt;Exercise 3.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-4-detecting-mobile-devices-and-html5-support&#34;&gt;Hour 4: Detecting Mobile Devices and HTML5 Support&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour4-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-5-javascript-and-html5-web-applications&#34;&gt;Hour 5: JavaScript and HTML5 Web Applications&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour5-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/exercises/exercise5-1.html&#34;&gt;Exercise 5.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/exercises/exercise5-2.html&#34;&gt;Exercise 5.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-6-building-a-mobile-web-application&#34;&gt;Hour 6: Building a Mobile Web Application&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour6-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-7-upgrading-a-site-to-html5&#34;&gt;Hour 7: Upgrading a Site to HTML5&lt;/h3&gt;&#xA;&lt;p&gt;There is no code in this hour.&lt;/p&gt;&#xA;&lt;h3 id=&#34;hour-8-converting-web-apps-to-mobile&#34;&gt;Hour 8: Converting Web Apps to Mobile&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour8-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-9-adding-meaning-with-html5-sectioning-and-semantic-elements&#34;&gt;Hour 9: Adding Meaning with HTML5 Sectioning and Semantic Elements&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour-9-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-10-drawing-with-the-html5-canvas-element&#34;&gt;Hour 10: Drawing with the HTML5 Canvas Element&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour10-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-11-fonts-and-typography-in-html5&#34;&gt;Hour 11: Fonts and Typography in HTML5&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour11-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-12-audio-and-video-in-html5&#34;&gt;Hour 12: Audio and Video in HTML5&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour12-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-13-html5-forms&#34;&gt;Hour 13: HTML5 Forms&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour13-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-14-editing-content-and-user-interaction-with-html5&#34;&gt;Hour 14: Editing Content and User Interaction with HTML5&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour14-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-15-microformats-and-microdata&#34;&gt;Hour 15: Microformats and Microdata&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour15-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-16-working-with-html5-drag-and-drop-functionality&#34;&gt;Hour 16: Working with HTML5 Drag-and-Drop Functionality&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour16-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-17-html5-links&#34;&gt;Hour 17: HTML5 Links&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour17-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-18-web-application-apis-and-datasets&#34;&gt;Hour 18: Web Application APIs and Datasets&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour18-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-19-websockets-web-workers-and-files&#34;&gt;Hour 19: WebSockets, Web Workers, and Files&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour19-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-20-offline-web-applications&#34;&gt;Hour 20: Offline Web Applications&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour20-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-21-web-storage-in-html5&#34;&gt;Hour 21: Web Storage in HTML5&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour21-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-22-controlling-the-browser-history-with-the-history-api&#34;&gt;Hour 22: Controlling the Browser History with the History API&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour22-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-23-adding-location-detection-with-geolocation&#34;&gt;Hour 23: Adding Location Detection with GeoLocation&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour23-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;hour-24-converting-html5-apps-to-native-apps&#34;&gt;Hour 24: Converting HTML5 Apps to Native Apps&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/hour24-code.html&#34;&gt;Code Samples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr&gt;&#xA;&lt;h3 id=&#34;comments&#34;&gt;Comments:&lt;/h3&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22dlengton@gmail.com%22&#34;&gt;Deon Lengton&lt;/a&gt; - Mar 0, 2013&lt;/p&gt;&#xA;&lt;p&gt;Good book but lots of errors in the examples. Perhaps its teaching me to take a closer look - but can be frustrating none-the-less&amp;hellip; Coding example for page 76 Form validated with JQuery is missing a closing bracket &amp;lsquo;)&amp;rsquo; for the Document Ready function.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Mar 0, 2013&lt;/p&gt;&#xA;&lt;p&gt;@Deon Lengton: That sucks! I&amp;rsquo;ll get that corrected as soon as possible. I hope if you find other errors that you&amp;rsquo;ll let me know. The book was tested by me and two technical editors, but even after all that, errors can creep in. It&amp;rsquo;s always a good idea to look closely at whatever you&amp;rsquo;re doing.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22ebernet@gmail.com%22&#34;&gt;EB&lt;/a&gt; - Mar 2, 2013&lt;/p&gt;&#xA;&lt;p&gt;I tried the canvas example, and everything I kept on trying failed in Safari and Firefox. How could such a simple 1st entry in the book be so error prone? I came here for an errata, and found none. This is what I have: function drawSquare () { var canvas = document.getElementById(&amp;lsquo;simple-square&amp;rsquo;); if (canvas.getContext) { var context = canvas.getContext(&amp;lsquo;2d&amp;rsquo;); context.fillStyle = &amp;ldquo;rgb(13, 118, 208)&amp;rdquo;; context.fillRect (2,2,798,798); } else { // put code for browsers that don’t support canvas here alert(“This page requires an HTML5 compliant browser to render correctly. Other browsers may not see anything.”) } } My HTML 5 2-Column Page My HTML 5 2-Column Page &lt;a href=&#34;https://www.html5in24hours.com/code-samples/tyhtml5-code/#&#34;&gt;Home&lt;/a&gt; &lt;a href=&#34;https://www.html5in24hours.com/code-samples/tyhtml5-code/#&#34;&gt;Products&lt;/a&gt; Lorem ipsum © 2013 EB&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22ebernet@gmail.com%22&#34;&gt;EB&lt;/a&gt; - Mar 2, 2013&lt;/p&gt;&#xA;&lt;p&gt;Found the two errors. Just to note, the curly braces on the alert I added in later when I copied code. They should be straight quotes. The real error here is that you need to add the (); after the onload=&amp;ldquo;drawSquare&amp;rdquo; to get the sample to work (onload=&amp;ldquo;drawSquare();&amp;rdquo;). Also, it may help if you are consistent with the use of single and double quotes in your code. The sample is loose with these, and while they may be the same, there is no clear indication of this here. The sample you include here is all styled, so if one were to copy the one you have here, which uses open and closed quotes, none fo this wold work.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Mar 2, 2013&lt;/p&gt;&#xA;&lt;p&gt;Hi EB, &amp;ldquo;The canvas example&amp;rdquo; is not really enough information for me to find what you&amp;rsquo;re talking about and check/fix errors, but I am going to try and find it and fix it if I can. Thanks for the report! As for how errors creep in, well, that&amp;rsquo;s easy to explain (well, not easy, but&amp;hellip;). Here&amp;rsquo;s the process I do when I write:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I write the contents and decide where I want to have examples.&lt;/li&gt;&#xA;&lt;li&gt;I write the examples in HTML and test that they work in my web browsers (on Mac and Windows as well as Android and iOS).&lt;/li&gt;&#xA;&lt;li&gt;Once the examples work correctly for me, I copy and paste the HTML into the book text.&lt;br&gt;&#xA;Errors can enter here if I paste the HTML wrong, but I try very hard to paste only the working HTML.&lt;/li&gt;&#xA;&lt;li&gt;The book is then reviewed by two or three technical editors who are asked to test all the examples in their browsers (and some of them do and some of them don&amp;rsquo;t).&lt;br&gt;&#xA;Errors can enter here if a correction is made to the text that ends up breaking the example. Again, I and my tech editors try hard to avoid this, but it can happen.&lt;/li&gt;&#xA;&lt;li&gt;Then the book is copy edited and grammar/spelling/wording errors are found and fixed.&lt;br&gt;&#xA;This is another place where errors can creep in.&lt;/li&gt;&#xA;&lt;li&gt;The book text is then given over to the publisher to be formatted and printed (and published to ebook format).&lt;br&gt;&#xA;I don&amp;rsquo;t know how many steps this is, but basically any time the text is touched errors can be inadvertently added.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;I&amp;rsquo;m currently working on an update of the book for the enhanced ebook version (with videos). And once that is complete, I&amp;rsquo;ll be posting the errors I found and corrected here (for those with the older version). Any errors you find now I can correct for the enhanced ebook. I know they are frustrating, but all I can say is that everyone involved in this book is dedicated to creating as error-free a product as possible. I&amp;rsquo;m sorry if these errors are annoying to you—I can assure you that they are even more annoying to me. :-)&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Mar 2, 2013&lt;/p&gt;&#xA;&lt;p&gt;@EB: Thanks for the update. I&amp;rsquo;ll do a search for &amp;ldquo;drawSquare&amp;rdquo; in the book text. It helps, if you find further errors, to let me know the page number (in a physical copy of the book) or the Example number or other identifier (like the nearest Figure number or even just the chapter number and section name). Thanks again for taking the time to report this.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22ebernet@gmail.com%22&#34;&gt;EB&lt;/a&gt; - Mar 2, 2013&lt;/p&gt;&#xA;&lt;p&gt;Sorry, I thought these comments were specifically for the page I was on (Chapter 2, figure 2.2). Also, the text I pasted in was seen as HTML, otherwise you would have seen the code (making it easy to reference the HTML). The errors were caused by multiple reasons: For one, when things failed for me I tried to copy your code sample for that chapter in (chapter 2, figure 2.2). Your code samples were not sent through a text editor to clean up for a browser. They have &amp;ldquo;smart&amp;rdquo; quotes in them, as in, open and close quotes. That is one of the failures. For another, the onload fopr the function requires (); after the function. lastly, your use of single and double quotes without an explanation leaves ambiguous the use. I have since realized they are interchangeable (are they?) but being consistent, or saying they are interchangeable, would have been nice.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22ebernet@gmail.com%22&#34;&gt;EB&lt;/a&gt; - Mar 2, 2013&lt;/p&gt;&#xA;&lt;p&gt;P.S. I copied the code sample when typing a variation out of the book failed. My variation initially only had the straight quotes. It was the missing (); that caused it to fail. When I tried a bunch of things and they did not work, that was when I copied your sample in. My assumption is that code in a box broken out from the text of your blog will have the correct quote types (straight quotes, not open and close quotes). These samples should all be cleaned to prevent that.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Mar 2, 2013&lt;/p&gt;&#xA;&lt;p&gt;@Deon Lengton: Hi again, So I went to that page and here is the document ready function (copy pasted from the text of the ebook): $(document).ready(function(){   $(“#link1 img&amp;quot;).hover(     function() {       this.src = this.src.replace(“_off&amp;quot;,&amp;quot;_on&amp;quot;);     },     function() {       this.src = this.src.replace(&amp;quot;_on&amp;quot;,&amp;quot;_off&amp;quot;);     }   ); }); I checked in my IDE and all the brackets show up. But what I did notice was that some of the quotes were entered as curly quotes rather than straight quotes. So if you copy pasted the code directly from the book (not from my example pages, but from the book text itself) you may have ended up with curly quotes in there by mistake. Unfortunately this is a very very common problem with programming books. It’s hard to tell when you’re editing and I made dozens of notes to my editors to make sure they use straight quotes in the code samples, but Word and other tools tend to “help” by adding them back in when you aren’t looking. It’s frustrating. :-)&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Mar 2, 2013&lt;/p&gt;&#xA;&lt;p&gt;@EB: Heh, nope, I don&amp;rsquo;t have any idea what page you&amp;rsquo;re on. :-) I just see your comment. And your HTML was stripped out, so I didn&amp;rsquo;t see it either. Thanks for letting me know the chapter and figure. That&amp;rsquo;ll definitely let me find it. I write all my HTML in a text editor. The problem is when it was edited by other people other than me, their copies of Word would re-introduce the curly quotes. I was nearly tearing my hair out with this. My editing notes were sprayed with (more and more frantic) comments by me along the lines of “please use straight quotes in code samples”, then “I noticed more curly quotes in the code, they need to be converted to straight quotes”, to “OMG!!! GET RID OF THE CURLY QUOTES!!!!” :-) It would be funny if it weren&amp;rsquo;t so sad. I&amp;rsquo;ve just posted a note on the blog about this, and as I mention there, I&amp;rsquo;m letting the publishers know about this problem. It&amp;rsquo;s a big one and really needs to be fixed in the ebook version.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Mar 2, 2013&lt;/p&gt;&#xA;&lt;p&gt;Yes, agreed. I&amp;rsquo;ve got a post up for tomorrow about the missing parentheses and have made a note in the ebook to get it fixed. Thanks.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22ebernet@gmail.com%22&#34;&gt;EB&lt;/a&gt; - Mar 3, 2013&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m not talking about copying it from the book, I am talking about copying it from your broken out text block on this web site in the code samples. And no, some are the right kind of quotes, and some are the begin and end quotes. Look, as a programmer who has been dealing with books and quotes for years and years where this issue may come up, I have not seen it in code samples on web pages, especially when they are broken out this way. Maybe the book is an excuse that can be passed on to editors (although I would assume that editors of technical books should know this,) but in the exercise samples we go to download? This problem is not going to show up for people who copy what they see in the book, as long as they use a text editor. It IS a problem for people copying from your web page, which I would imagine YOU have direct control over…&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Mar 3, 2013&lt;/p&gt;&#xA;&lt;p&gt;Actually, in this blog post, I am speaking from personal testing just yesterday. I was alerted to the possible problem by your post, and when I copy pasted from the PDF file I found that the quotes were turned into curly quotes. So it &lt;strong&gt;is&lt;/strong&gt; caused by copying from the ebook files into a text editor. I am &lt;em&gt;also&lt;/em&gt; going through all the code samples here on the site again to make sure that if that happened in creating the code samples for the website that they are fixed. This is the first report I&amp;rsquo;ve had that the downloadable code samples themselves didn&amp;rsquo;t work. Please note, I&amp;rsquo;m not saying this to excuse the problems you&amp;rsquo;ve had. :-) I&amp;rsquo;m trying to figure out where the problem is happening and fix it. Thanks for your help with doing that.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22ebernet@gmail.com%22&#34;&gt;EB&lt;/a&gt; - Mar 3, 2013&lt;/p&gt;&#xA;&lt;p&gt;SO the curly quote is still not fixed in the figure 2.2 sample code: context.fillStyle = “rgb(13, 118, 208)&amp;quot;; . . alert(“This page requires an HTML5 compliant browser &amp;hellip;Other browsers may not see anything.&amp;quot;) Those both have opening curly quotes. If you are looking for anyone to beta try out the new digital version, I would really like to.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22ebernet@gmail.com%22&#34;&gt;EB&lt;/a&gt; - Mar 3, 2013&lt;/p&gt;&#xA;&lt;p&gt;P.S. Pasting the code into comment text made the closing brackets curly as well. The problem is only with the opening quotes in the actual code samples section.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Mar 3, 2013&lt;/p&gt;&#xA;&lt;p&gt;I can&amp;rsquo;t replicate that. Bizarre!&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22ebernet@gmail.com%22&#34;&gt;EB&lt;/a&gt; - Mar 4, 2013&lt;/p&gt;&#xA;&lt;p&gt;The code is fixed today. I assume copying code into where I am typing right now will once again place curly quotes in. Thanks for your help.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22al.Ainaugier@gmail.com%22&#34;&gt;Ainaugier&lt;/a&gt; - Dec 3, 2014&lt;/p&gt;&#xA;&lt;p&gt;I just received (today) the &amp;ldquo;Sams Teach Yourself Responsive Web Design 24 hours&amp;rdquo;. While in the intro, page 3, it says: this book has a companion website at &lt;a href=&#34;http://html5in24hours.com&#34;&gt;http://html5in24hours.com&lt;/a&gt;, there is no data related to this very book??? 24 th december 2014, Montréal&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.htmljenn.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Jan 4, 2015&lt;/p&gt;&#xA;&lt;p&gt;Hi, Sorry about this I was ill in the first part of December, and the book ended up coming out sooner than I expected. I have gotten the &lt;a href=&#34;https://www.html5in24hours.com/&#34;&gt;code samples&lt;/a&gt; up and will have the table of contents up soon too. Thanks for buying the book!&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;</description>
    </item>
    <item>
      <title>Teach Yourself Bootstrap Part 4 Code Listings</title>
      <link>https://www.html5in24hours.com/code-samples/part-4-code-samples/</link>
      <pubDate>Sun, 27 Sep 2015 00:13:22 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/part-4-code-samples/</guid><description>&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/books/teach-yourself-bootstrap-in-24-hours/code-samples/part-1-code-samples/&#34;&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/books/teach-yourself-bootstrap-in-24-hours/code-samples/part-2-code-samples/&#34;&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/books/teach-yourself-bootstrap-in-24-hours/code-samples/part-3-code-samples/&#34;&gt;Part 3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/books/teach-yourself-bootstrap-in-24-hours/code-samples/part-4-code-samples/&#34;&gt;Part 4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;part-4-customizing-bootstrap&#34;&gt;Part 4: Customizing Bootstrap&lt;/h1&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.html5in24hours.com/books/teach-yourself-bootstrap-in-24-hours/&#34;&gt;&lt;img src=&#34;https://www.html5in24hours.com/images/978-0672337048-150x150.jpeg&#34; alt=&#34;Sams Teach Yourself Bootstrap in 24 Hours&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;hour-21-customizing-bootstrap-and-your-bootstrap-website&#34;&gt;Hour 21: Customizing Bootstrap and Your Bootstrap Website&lt;/h2&gt;&#xA;&lt;h3 id=&#34;listing-211&#34;&gt;Listing 21.1&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;body {&#xA;  background-color: #4C521D; &#xA;}&#xA;body &amp;gt; .container {&#xA;  background-color: #fff;&#xA;}&#xA;.jumbotron {&#xA;  background: #6c702d;&#xA;  background: -moz-linear-gradient(top, #6c702d 0%, #dfdfdf 100%); &#xA;  background: -webkit-gradient(linear, left top, left bottom,&#xA;    color-stop(0%,#6c702d), color-stop(100%,#dfdfdf)); &#xA;  background: -webkit-linear-gradient(top,&#xA;    #6c702d 0%,#dfdfdf 100%); &#xA;  background: -o-linear-gradient(top, #6c702d 0%,#dfdfdf 100%); &#xA;  background: -ms-linear-gradient(top, #6c702d 0%,#dfdfdf 100%);&#xA;  background: linear-gradient(to bottom, #6c702d 0%,#dfdfdf 100%);&#xA;  filter: progid:DXImageTransform.Microsoft.gradient(&#xA;    startColorstr=&amp;#39;#6c702d&amp;#39;, endColorstr=&amp;#39;#dfdfdf&amp;#39;,&#xA;    GradientType=0 ); &#xA;  color: #000;&#xA;}&#xA;.jumbotron h1 {&#xA;  color: #D8AA10;&#xA;  text-shadow: 4px 4px 4px #000;&#xA;}&#xA;.quote {&#xA;  background-color: #6C702D;&#xA;  color: #ddd;&#xA;}&#xA;.carousel-control.left {&#xA;  background-image: -webkit-linear-gradient(left,&#xA;    rgba(170,140,23,1) 0,rgba(0,0,0,.0001) 100%);&#xA;  background-image: -o-linear-gradient(left,rgba(170,140,23,1) 0,&#xA;    rgba(0,0,0,.0001) 100%);&#xA;  background-image: -webkit-gradient(linear,left top,right top,&#xA;    from(rgba(170,140,23,1)),to(rgba(0,0,0,.0001)));&#xA;  background-image: linear-gradient(to right,rgba(170,140,23,1) 0,&#xA;    rgba(0,0,0,.0001) 100%);&#xA;  filter: progid:DXImageTransform.Microsoft.gradient(&#xA;    startColorstr=&amp;#39;#80000000&amp;#39;, endColorstr=&amp;#39;#00000000&amp;#39;,&#xA;    GradientType=1);&#xA;}&#xA;.carousel-control.right {&#xA;  background-image: -webkit-linear-gradient(left,&#xA;    rgba(0,0,0,.0001) 0,rgba(170,140,23,1) 100%);&#xA;  background-image: -o-linear-gradient(left,rgba(0,0,0,.0001) 0,&#xA;    rgba(170,140,23,1) 100%);&#xA;  background-image: -webkit-gradient(linear,left top,right top,&#xA;    from(rgba(0,0,0,.0001)),to(rgba(170,140,23,1)));&#xA;  background-image: linear-gradient(to right,rgba(0,0,0,.0001) 0,&#xA;    rgba(170,140,23,1) 100%);&#xA;  filter: progid:DXImageTransform.Microsoft.gradient(&#xA;    startColorstr=&amp;#39;#00000000&amp;#39;, endColorstr=&amp;#39;#80000000&amp;#39;,&#xA;    GradientType=1);&#xA;}&#xA;h1, h2, h3, h4, h5, h6, a, a:link {&#xA;  color: #D8AA10;&#xA;}&#xA;.panel-default&amp;gt;.panel-heading {&#xA;  background-color: rgba(179,196,170,.25);&#xA;}&#xA;.btn.btn-info {&#xA;  background-color: #d8aa00;&#xA;  border-color: #aa8c10;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;hour-22-making-bootstrap-accessible&#34;&gt;Hour 22: Making Bootstrap Accessible&lt;/h2&gt;&#xA;&lt;h3 id=&#34;listing-221&#34;&gt;Listing 22.1&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;body&amp;gt;&#xA;  &amp;lt;a href=&amp;#34;#main&amp;#34; class=&amp;#34;sr-only sr-only-focusable&amp;#34;&amp;gt;Skip to primary content&amp;lt;/a&amp;gt;&#xA;  ...&#xA;  &amp;lt;div class=&amp;#34;container&amp;#34; id=&amp;#34;main&amp;#34; tabindex=&amp;#34;-1&amp;#34;&amp;gt;&#xA;    &amp;lt;!-- The main page content --&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-222&#34;&gt;Listing 22.2&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;div class=&amp;#34;form-group has-success has-feedback&amp;#34;&amp;gt;&#xA;  &amp;lt;label class=&amp;#34;control-label&amp;#34; for=&amp;#34;fullname&amp;#34;&amp;gt;Fill in Your Full&#xA;  Name&amp;lt;/label&amp;gt;&#xA;  &amp;lt;input type=&amp;#34;text&amp;#34; class=&amp;#34;form-control&amp;#34; id=&amp;#34;fullname&amp;#34;&#xA;         aria-describedby=&amp;#34;fullnameStatus&amp;#34; placeholder=&amp;#34;Full Name&amp;#34;&amp;gt;&#xA;  &amp;lt;span class=&amp;#34;glyphicon glyphicon-ok form-control-feedback&amp;#34;&#xA;        aria-hidden=&amp;#34;true&amp;#34;&amp;gt;&amp;lt;/span&amp;gt;&#xA;  &amp;lt;span id=&amp;#34;fullnameStatus&amp;#34; class=&amp;#34;sr-only&amp;#34;&amp;gt;(success)&amp;lt;/span&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;hour-23-using-less-and-sass-with-bootstrap&#34;&gt;Hour 23: Using Less and Sass with Bootstrap&lt;/h2&gt;&#xA;&lt;h3 id=&#34;listing-231&#34;&gt;Listing 23.1&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;@yellow: #F0E433;&#xA;&#xA;p.pull-right { &#xA;  color: @yellow;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-232&#34;&gt;Listing 23.2&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;.centered-block {&#xA;  margin-right: auto;&#xA;  margin-left: auto;&#xA;}&#xA;&#xA;h1 {&#xA;  width: 80%;&#xA;  .centered-block;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-233&#34;&gt;Listing 23.3&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;.green-bordered(@borderwidth: 3px) {&#xA;  border: solid green @borderwidth; &#xA;}&#xA;&#xA;p.pull-right {&#xA;  .green-bordered();&#xA;}&#xA;&#xA;p.wide-border {&#xA;  .green-bordered(10px);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-234&#34;&gt;Listing 23.4&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;@yellow: #F0E433;&#xA;@other-yellow: @yellow - #555;&#xA;&#xA;p.pull-right {&#xA;  color: @yellow;&#xA;  text-shadow: 2px 2px @other-yellow;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-235&#34;&gt;Listing 23.5&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;@gray-base: #000;&#xA;@gray-darker: lighten(@gray-base, 13.5%);&#xA;@gray-dark: lighten(@gray-base, 20%);&#xA;@gray: lighten(@gray-base, 33.5%);&#xA;@gray-light: lighten(@gray-base, 46.7%);&#xA;@gray-lighter: lighten(@gray-base, 93.5%);&#xA;&#xA;.black {&#xA;  color: @gray-base; // @gray-base&#xA;}&#xA;.darkest {&#xA;  color: @gray-darker; // @gray-darker&#xA;}&#xA;.dark {&#xA;  color: @gray-dark; // @gray-dark&#xA;}&#xA;.gray {&#xA;  color: @gray; // @gray&#xA;}&#xA;.light {&#xA;  color: @gray-light; // @gray-light&#xA;}&#xA;.lightest {&#xA;  color: @gray-lighter; // @gray-lighter&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-236&#34;&gt;Listing 23.6&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$yellow: #F0E433;&#xA;&#xA;p.pull-right { &#xA;  color: $yellow;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-237&#34;&gt;Listing 23.7&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;@mixin border-radius($radius) {&#xA;  -webkit-border-radius: $radius;&#xA;  -moz-border-radius: $radius;&#xA;  -ms-border-radius: $radius;&#xA;  border-radius: $radius;&#xA;}&#xA;&#xA;.box { @include border-radius(10px); }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-238&#34;&gt;Listing 23.8&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;.myImage {&#xA;  @include size (400px, 300px)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-239&#34;&gt;Listing 23.9&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;// Sass code&#xA;#main p {&#xA;  color: #000000;&#xA;  width: 98%;&#xA;  &#xA;  .highlight {&#xA;  &#x9;background-color: #f1b161;&#xA;  }&#xA;}&#xA;&#xA;// Output CSS&#xA;#main p {&#xA;  color: #000000;&#xA;  width: 98%;&#xA;}&#xA;main p .highlight {&#xA;  background-color: #f1b161; &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-2310&#34;&gt;Listing 23.10&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;.standard {&#xA;  font-family: &amp;#34;Source Sans Pro&amp;#34;;&#xA;  background-color: #e6b29a;&#xA;}&#xA;aside {&#xA;  @extend .standard();&#xA;  border: solid #efefef 1px;&#xA;}&#xA;&#xA;// compiled CSS&#xA;.standard, aside {&#xA;  font-family: &amp;#34;Source Sans Pro&amp;#34;;&#xA;  background-color: #e6b29a;&#xA;}&#xA;aside {&#xA;  border: solid #efefef 1px;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-2311&#34;&gt;Listing 23.11&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;// import the file my-bootstrap-styles.less &#xA;@import &amp;#34;my-bootstrap-styles.less&amp;#34;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-2312&#34;&gt;Listing 23.12&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;// import the file \_my-bootstrap-styles.scss &#xA;@import &amp;#34;my-bootstrap-styles&amp;#34;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;hour-24-going-further-with-bootstrap&#34;&gt;Hour 24: Going Further with Bootstrap&lt;/h2&gt;&#xA;&lt;h3 id=&#34;listing-241&#34;&gt;Listing 24.1&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\*&#xA;Theme Name:   My Bootstrap Blog Theme&#xA;Theme URI:    http://example.com/my-bootstrap-theme&#xA;Author:       my name&#xA;Author URI:   my URL&#xA;Description:  This is a theme based off the Bootstrap Blog &#xA;              template: &#xA;              http://getbootstrap.com/examples/blog/.  &#xA;Version:      1.0&#xA;License:      Attribution-ShareAlike 3.0 Unported&#xA;License URI:  http://creativecommons.org/licenses/by-sa/3.0/&#xA;Tags:         blue, light, two columns, responsive, bootstrap&#xA;\*/&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-242&#34;&gt;Listing 24.2&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html lang=&amp;#34;en&amp;#34;&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;utf-8&amp;#34;&amp;gt;&#xA;    &amp;lt;meta http-equiv=&amp;#34;X-UA-Compatible&amp;#34; content=&amp;#34;IE=edge&amp;#34;&amp;gt;&#xA;    &amp;lt;meta name=&amp;#34;viewport&amp;#34; content=&amp;#34;width=device-width,&#xA;    initial-scale=1&amp;#34;&amp;gt;&#xA;    &amp;lt;!-- The above 3 meta tags \*must\* come first in the head; any&#xA;    other head content must come \*after\* these tags --&amp;gt;&#xA;    &amp;lt;meta name=&amp;#34;description&amp;#34; content=&amp;#34;&amp;#34;&amp;gt;&#xA;    &amp;lt;meta name=&amp;#34;author&amp;#34; content=&amp;#34;&amp;#34;&amp;gt;&#xA;    &amp;lt;link rel=&amp;#34;icon&amp;#34; href=&amp;#34;../../favicon.ico&amp;#34;&amp;gt;&#xA;&#xA;    &amp;lt;title&amp;gt;Blog Template for Bootstrap&amp;lt;/title&amp;gt;&#xA;&#xA;    &amp;lt;!-- Bootstrap core CSS --&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;../../dist/css/bootstrap.min.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;&#xA;    &amp;lt;!-- Custom styles for this template --&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;blog.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;&#xA;    &amp;lt;!-- Just for debugging purposes. Don&amp;#39;t actually copy these 2&#xA;    lines! --&amp;gt;&#xA;    &amp;lt;!--\[if lt IE 9\]&amp;gt;&amp;lt;script&#xA;src=&amp;#34;../../assets/js/ie8-responsive-file-warning.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;!\[endif\]--&amp;gt;&#xA;    &amp;lt;script src=&amp;#34;../../assets/js/ie-emulation-modes-warning.js&amp;#34;&amp;gt;&#xA;    &amp;lt;/script&amp;gt;&#xA;&#xA;    &amp;lt;!-- HTML5 shim and Respond.js for IE8 support of HTML5&#xA;    elements and media queries --&amp;gt;&#xA;    &amp;lt;!--\[if lt IE 9\]&amp;gt;&#xA;&amp;lt;script&#xA;  src=&amp;#34;https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js&amp;#34;&amp;gt;&#xA;&amp;lt;/script&amp;gt;&#xA;&amp;lt;script src=&amp;#34;https://oss.maxcdn.com/respond/1.4.2/respond.min.js&amp;#34;&amp;gt;&#xA;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;!\[endif\]--&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;&#xA;  &amp;lt;body&amp;gt;&#xA;&#xA;    &amp;lt;div class=&amp;#34;blog-masthead&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;container&amp;#34;&amp;gt;&#xA;        &amp;lt;nav class=&amp;#34;blog-nav&amp;#34;&amp;gt;&#xA;          &amp;lt;a class=&amp;#34;blog-nav-item active&amp;#34; href=&amp;#34;#&amp;#34;&amp;gt;Home&amp;lt;/a&amp;gt;&#xA;          &amp;lt;a class=&amp;#34;blog-nav-item&amp;#34; href=&amp;#34;#&amp;#34;&amp;gt;New features&amp;lt;/a&amp;gt;&#xA;          &amp;lt;a class=&amp;#34;blog-nav-item&amp;#34; href=&amp;#34;#&amp;#34;&amp;gt;Press&amp;lt;/a&amp;gt;&#xA;          &amp;lt;a class=&amp;#34;blog-nav-item&amp;#34; href=&amp;#34;#&amp;#34;&amp;gt;New hires&amp;lt;/a&amp;gt;&#xA;          &amp;lt;a class=&amp;#34;blog-nav-item&amp;#34; href=&amp;#34;#&amp;#34;&amp;gt;About&amp;lt;/a&amp;gt;&#xA;        &amp;lt;/nav&amp;gt;&#xA;      &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;    &amp;lt;div class=&amp;#34;container&amp;#34;&amp;gt;&#xA;&#xA;      &amp;lt;div class=&amp;#34;blog-header&amp;#34;&amp;gt;&#xA;        &amp;lt;h1 class=&amp;#34;blog-title&amp;#34;&amp;gt;The Bootstrap Blog&amp;lt;/h1&amp;gt;&#xA;        &amp;lt;p class=&amp;#34;lead blog-description&amp;#34;&amp;gt;The official example&#xA;        template of creating a blog with Bootstrap.&amp;lt;/p&amp;gt;&#xA;      &amp;lt;/div&amp;gt;&#xA;&#xA;      &amp;lt;div class=&amp;#34;row&amp;#34;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-243&#34;&gt;Listing 24.3&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;    &amp;lt;footer class=&amp;#34;blog-footer&amp;#34;&amp;gt;&#xA;      &amp;lt;p&amp;gt;Blog template built for &amp;lt;a href=&amp;#34;http://getbootstrap.com&amp;#34;&amp;gt;&#xA;      Bootstrap&amp;lt;/a&amp;gt; by &amp;lt;a href=&amp;#34;https://twitter.com/mdo&amp;#34;&amp;gt;@mdo&amp;lt;/a&amp;gt;.&#xA;      &amp;lt;/p&amp;gt;&#xA;      &amp;lt;p&amp;gt;&#xA;        &amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Back to top&amp;lt;/a&amp;gt;&#xA;      &amp;lt;/p&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;&#xA;    &amp;lt;!-- Bootstrap core JavaScript&#xA;    ================================================== --&amp;gt;&#xA;    &amp;lt;!-- Placed at the end of the document so the pages load&#xA;    faster --&amp;gt;&#xA;&amp;lt;script&#xA;src=&amp;#34;https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/&#xA;jquery.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;script src=&amp;#34;../../dist/js/bootstrap.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;!-- IE10 viewport hack for Surface/desktop Windows 8 bug --&amp;gt;&#xA;    &amp;lt;script src=&amp;#34;../../assets/js/ie10-viewport-bug-workaround.js&amp;#34;&amp;gt;&#xA;    &amp;lt;/script&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-244&#34;&gt;Listing 24.4&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;?php &#xA;&#xA;function bootstrap\_jquery\_scripts() {&#xA;&#x9;// Register the script&#xA;&#x9;wp\_register\_script( &amp;#39;my-script&amp;#39;, get\_template\_directory\_uri() .&#xA;    &amp;#39;/bootstrap/js/bootstrap.js&amp;#39;, array( &amp;#39;jquery&amp;#39; ) );&#xA;&#x9;// Enqueue the script:&#xA;&#x9;wp\_enqueue\_script( &amp;#39;my-script&amp;#39; );&#xA;}&#xA;add\_action( &amp;#39;wp\_enqueue\_scripts&amp;#39;, &amp;#39;bootstrap\_jquery\_scripts&amp;#39; );&#xA;&#xA;?&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-245&#34;&gt;Listing 24.5&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;?php get\_header(); ?&amp;gt;&#xA;&#xA;        &amp;lt;div class=&amp;#34;col-sm-8 blog-main&amp;#34;&amp;gt;&#xA;&amp;lt;?php if ( have\_posts() ) : while ( have\_posts() ) : the\_post(); ?&amp;gt;&#xA;&#xA;          &amp;lt;div class=&amp;#34;blog-post&amp;#34;&amp;gt;&#xA;            &amp;lt;h2 class=&amp;#34;blog-post-title&amp;#34;&amp;gt;&amp;lt;?php the\_title(); ?&amp;gt;&amp;lt;/h2&amp;gt;&#xA;            &amp;lt;p class=&amp;#34;blog-post-meta&amp;#34;&amp;gt;&amp;lt;?php the\_time(&amp;#39;F jS, Y&amp;#39;); ?&amp;gt;&#xA;              by &amp;lt;?php the\_author\_posts\_link(); ?&amp;gt;&amp;lt;/p&amp;gt;&#xA;&#xA;            &amp;lt;?php the\_content(); ?&amp;gt;&#xA;            &#xA;          &amp;lt;/div&amp;gt;&amp;lt;!-- /.blog-post --&amp;gt;&#xA;&amp;lt;?php endwhile; else: ?&amp;gt;&#xA;&#x9;&amp;lt;p&amp;gt;&amp;lt;?php \_e(&amp;#39;Sorry, no posts matched your criteria.&amp;#39;); ?&amp;gt;&amp;lt;/p&amp;gt;&#xA;&amp;lt;?php endif; ?&amp;gt;&#xA;&#xA;          &amp;lt;nav&amp;gt;&#xA;            &amp;lt;ul class=&amp;#34;pager&amp;#34;&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Previous&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Next&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;            &amp;lt;/ul&amp;gt;&#xA;          &amp;lt;/nav&amp;gt;&#xA;&#xA;        &amp;lt;/div&amp;gt;&amp;lt;!-- /.blog-main --&amp;gt;&#xA;&#xA;        &amp;lt;div class=&amp;#34;col-sm-3 col-sm-offset-1 blog-sidebar&amp;#34;&amp;gt;&#xA;          &amp;lt;div class=&amp;#34;sidebar-module sidebar-module-inset&amp;#34;&amp;gt;&#xA;            &amp;lt;h4&amp;gt;About&amp;lt;/h4&amp;gt;&#xA;            &amp;lt;p&amp;gt;Etiam porta &amp;lt;em&amp;gt;sem malesuada magna&amp;lt;/em&amp;gt; mollis&#xA;            euismod. Cras mattis consectetur purus sit amet&#xA;            fermentum. Aenean lacinia bibendum nulla sed&#xA;            consectetur.&amp;lt;/p&amp;gt;&#xA;          &amp;lt;/div&amp;gt;&#xA;          &amp;lt;div class=&amp;#34;sidebar-module&amp;#34;&amp;gt;&#xA;            &amp;lt;h4&amp;gt;Archives&amp;lt;/h4&amp;gt;&#xA;            &amp;lt;ol class=&amp;#34;list-unstyled&amp;#34;&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;March 2014&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;February 2014&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;January 2014&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;December 2013&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;November 2013&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;October 2013&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;September 2013&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;August 2013&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;July 2013&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;June 2013&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;May 2013&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;April 2013&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;            &amp;lt;/ol&amp;gt;&#xA;          &amp;lt;/div&amp;gt;&#xA;          &amp;lt;div class=&amp;#34;sidebar-module&amp;#34;&amp;gt;&#xA;            &amp;lt;h4&amp;gt;Elsewhere&amp;lt;/h4&amp;gt;&#xA;            &amp;lt;ol class=&amp;#34;list-unstyled&amp;#34;&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;GitHub&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Twitter&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;              &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Facebook&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;            &amp;lt;/ol&amp;gt;&#xA;          &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&amp;lt;!-- /.blog-sidebar --&amp;gt;&#xA;&#xA;      &amp;lt;/div&amp;gt;&amp;lt;!-- /.row --&amp;gt;&#xA;&#xA;    &amp;lt;/div&amp;gt;&amp;lt;!-- /.container --&amp;gt;&#xA;&#xA;&amp;lt;?php get\_footer(); ?&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Teach Yourself Bootstrap Part 1 Code Listings</title>
      <link>https://www.html5in24hours.com/code-samples/part-1-code-samples/</link>
      <pubDate>Sat, 26 Sep 2015 19:07:18 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/part-1-code-samples/</guid><description>&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-1-code-samples/&#34;&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-2-code-samples/&#34;&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-3-code-samples/&#34;&gt;Part 3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/code-samples/part-4-code-samples/&#34;&gt;Part 4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;part-1-getting-started-with-bootstrap&#34;&gt;Part 1: Getting Started with Bootstrap&lt;/h1&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.html5in24hours.com/books/teach-yourself-bootstrap-in-24-hours/&#34;&gt;&lt;img src=&#34;https://www.html5in24hours.com/images/978-0672337048-150x150.jpeg&#34; alt=&#34;Sams Teach Yourself Bootstrap in 24 Hours&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;hour-1-what-is-a-framework-and-why-you-should-use-it&#34;&gt;Hour 1: What is a Framework and Why You Should Use It&lt;/h2&gt;&#xA;&lt;h3 id=&#34;listing-11&#34;&gt;Listing 1.1&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html lang=&amp;#34;en&amp;#34;&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;  &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;  &amp;lt;meta http-equiv=&amp;#34;X-UA-Compatible&amp;#34; content=&amp;#34;IE=edge&amp;#34;&amp;gt;&#xA;  &amp;lt;meta name=&amp;#34;viewport&amp;#34; content=&amp;#34;width=device-width, initial-scale=1&amp;#34;&amp;gt;&#xA;  &amp;lt;title&amp;gt;Basic Grid System&amp;lt;/title&amp;gt;&#xA;  &amp;lt;link href=&amp;#34;css/bootstrap.min.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;  &amp;lt;style&amp;gt;&#xA;  .show-grid \[class^=col-\] {&#xA;    padding-top: 10px;&#xA;    padding-bottom: 10px;&#xA;    background-color: #eee;&#xA;    background-color: rgba(86,61,124,.15);&#xA;    border: 1px solid #ddd;&#xA;    border: 1px solid rgba(86,61,124,.2);&#xA;  }&#xA;  &amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&#xA;  &amp;lt;div class=&amp;#34;container&amp;#34;&amp;gt;&#xA;  &amp;lt;h1&amp;gt;Basic Grid System&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-1&amp;#34;&amp;gt;.col-md-1&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-2&amp;#34;&amp;gt;.col-md-2&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-2&amp;#34;&amp;gt;.col-md-2&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-2&amp;#34;&amp;gt;.col-md-2&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-2&amp;#34;&amp;gt;.col-md-2&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-2&amp;#34;&amp;gt;.col-md-2&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-2&amp;#34;&amp;gt;.col-md-2&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-3&amp;#34;&amp;gt;.col-md-3&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-3&amp;#34;&amp;gt;.col-md-3&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-3&amp;#34;&amp;gt;.col-md-3&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-3&amp;#34;&amp;gt;.col-md-3&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-4&amp;#34;&amp;gt;.col-md-4&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-4&amp;#34;&amp;gt;.col-md-4&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-4&amp;#34;&amp;gt;.col-md-4&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-5&amp;#34;&amp;gt;.col-md-5&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-5&amp;#34;&amp;gt;.col-md-5&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-6&amp;#34;&amp;gt;.col-md-6&amp;lt;/div&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-6&amp;#34;&amp;gt;.col-md-6&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-7&amp;#34;&amp;gt;.col-md-7&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-8&amp;#34;&amp;gt;.col-md-8&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-9&amp;#34;&amp;gt;.col-md-9&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-10&amp;#34;&amp;gt;.col-md-10&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-11&amp;#34;&amp;gt;.col-md-11&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;row show-grid&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;col-md-12&amp;#34;&amp;gt;.col-md-12&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;hour-2-downloading-and-installing-bootstrap&#34;&gt;Hour 2: Downloading and Installing Bootstrap&lt;/h2&gt;&#xA;&lt;h3 id=&#34;listing-21&#34;&gt;Listing 2.1&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;bootstrap/&#xA;├── css/&#xA;│   ├── bootstrap.css&#xA;│   ├── bootstrap.min.css&#xA;│   ├── bootstrap-theme.css&#xA;│   └── bootstrap-theme.min.css&#xA;├── js/&#xA;│   ├── bootstrap.js&#xA;│   └── bootstrap.min.js&#xA;└── fonts/&#xA;    ├── glyphicons-halflings-regular.eot&#xA;    ├── glyphicons-halflings-regular.svg&#xA;    ├── glyphicons-halflings-regular.ttf&#xA;    └── glyphicons-halflings-regular.woff&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-22&#34;&gt;Listing 2.2&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;bootstrap/&#xA;├── less/&#xA;├── js/&#xA;├── fonts/&#xA;├── dist/&#xA;│   ├── css/&#xA;│   ├── js/&#xA;│   └── fonts/&#xA;└── docs/&#xA;    └── examples/&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-23&#34;&gt;Listing 2.3&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;link rel=&amp;#34;stylesheet&amp;#34; href=&amp;#34;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css&amp;#34;&amp;gt;&#xA;&amp;lt;script src=&amp;#34;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;hour-3-build-your-first-bootstrap-website-with-the-basic-template&#34;&gt;Hour 3: Build Your First Bootstrap Website with the Basic Template&lt;/h2&gt;&#xA;&lt;h3 id=&#34;listing-31&#34;&gt;Listing 3.1&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-32&#34;&gt;Listing 3.2&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;link href=&amp;#34;css/bootstrap.min.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-33&#34;&gt;Listing 3.3&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;script &#xA;src=&amp;#34;https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js&amp;#34;&amp;gt;&#xA;&amp;lt;/script&amp;gt;&#xA;&amp;lt;script src=&amp;#34;js/bootstrap.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-34&#34;&gt;Listing 3.4&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html lang=&amp;#34;en&amp;#34;&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;utf-8&amp;#34;&amp;gt;&#xA;    &amp;lt;meta http-equiv=&amp;#34;X-UA-Compatible&amp;#34; content=&amp;#34;IE=edge&amp;#34;&amp;gt;&#xA;    &amp;lt;meta name=&amp;#34;viewport&amp;#34; content=&amp;#34;width=device-width, initial-scale=1&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Bootstrap 101 Template&amp;lt;/title&amp;gt;&#xA;&#xA;    &amp;lt;!-- Bootstrap --&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;css/bootstrap.min.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;&#xA;    &amp;lt;!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and&#xA;    media queries --&amp;gt;&#xA;    &amp;lt;!-- WARNING: Respond.js doesn&amp;#39;t work if you view the page via&#xA;    file:// --&amp;gt;&#xA;    &amp;lt;!--\[if lt IE 9\]&amp;gt;&#xA;      &amp;lt;script&#xA;src=&amp;#34;https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;      &amp;lt;script src=&amp;#34;https://oss.maxcdn.com/respond/1.4.2/respond.min.js&amp;#34;&amp;gt;&#xA;      &amp;lt;/script&amp;gt;&#xA;    &amp;lt;!\[endif\]--&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Hello, world!&amp;lt;/h1&amp;gt;&#xA;&#xA;    &amp;lt;!-- jQuery (necessary for Bootstrap&amp;#39;s JavaScript plugins) --&amp;gt;&#xA;    &amp;lt;script&#xA;src=&amp;#34;https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js&amp;#34;&amp;gt;&#xA;    &amp;lt;/script&amp;gt;&#xA;    &amp;lt;!-- Include all compiled plugins (below), or include individual&#xA;    files as needed --&amp;gt;&#xA;    &amp;lt;script src=&amp;#34;js/bootstrap.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-35&#34;&gt;Listing 3.5&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html lang=&amp;#34;en&amp;#34;&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;utf-8&amp;#34;&amp;gt;&#xA;    &amp;lt;meta http-equiv=&amp;#34;X-UA-Compatible&amp;#34; content=&amp;#34;IE=edge&amp;#34;&amp;gt;&#xA;    &amp;lt;meta name=&amp;#34;viewport&amp;#34; content=&amp;#34;width=device-width, initial-scale=1&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Bootstrap Starter Template&amp;lt;/title&amp;gt;&#xA;    &amp;lt;!-- Bootstrap --&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;css/bootstrap.min.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;    &amp;lt;style&amp;gt;&#xA;    body {&#xA;      padding-top: 50px;&#xA;    }&#xA;    .starter-template {&#xA;      padding: 40px 15px;&#xA;      text-align: center;&#xA;    }&#xA;    &amp;lt;/style&amp;gt;&#xA;    &amp;lt;!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and&#xA;    media queries --&amp;gt;&#xA;    &amp;lt;!-- WARNING: Respond.js doesn&amp;#39;t work if you view the page via&#xA;    file:// --&amp;gt;&#xA;    &amp;lt;!--\[if lt IE 9\]&amp;gt;&#xA;      &amp;lt;script&#xA;src=&amp;#34;https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;      &amp;lt;script&#xA;src=&amp;#34;https://oss.maxcdn.com/respond/1.4.2/respond.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;!\[endif\]--&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;nav class=&amp;#34;navbar navbar-inverse navbar-fixed-top&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;container&amp;#34;&amp;gt;&#xA;        &amp;lt;div class=&amp;#34;navbar-header&amp;#34;&amp;gt;&#xA;          &amp;lt;button type=&amp;#34;button&amp;#34; class=&amp;#34;navbar-toggle collapsed&amp;#34;&#xA;          data-toggle=&amp;#34;collapse&amp;#34; data-target=&amp;#34;#navbar&amp;#34;&#xA;          aria-expanded=&amp;#34;false&amp;#34; aria-controls=&amp;#34;navbar&amp;#34;&amp;gt;&#xA;            &amp;lt;span class=&amp;#34;sr-only&amp;#34;&amp;gt;Toggle navigation&amp;lt;/span&amp;gt;&#xA;            &amp;lt;span class=&amp;#34;icon-bar&amp;#34;&amp;gt;&amp;lt;/span&amp;gt;&#xA;            &amp;lt;span class=&amp;#34;icon-bar&amp;#34;&amp;gt;&amp;lt;/span&amp;gt;&#xA;            &amp;lt;span class=&amp;#34;icon-bar&amp;#34;&amp;gt;&amp;lt;/span&amp;gt;&#xA;          &amp;lt;/button&amp;gt;&#xA;          &amp;lt;a class=&amp;#34;navbar-brand&amp;#34; href=&amp;#34;#&amp;#34;&amp;gt;Project name&amp;lt;/a&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div id=&amp;#34;navbar&amp;#34; class=&amp;#34;collapse navbar-collapse&amp;#34;&amp;gt;&#xA;          &amp;lt;ul class=&amp;#34;nav navbar-nav&amp;#34;&amp;gt;&#xA;            &amp;lt;li class=&amp;#34;active&amp;#34;&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;            &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#about&amp;#34;&amp;gt;About&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;            &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#contact&amp;#34;&amp;gt;Contact&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;/ul&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&amp;lt;!--/.nav-collapse --&amp;gt;&#xA;      &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/nav&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;container&amp;#34;&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;starter-template&amp;#34;&amp;gt;&#xA;        &amp;lt;h1&amp;gt;Bootstrap starter template&amp;lt;/h1&amp;gt;&#xA;        &amp;lt;p class=&amp;#34;lead&amp;#34;&amp;gt;Use this document as a way to quickly start any&#xA;        new project.&amp;lt;br&amp;gt; All you get is this text and a mostly barebones&#xA;        HTML document.&amp;lt;/p&amp;gt;&#xA;      &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&amp;lt;!-- /.container --&amp;gt;&#xA;    &amp;lt;!-- jQuery (necessary for Bootstrap&amp;#39;s JavaScript plugins) --&amp;gt;&#xA;    &amp;lt;script&#xA;src=&amp;#34;https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js&amp;#34;&amp;gt;&#xA;    &amp;lt;/script&amp;gt;&#xA;    &amp;lt;!-- Include all compiled plugins (below), or include individual&#xA;    files as needed --&amp;gt;&#xA;    &amp;lt;script src=&amp;#34;js/bootstrap.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;hour-4-understanding-normalizecss-and-the-basics-of-bootstrap-css&#34;&gt;Hour 4: Understanding Normalize.CSS and the Basics of Bootstrap CSS&lt;/h2&gt;&#xA;&lt;h3 id=&#34;listing-41&#34;&gt;Listing 4.1&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;meta name=&amp;#34;viewport&amp;#34; content=&amp;#34;width=device-width, initial-scale=1&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;A Basic Bootstrap page&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;css/bootstrap.min.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;  &amp;lt;h1&amp;gt;A Basic Bootstrap Page&amp;lt;/h1&amp;gt;&#xA;  &amp;lt;p&amp;gt;&#xA;  Lorem &amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;ipsum dolor sit&amp;lt;/a&amp;gt; amet, consectetur adipiscing elit. Donec ut elit sed turpis sodales mattis. Pellentesque ex ipsum, pretium eu turpis non, interdum laoreet lacus. Praesent faucibus, nisl ac tempor bibendum, felis turpis fringilla tellus, eu tristique risus magna sit amet velit. Suspendisse eget libero ut purus egestas tempor quis et arcu. &amp;lt;/p&amp;gt;&#xA;  &amp;lt;p&amp;gt;&#xA;  Etiam mollis tortor eget arcu sodales, nec commodo &amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;tellus feugiat&amp;lt;/a&amp;gt;. Fusce ornare sed mauris at efficitur. Sed in tortor eu diam elementum ultrices. Quisque euismod pharetra metus sit amet sollicitudin. Fusce sollicitudin velit lorem, non condimentum justo congue id. &amp;lt;/p&amp;gt;&#xA;  &amp;lt;ul&amp;gt;&#xA;    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Lorem ipsum&amp;lt;/a&amp;gt; dolor sit amet, consectetur adipiscing elit.&amp;lt;/li&amp;gt;&#xA;    &amp;lt;li&amp;gt;Duis tristique augue ac turpis vulputate interdum.&amp;lt;/li&amp;gt;&#xA;    &amp;lt;li&amp;gt;Maecenas bibendum mauris tincidunt, aliquet metus ut, pellentesque neque.&amp;lt;/li&amp;gt;&#xA;  &amp;lt;/ul&amp;gt;&#xA;  &amp;lt;dl&amp;gt;&#xA;    &amp;lt;dt&amp;gt;Proin &amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;placerat&amp;lt;/a&amp;gt; ligula ut commodo volutpat.&amp;lt;/dt&amp;gt;&#xA;    &amp;lt;dd&amp;gt;Proin sed tortor eget enim maximus efficitur vitae porta purus.&amp;lt;/dd&amp;gt;&#xA;    &amp;lt;dt&amp;gt;Phasellus placerat ligula ut justo varius, at pretium dolor interdum.&amp;lt;/dt&amp;gt;&#xA;    &amp;lt;dd&amp;gt;Proin hendrerit augue sed massa pellentesque porttitor.&amp;lt;/dd&amp;gt;&#xA;  &amp;lt;/dl&amp;gt;&#xA;  &amp;lt;script &#xA;  src=&amp;#34;https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js&amp;#34;&amp;gt;&#xA;  &amp;lt;/script&amp;gt;&#xA;  &amp;lt;script src=&amp;#34;js/bootstrap.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;listing-42&#34;&gt;Listing 4.2&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;a:link, a:visited, a:active { &#xA;  text-decoration: underline;&#xA;}&#xA;body { &#xA;  background-color: #CCF6FA;&#xA;  margin-left: 0.5%;&#xA;}&#xA;ul { &#xA;  padding-left: 0; &#xA;  margin-left: 2%; &#xA;}&#xA;dd { &#xA;  text-indent: 3%; &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 23 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-23/</link>
      <pubDate>Thu, 01 Jan 2015 01:09:35 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-23/</guid><description>&lt;h1 id=&#34;hour-23-code-samples--sams-teach-yourself-responsive-web-design-in-24-hours&#34;&gt;Hour 23 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours&lt;/h1&gt;&#xA;&lt;h2 id=&#34;listing-231&#34;&gt;Listing 23.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;rwd code 23.2.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;    &amp;lt;script src=&amp;#34;http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;      &amp;lt;header&amp;gt;&#xA;        &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;        &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;      &amp;lt;/header&amp;gt;&#xA;      &amp;lt;nav&amp;gt;&#xA;        &amp;lt;ul id=&amp;#34;navigation&amp;#34;&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Home&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;Where Dandelions roam free&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Products&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;These flowers will grow on you&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Services&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;We care for the flowers you have&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Support&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;We love to help with dandelions&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;About&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;Why we love dandelions so much&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Reading&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;Read more about this wondrous plant&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Contact&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;Ask us about your dandelion needs&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;/ul&amp;gt;&#xA;        &amp;lt;select id=&amp;#34;mobileNav&amp;#34;&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;&amp;#34;&amp;gt;Go to...&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/home&amp;#34;&amp;gt;Home&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/products&amp;#34;&amp;gt;Products&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/services&amp;#34;&amp;gt;Services&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/support&amp;#34;&amp;gt;Support&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/about&amp;#34;&amp;gt;About&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/articles&amp;#34;&amp;gt;Reading&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/contact&amp;#34;&amp;gt;Contact&amp;lt;/option&amp;gt;&#xA;        &amp;lt;/select&amp;gt;&#xA;      &amp;lt;/nav&amp;gt;&#xA;      &amp;lt;div id=&amp;#34;bodyContent&amp;#34; class=&amp;#34;clearfix&amp;#34;&amp;gt; &#xA;        &amp;lt;article id=&amp;#34;mainarticle&amp;#34;&amp;gt;&#xA;          &amp;lt;h3&amp;gt;What is a Dandelion?&amp;lt;/h3&amp;gt;&#xA;          &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;          &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in&#xA;          the family Asteraceae. They are native to Eurasia and North and South&#xA;          America, and two species, T. officinale and T. erythrospermum, are&#xA;          found as weeds worldwide. Both species are edible in their entirety.&#xA;          The common name &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;          &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French&#xA;          dent-de-lion, meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the&#xA;          genus, and like other members of the Asteraceae family, they have very&#xA;          small flowers collected together into a composite flower head. Each&#xA;          single flower in a head is called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&#xA;          species produce seeds asexually by apomixis, where the seeds are&#xA;          produced without pollination, resulting in offspring that are&#xA;          genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;        &amp;lt;/article&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;sidebars&amp;#34;&amp;gt;&#xA;      &amp;lt;aside id=&amp;#34;links&amp;#34;&amp;gt;&#xA;        &amp;lt;h3&amp;gt;Learn More About Dandelions&amp;lt;/h3&amp;gt;&#xA;        &amp;lt;ul&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;http://chemistry.about.com/b/2013/07/26/do-dandelions-burn-in-colors.htm&amp;#34;&amp;gt;Do Dandelions Burn in Colors?&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;http://herbgardens.about.com/od/herbrecipes/tp/10-uses-for-dandelions.htm&amp;#34;&amp;gt;Top 5 Things To Do With Dandelion&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;http://organicgardening.about.com/od/howtogrowveggies/a/How-To-Grow-Dandelion-Greens.htm&amp;#34;&amp;gt;How to Grow and Harvest Dandelion Greens&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;http://homecooking.about.com/od/condimentrecipes/r/bljelly9.htm&amp;#34;&amp;gt;Dandelion Honey Recipe&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;http://landscaping.about.com/od/weedsdiseases/a/kill\_dandelions\_2.htm&amp;#34;&amp;gt;Get Rid of Dandelions the Smart Way&amp;amp;#8212;Eat Them!&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;/ul&amp;gt;&#xA;      &amp;lt;/aside&amp;gt;&#xA;      &amp;lt;aside id=&amp;#34;sidebar&amp;#34;&amp;gt;&#xA;        &amp;lt;p&amp;gt;&amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&amp;lt;/p&amp;gt;&#xA;        &amp;lt;p&amp;gt;&amp;lt;img src=&amp;#34;images/seeded.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&amp;lt;/p&amp;gt;&#xA;      &amp;lt;/aside&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&amp;lt;!-- end sidebars --&amp;gt;&#xA;      &amp;lt;/div&amp;gt; &amp;lt;!-- end bodyContent --&amp;gt;&#xA;      &amp;lt;footer&amp;gt;&#xA;        &amp;lt;p&amp;gt;Text from &#xA;        &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;      &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&amp;lt;!-- end main --&amp;gt;&#xA;    &amp;lt;script&amp;gt;&#xA;    $(function() {&#xA;    $(&amp;#34;nav select&amp;#34;).change(function() {&#xA;    window.location = $(this).find(&amp;#34;option:selected&amp;#34;).val();&#xA;    });&#xA;    });&#xA;    &amp;lt;/script&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-232&#34;&gt;Listing 23.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;@import url(http://fonts.googleapis.com/css?family=Playfair+Display+SC:900)&#xA;screen and (min-width: 400px);&#xA;/\* styles for all browser widths \*/&#xA;/\* very basic reset \*/&#xA;\* { font-size: 100%; }&#xA;\*, \*:before, \*:after { &#xA;  padding: 0;&#xA;  margin: 0;&#xA;  -webkit-box-sizing: border-box;&#xA;  -moz-box-sizing: border-box;&#xA;  box-sizing: border-box;&#xA;}&#xA;.clearfix:after {&#xA;  content: &amp;#34;.&amp;#34;;&#xA;  visibility: hidden;&#xA;  display: block;&#xA;  height: 0;&#xA;  clear: both;&#xA;}&#xA;&#xA;h1, h2, h3 { font-family: &amp;#39;Playfair Display SC&amp;#39;, serif; line-height: 1.2; }&#xA;&#xA;h1 { font-size: 2em; }&#xA;h2 { font-size: 1.7em; }&#xA;h3 { font-size: 1.3em; }&#xA;p, ul, ol, dl { font-size: 1em; line-height: 1.275; }&#xA;#bodyContent, footer { margin: 0 0.2em; }&#xA;&#xA;/\* images \*/ &#xA;img { width: 100%; max-width: 100%; height: auto; }&#xA;&#xA;/\* nav bar \*/&#xA;nav {&#xA;  width: 100%;&#xA;  margin: auto;  &#xA;}&#xA;nav ul {&#xA;  list-style: none;&#xA;  overflow: hidden;&#xA;  background: #000;&#xA;}&#xA;nav li a {&#xA;  display: block;&#xA;  float: left;&#xA;  width: 14.28%; &#xA;  padding: 10px;&#xA;  background: #000;&#xA;  border-right: 1px solid #fff;&#xA;  color: #fbd91f;  &#xA;  font: 400 13px/1.4 bitstream\_vera\_serifbold, Baskerville, &amp;#34;Palatino Linotype&amp;#34;, Palatino, &amp;#34;Times New Roman&amp;#34;, serif;&#x9;&#xA;  text-align: center;&#xA;  text-decoration: none;&#xA;  text-transform: uppercase;&#xA;}&#xA;/\* small text \*/&#xA;nav small {&#xA;  color: #aaa;  &#xA;  font: 100 11px/1 Helvetica, Verdana, Arial, sans-serif;&#xA;  text-transform: none;&#xA;}&#xA;/\* default to smallest browser size \*/ &#xA;nav ul { display: none; }&#xA;nav select { display: inline-block; margin: 0.5em 0; }&#xA;&#xA;/\*header \*/&#xA;header {&#xA;  background: url(images/dandy-header-bg-small.png) bottom left no-repeat;&#xA;  color: #EDEE6A;&#xA;  text-shadow: 3px 2px #000000;&#xA;}&#xA;&#xA;/\* styles for smartphones and tablets \*/&#xA;@media screen and (min-width: 400px)  {&#xA;&#x9;h1 { font-size: 3em; }&#xA;&#x9;h2 { font-size: 2em; }&#xA;&#x9;h3 { font-size: 1.5em; }&#xA;  #bodyContent { margin-right: 0; }&#xA;  header {&#xA;    background: url(images/dandy-header-bg.png) bottom left no-repeat;&#xA;  }&#xA;}&#xA;/\* styles just for smartphones \*/&#xA;@media screen and (min-width: 400px) and (max-width: 970px) {&#xA;  &#xA;  /\* two columns \*/ &#xA;  #mainarticle {&#xA;    width: 50%;&#xA;    float: left;&#xA;    padding-right: 2em;&#xA;  }&#xA;  .sidebars {&#xA;    width: 48%;&#xA;    float: right; &#xA;  }&#xA;  &#xA;  /\* header \*/&#xA;  header { &#xA;    height: 10em;&#xA;  }&#xA;  &#xA;}&#xA;/\* change to full nav for larger screens \*/ &#xA;@media screen and (min-width: 481px) {&#xA;  nav ul { display: block; }&#xA;  nav select { display: none; }&#xA;}&#xA;/\* styles for the largest screens \*/&#xA;@media screen and (min-width: 971px) {&#xA;  /\* three columns \*/&#xA;  #mainarticle {&#xA;    width: 40%; &#xA;    float: left;&#xA;    padding-right: 2em;&#xA;  }&#xA;  .sidebars {&#xA;    width: 60%;&#xA;    float: right; &#xA;  }&#xA;  .sidebars #links {&#xA;    width: 30%;&#xA;    float: left; &#xA;  }&#xA;  .sidebars #sidebar {&#xA;    width: 65%;&#xA;    float: right;&#xA;  }&#xA;  /\* header \*/&#xA;  header {&#xA;    height: 20em;&#xA;  }&#xA;  header h1 {&#xA;    padding-top: 1.5em;&#xA;    padding-left: 0.5em;&#xA;  }&#xA;  header h2 {&#xA;    padding-left: 6em;&#xA;    padding-top: 1em;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-233&#34;&gt;Listing 23.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;?php&#xA;// Include the configuration file&#xA;include\_once &amp;#39;/wurfl/inc/wurfl.php&amp;#39;;&#xA;&#xA;$wurflInfo = $wurflManager-&amp;gt;getWURFLInfo();&#xA;&#xA;if (isset($\_GET\[&amp;#39;ua&amp;#39;\]) &amp;amp;&amp;amp; trim($\_GET\[&amp;#39;ua&amp;#39;\])) {&#xA;  $ua = $\_GET\[&amp;#39;ua&amp;#39;\];&#xA;  $requestingDevice = $wurflManager-&amp;gt;getDeviceForUserAgent($\_GET\[&amp;#39;ua&amp;#39;\]);&#xA;} else {&#xA;  $ua = $\_SERVER\[&amp;#39;HTTP\_USER\_AGENT&amp;#39;\];&#xA;  // This line detects the visiting device by looking at its&#xA;  // HTTP Request ($\_SERVER)&#xA;  $requestingDevice = $wurflManager-&amp;gt;getDeviceForHttpRequest($\_SERVER);&#xA;}&#xA;&#xA;$isMobile = $requestingDevice-&amp;gt;getCapability(&amp;#39;is\_wireless\_device&amp;#39;);&#xA;?&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-234&#34;&gt;Listing 23.4&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;var isMobile = &amp;#34;&amp;lt;?php echo $isMobile; ?&amp;gt;&amp;#34;;&#xA;&#xA;if (isMobile === &amp;#39;true&amp;#39;) {&#xA;&#x9;alert (&amp;#34;Greetings Mobile Customers&amp;#34;);&#xA;} else {&#xA;&#x9;alert (&amp;#34;Not on Mobile, I see&amp;#34;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 22 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-22/</link>
      <pubDate>Thu, 01 Jan 2015 01:06:36 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-22/</guid><description>&lt;h1 id=&#34;hour-22-code-samples--sams-teach-yourself-responsive-web-design-in-24-hours&#34;&gt;Hour 22 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours&lt;/h1&gt;&#xA;&lt;h2 id=&#34;listing-221&#34;&gt;Listing 22.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;if (Modernizr.geolocation) {&#xA;&#x9;// add your geolocation functions here&#xA;&#x9;alert(&amp;#34;This browser supports Geolocation.&amp;#34;);&#xA;} else {&#xA;&#x9;// add your fallback functions here&#xA;&#x9;alert(&amp;#34;This browser does not support Geolocation.&amp;#34;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 19 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-19/</link>
      <pubDate>Thu, 01 Jan 2015 01:05:11 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-19/</guid><description>&lt;h1 id=&#34;hour-19-code-samples--sams-teach-yourself-responsive-web-design-in-24-hours&#34;&gt;Hour 19 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours&lt;/h1&gt;&#xA;&lt;h2 id=&#34;listing-191&#34;&gt;Listing 19.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;meta name=&amp;#34;viewport&amp;#34; content=&amp;#34;&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Testing Viewport&amp;lt;/title&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;html, body, \* { margin: 0; }&#xA;body { width: 600px; }&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;h1&amp;gt;Testing Viewport&amp;lt;/h1&amp;gt;&#xA;&amp;lt;img src=&amp;#34;images/testing-viewport.png&amp;#34;&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-192&#34;&gt;Listing 19.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;meta name=&amp;#34;viewport&amp;#34; content=&amp;#34;width=device-width&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Testing Viewport&amp;lt;/title&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;html, body, \* { margin: 0; }&#xA;body { width: 600px; }&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;h1&amp;gt;Testing Viewport&amp;lt;/h1&amp;gt;&#xA;&amp;lt;img src=&amp;#34;images/testing-viewport.png&amp;#34;&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 18 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-18/</link>
      <pubDate>Thu, 01 Jan 2015 01:02:45 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-18/</guid><description>&lt;h1 id=&#34;hour-18-code-samples--sams-teach-yourself-responsive-web-design-in-24-hours&#34;&gt;Hour 18 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours&lt;/h1&gt;&#xA;&lt;h2 id=&#34;listing-181&#34;&gt;Listing 18.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Simple Form&amp;lt;/title&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;fieldset {&#xA;  width: 50%;&#xA;  max-width: 400px;&#xA;  background-color: #EDEE6A;&#xA;  margin: 0 auto;&#xA;}&#xA;legend {&#xA;  font-size: 18px;&#xA;  font-family: sans-serif;&#xA;}&#xA;input {&#xA;  display: block;&#xA;  width: 80%;&#xA;  font-size: 18px;&#xA;  margin: 0 auto 1em auto;&#xA;}&#xA;input\[type=submit\] {&#xA;  width: 40%;&#xA;}&#xA;label {&#xA;  position: absolute;&#xA;  top: -9999px;&#xA;  left: -9999px;&#xA;}&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;form id=&amp;#34;loginForm&amp;#34; novalidate&amp;gt;&#xA;  &amp;lt;fieldset&amp;gt;&#xA;    &amp;lt;legend&amp;gt;Login&amp;lt;/legend&amp;gt;&#xA;    &amp;lt;label for=&amp;#34;usernaame&amp;#34;&amp;gt;Username:&amp;lt;/label&amp;gt;&amp;lt;input type=&amp;#34;email&amp;#34; placeholder=&amp;#34;Username or Email Address&amp;#34; id=&amp;#34;username&amp;#34;&amp;gt;&#xA;    &amp;lt;label for=&amp;#34;password&amp;#34;&amp;gt;Password:&amp;lt;/label&amp;gt;&amp;lt;input type=&amp;#34;password&amp;#34; placeholder=&amp;#34;Password&amp;#34; id=&amp;#34;password&amp;#34;&amp;gt;&#xA;    &amp;lt;input type=&amp;#34;submit&amp;#34; value=&amp;#34;Go!&amp;#34; id=&amp;#34;submit&amp;#34;&amp;gt;&#xA;  &amp;lt;/fieldset&amp;gt;&#xA;&amp;lt;/form&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-182&#34;&gt;Listing 18.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;HTMLJenn Contact Form&amp;lt;/title&amp;gt;&#xA;&#xA;&amp;lt;style&amp;gt;&#xA;&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;link href=&amp;#34;rwd code 18.3.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34; type=&amp;#34;text/css&amp;#34;&amp;gt;&#xA;&amp;lt;script src=&amp;#34;http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;h1&amp;gt;Contact HTMLJenn&amp;lt;/h1&amp;gt;&#xA;&amp;lt;form&amp;gt;&#xA;  &amp;lt;article&amp;gt;&#xA;  &amp;lt;section id=&amp;#34;mainform&amp;#34;&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Contact Information&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;label for=&amp;#34;name&amp;#34; class=&amp;#34;inputbox&amp;#34;&amp;gt;Your Name&amp;lt;/label&amp;gt;&#xA;    &amp;lt;input id=&amp;#34;name&amp;#34; placeholder=&amp;#34;Your Name&amp;#34; required class=&amp;#34;inputbox&amp;#34; autofocus&amp;gt;&#xA;    &#xA;    &amp;lt;label for=&amp;#34;email&amp;#34; class=&amp;#34;inputbox&amp;#34;&amp;gt;Your Email Address&amp;lt;/label&amp;gt;&#xA;    &amp;lt;input id=&amp;#34;email&amp;#34; type=&amp;#34;email&amp;#34; placeholder=&amp;#34;Your Email Address&amp;#34; required class=&amp;#34;inputbox&amp;#34;&amp;gt;&#xA;    &#xA;    &amp;lt;label for=&amp;#34;url&amp;#34; class=&amp;#34;inputbox&amp;#34;&amp;gt;Your Website URL&amp;lt;/label&amp;gt;&#xA;    &amp;lt;input id=&amp;#34;url&amp;#34; type=&amp;#34;url&amp;#34; placeholder=&amp;#34;Your Website URL&amp;#34; class=&amp;#34;inputbox&amp;#34;&amp;gt;&#xA;    &#xA;    &amp;lt;label for=&amp;#34;phone&amp;#34; class=&amp;#34;inputbox&amp;#34;&amp;gt;Your Phone Number&amp;lt;/label&amp;gt;&#xA;    &amp;lt;input id=&amp;#34;phone&amp;#34; type=&amp;#34;tel&amp;#34; placeholder=&amp;#34;Your Phone Number&amp;#34; class=&amp;#34;inputbox&amp;#34;&amp;gt;&#xA;  &amp;lt;/section&amp;gt;&#xA;  &amp;lt;section id=&amp;#34;messagearea&amp;#34;&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Share Your Thoughts&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;textarea id=&amp;#34;message&amp;#34; placeholder=&amp;#34;Your Thoughts&amp;#34; required class=&amp;#34;inputbox&amp;#34;&amp;gt;&amp;lt;/textarea&amp;gt;&#xA;  &amp;lt;/section&amp;gt;&#xA;  &amp;lt;/article&amp;gt;&#xA;  &amp;lt;aside class=&amp;#34;clearfix&amp;#34;&amp;gt;&#xA;  &amp;lt;section id=&amp;#34;messageabout&amp;#34;&amp;gt;&#xA;    &amp;lt;h2&amp;gt; This Message Is About&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;select id=&amp;#34;msgAbt&amp;#34; required class=&amp;#34;inputbox&amp;#34;&amp;gt;&#xA;      &amp;lt;option selected&amp;gt;&amp;lt;/option&amp;gt;&#xA;      &amp;lt;option&amp;gt;Writing Opportunity&amp;lt;/option&amp;gt;&#xA;      &amp;lt;option&amp;gt;Web Design Opportunity&amp;lt;/option&amp;gt;&#xA;      &amp;lt;option&amp;gt;Consulting Opportunity&amp;lt;/option&amp;gt;&#xA;      &amp;lt;option&amp;gt;Collaboration Opportunity&amp;lt;/option&amp;gt;&#xA;      &amp;lt;option value=&amp;#34;article&amp;#34;&amp;gt;Article Correction&amp;lt;/option&amp;gt;&#xA;      &amp;lt;option value=&amp;#34;other&amp;#34;&amp;gt;Other&amp;lt;/option&amp;gt;&#xA;    &amp;lt;/select&amp;gt;&#xA;    &#xA;    &amp;lt;label for=&amp;#34;article-url&amp;#34; class=&amp;#34;inputbox hide&amp;#34;&amp;gt;URL that needs correction&amp;lt;/label&amp;gt;&#xA;    &amp;lt;input id=&amp;#34;article-url&amp;#34; type=&amp;#34;url&amp;#34; placeholder=&amp;#34;URL that needs correction&amp;#34; class=&amp;#34;inputbox hide&amp;#34;&amp;gt;&#xA;    &#xA;    &amp;lt;label for=&amp;#34;other&amp;#34; class=&amp;#34;inputbox hide&amp;#34;&amp;gt;What is this message about?&amp;lt;/label&amp;gt;&#xA;    &amp;lt;input id=&amp;#34;other&amp;#34; placeholder=&amp;#34;what is this message about? (200 characters or less)&amp;#34; maxlength=&amp;#34;200&amp;#34; class=&amp;#34;inputbox hide&amp;#34;&amp;gt;&#xA;  &amp;lt;/section&amp;gt;&#xA;  &amp;lt;section id=&amp;#34;messagepriority&amp;#34;&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Message Priority&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;p&amp;gt;&amp;lt;input type=&amp;#34;radio&amp;#34; name=&amp;#34;priority&amp;#34; id=&amp;#34;high&amp;#34; value=&amp;#34;high&amp;#34;&amp;gt;&#xA;    &amp;lt;label for=&amp;#34;high&amp;#34; class=&amp;#34;radio&amp;#34;&amp;gt;High&amp;lt;/label&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;p&amp;gt;&amp;lt;input type=&amp;#34;radio&amp;#34; name=&amp;#34;priority&amp;#34; id=&amp;#34;medium&amp;#34; value=&amp;#34;medium&amp;#34; checked&amp;gt;&#xA;    &amp;lt;label for=&amp;#34;medium&amp;#34; class=&amp;#34;radio&amp;#34;&amp;gt;Medium&amp;lt;/label&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;p&amp;gt;&amp;lt;input type=&amp;#34;radio&amp;#34; name=&amp;#34;priority&amp;#34; id=&amp;#34;low&amp;#34; value=&amp;#34;low&amp;#34;&amp;gt;&#xA;    &amp;lt;label for=&amp;#34;low&amp;#34; class=&amp;#34;radio&amp;#34;&amp;gt;Low&amp;lt;/label&amp;gt;&amp;lt;/p&amp;gt;&#xA;  &amp;lt;/section&amp;gt;&#xA;  &amp;lt;/aside&amp;gt;&#xA;  &amp;lt;section id=&amp;#34;submitmessage&amp;#34;&amp;gt;&#xA;    &amp;lt;input type=&amp;#34;reset&amp;#34; value=&amp;#34;Reset&amp;#34;&amp;gt;&#xA;    &amp;lt;input type=&amp;#34;submit&amp;#34; value=&amp;#34;Submit&amp;#34;&amp;gt;&#xA;  &amp;lt;/section&amp;gt;&#xA;&#xA;&amp;lt;/form&amp;gt;&#xA;&amp;lt;script src=&amp;#34;rwd code 18.4.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-183&#34;&gt;Listing 18.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* very basic reset \*/&#xA;\*, \*:before, \*:after { &#xA;  padding: 0;&#xA;  margin: 0;&#xA;  -webkit-box-sizing: border-box;&#xA;  -moz-box-sizing: border-box;&#xA;  box-sizing: border-box;&#xA;}&#xA;.clearfix:after {&#xA;  content: &amp;#34;.&amp;#34;;&#xA;  visibility: hidden;&#xA;  display: block;&#xA;  height: 0;&#xA;  clear: both;&#xA;}&#xA;&#xA;/\* most form elements should take up the whole screen \*/&#xA;.inputbox, select, textarea {&#xA;  display: block;&#xA;  width: 100%;&#xA;}&#xA;form { max-width: 1000px; }&#xA;h1, h2, h3, label { font-family: Gotham, &amp;#34;Helvetica Neue&amp;#34;, Helvetica, Arial, sans-serif; }&#xA;section { margin-bottom: 1em; }&#xA;input, textarea, select {&#xA;  font-family: Gotham, &amp;#34;Helvetica Neue&amp;#34;, Helvetica, Arial, sans-serif;&#xA;  font-size: 1em;&#xA;  font-size: 1rem;&#xA;  border: solid 0.25em #b4cebc;&#xA;  margin-bottom: 1em;&#xA;  padding: 0.2em;&#xA;  -webkit-box-shadow: 3px 3px 15px #B4CEBC;&#xA;  box-shadow: 3px 3px 15px #B4CEBC;&#xA;}&#xA;input, textarea { max-width: 600px; }&#xA;select { max-width: 300px; }&#xA;\[required\]:focus {&#xA;  border: 0.25em solid #026F23;&#xA;}&#xA;aside h2, aside select { &#xA;  font-size: medium; &#xA;}&#xA;/\* hide aside from smallest browsers \*/&#xA;aside { display: none; }&#xA;@media (min-width: 480px) {&#xA;  aside { display: block; }&#xA;  form {&#xA;    padding: 0.5em; &#xA;  }&#xA;}&#xA;@media (min-width: 768px) {&#xA;  article {&#xA;    width: 60%;&#xA;    float: left;&#xA;  }&#xA;  aside {&#xA;    width: 35%; &#xA;    float: right;&#xA;  }&#xA;  label.inputbox {&#xA;    position: absolute;&#xA;    top: -9999px;&#xA;    left: -9999px;&#xA;  }&#xA;  #submitmessage { clear: both; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-184&#34;&gt;Listing 18.4&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;// JavaScript Document&#xA;&#xA;$( document ).ready(function() {&#xA;  $(&amp;#34;#article-url&amp;#34;).hide();&#xA;  $(&amp;#34;#other&amp;#34;).hide();&#xA;  $(&amp;#39;#msgAbt&amp;#39;).change(function() {&#xA;    var selected = $(this).val();&#xA;    if(selected == &amp;#39;article&amp;#39;){&#xA;      $(&amp;#39;#article-url&amp;#39;).show();&#xA;      $(&amp;#39;other&amp;#39;).hide();&#xA;    }&#xA;    else if (selected == &amp;#39;other&amp;#39;) {&#xA;      $(&amp;#34;#other&amp;#34;).show();&#xA;      $(&amp;#34;#article-url&amp;#34;).hide();&#xA;    }&#xA;    else {&#xA;      $(&amp;#39;#article-url&amp;#39;).hide();&#xA;      $(&amp;#39;#other&amp;#39;).hide();&#xA;    }&#xA;  });&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 17 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-17/</link>
      <pubDate>Thu, 01 Jan 2015 00:59:39 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-17/</guid><description>&lt;h1 id=&#34;hour-17-code-samples--sams-teach-yourself-responsive-web-design-in-24-hours&#34;&gt;Hour 17 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours&lt;/h1&gt;&#xA;&lt;h2 id=&#34;listing-171&#34;&gt;Listing 17.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Responsive Tables&amp;lt;/title&amp;gt;&#xA;&amp;lt;link href=&amp;#34;rwd code 17.2.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;table width=&amp;#34;100%&amp;#34; border=&amp;#34;1&amp;#34;&amp;gt;&#xA;  &amp;lt;thead&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th&amp;gt;URL&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th&amp;gt;RWD?&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th&amp;gt;Windows&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th&amp;gt;Macintosh&amp;lt;/th&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;  &amp;lt;/thead&amp;gt;&#xA;  &amp;lt;tbody&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Adobe Dreamweaver&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://www.adobe.com/products/dreamweaver.html&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Macaw&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://macaw.co/&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Coffee Cup Responsive Layout Maker Pro&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://www.coffeecup.com/responsive-layout-maker-pro/&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Microsoft Notepad&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://www.notepad.org/&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Tummult Hype&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://tumult.com/hype/&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;  &amp;lt;/tbody&amp;gt;&#xA;&amp;lt;/table&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-172&#34;&gt;Listing 17.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;@charset &amp;#34;UTF-8&amp;#34;;&#xA;/\* styles for all devices \*/&#xA;table {&#xA;  border-collapse: collapse;&#xA;  font-size: 14px;&#xA;}&#xA;/\* zebra stripe the table \*/&#xA;table tr:nth-child(2n+1)    {&#xA;  background-color: #dfdfdf;&#xA;}&#xA;/\* styles for devices larger than 650px wide \*/&#xA;@media screen and (min-width:651px){&#xA;  table {&#xA;    font-size: 16px;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-173&#34;&gt;Listing 17.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Contacts Table&amp;lt;/title&amp;gt;&#xA;&amp;lt;link href=&amp;#34;rwd code 17.4.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;table width=&amp;#34;100%&amp;#34; border=&amp;#34;1&amp;#34;&amp;gt;&#xA;  &amp;lt;thead&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th&amp;gt;Title&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th&amp;gt;Home Page&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th&amp;gt;Email&amp;lt;/th&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;  &amp;lt;/thead&amp;gt;&#xA;  &amp;lt;tbody&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Jennifer Kyrnin&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;Chief Dandylion Officer&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://htmljenn.com/&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;htmljenn@gmail.com&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;McKinley&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;Dandelion Observation Officer&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://responsivewebdesignin24hours.com/mckinley&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;mckinley@rwdin24hours.com&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Rambler&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;Chief Taste Tester&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://responsivewebdesignin24hours.com/rambler&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;rambler@rwdin24hours.com&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;  &amp;lt;/tbody&amp;gt;&#xA;&amp;lt;/table&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-174&#34;&gt;Listing 17.4&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;@charset &amp;#34;UTF-8&amp;#34;;&#xA;/\* styles for all devices \*/&#xA;table {&#xA;  border-collapse: collapse;&#xA;}&#xA;&#xA;/\* styles for small devices \*/ &#xA;@media (max-width:720px){&#xA;  table { border: none; }&#xA;  /\* display the whole table as a block \*/&#xA;  table, thead, tbody, th, td, tr { &#xA;    display: block; &#xA;  }&#xA;  /\* Hide the headers \*/&#xA;  thead tr { &#xA;    position: absolute;&#xA;    top: -9999px;&#xA;    left: -9999px;&#xA;  }&#xA;  &#xA;  tr { border: 1px solid #ccc; margin-bottom: 1em; }&#xA;  tr:nth-of-type(odd) {&#xA;    background: #eee;&#xA;  }&#xA;  &#xA;  td { &#xA;    /\* Behave  like a &amp;#34;row&amp;#34; \*/&#xA;    border: none;&#xA;    border-bottom: 1px solid #eee; &#xA;    position: relative;&#xA;    padding-left: 20%; &#xA;  }&#xA;  &#xA;  td:before { &#xA;    /\* Now like a table header \*/&#xA;    position: absolute;&#xA;    /\* Top/left values mimic padding \*/&#xA;    top: 1px;&#xA;    left: 6px;&#xA;    width: 45%; &#xA;    padding-right: 10px; &#xA;    white-space: nowrap;&#xA;  }&#xA;  &#xA;  /\* Label the data \*/&#xA;  td:nth-of-type(1):before { content: &amp;#34;Name&amp;#34;; }&#xA;  td:nth-of-type(2):before { content: &amp;#34;Title&amp;#34;; }&#xA;  td:nth-of-type(3):before { content: &amp;#34;Home Page&amp;#34;; }&#xA;  td:nth-of-type(4):before { content: &amp;#34;Email&amp;#34;; }&#xA;}&#xA;&#xA;/\* styles for larger devices \*/&#xA;@media (min-width:721px) {&#xA;  tr:nth-child(2n+1) {&#xA;    background-color: #80C5F5;&#xA;  }&#xA;  table thead tr:nth-child(n) {&#xA;    background-color: #3d447e;&#xA;    color: #dfdfdf;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-175&#34;&gt;Listing 17.5&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Responsive Tables&amp;lt;/title&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;/\* styles for all devices \*/&#xA;table {&#xA;  border-collapse: collapse;&#xA;}&#xA;/\* zebra stripe the table \*/&#xA;table tbody tr:nth-child(odd)    {&#xA;  background-color: #dfdfdf;&#xA;}&#xA;thead tr {&#xA;  background-color: #6E2B75;&#xA;  color: #efefef;&#xA;}&#xA;&#xA;/\* hide the important and optional columns from small screens \*/&#xA;@media screen and (max-width:480px) {&#xA;  .optional, .important,&#xA;  tr td:nth-child(2), &#xA;  tr td:nth-child(4),&#xA;  tr td:nth-child(5){&#xA;    display: none;&#xA;  }&#xA;}&#xA;&#xA;/\* hide the optional columns from medium width screens \*/&#xA;@media screen and (min-width:481px) and (max-width:780px) {&#xA;  .optional,&#xA;  tr td:nth-child(2) {&#xA;    display: none;&#xA;  }&#xA;}&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;table width=&amp;#34;100%&amp;#34; border=&amp;#34;1&amp;#34;&amp;gt;&#xA;  &amp;lt;thead&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;th class=&amp;#34;required&amp;#34;&amp;gt;Name&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th class=&amp;#34;optional&amp;#34;&amp;gt;URL&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th class=&amp;#34;required&amp;#34;&amp;gt;RWD?&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th class=&amp;#34;important&amp;#34;&amp;gt;Windows&amp;lt;/th&amp;gt;&#xA;      &amp;lt;th class=&amp;#34;important&amp;#34;&amp;gt;Macintosh&amp;lt;/th&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;  &amp;lt;/thead&amp;gt;&#xA;  &amp;lt;tbody&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Adobe Dreamweaver&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://www.adobe.com/products/dreamweaver.html&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Macaw&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://macaw.co/&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Coffee Cup Responsive Layout Maker Pro&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://www.coffeecup.com/responsive-layout-maker-pro/&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Microsoft Notepad&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://www.notepad.org/&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;      &amp;lt;td&amp;gt;Tummult Hype&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;http://tumult.com/hype/&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&#xA;      &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;  &amp;lt;/tbody&amp;gt;&#xA;&amp;lt;/table&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-176&#34;&gt;Listing 17.6&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;utf-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;HTML with Ad Block&amp;lt;/title&amp;gt;&#xA;    &amp;lt;style&amp;gt;&#xA;    body { background-color: #dfdfdf; }&#xA;    section {&#xA;      width: 95%;&#xA;      margin: 0 auto;&#xA;      background-color: #fff;&#xA;      overflow: auto;&#xA;    }&#xA;    article { &#xA;      background-color: #fff;&#xA;      overflow: auto;&#xA;      width: 60%;&#xA;      float: left;&#xA;    }&#xA;    aside {&#xA;      width: 300px;&#xA;      float: right;&#xA;    }&#xA;    img { max-width: 100%; width: 300px; height:200px; background-color: #F17A24; }&#xA;    &amp;lt;/style&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;  &amp;lt;section&amp;gt;&#xA;    &amp;lt;article&amp;gt;&#xA;      ... article copy ...&#xA;      blah blah blah&#xA;      blah blah blah&#xA;      blah blah blah&#xA;      blah blah blah&#xA;      blah blah blah&#xA;    &amp;lt;/article&amp;gt;&#xA;    &amp;lt;aside class=&amp;#34;ads&amp;#34;&amp;gt;&#xA;      &amp;lt;img id=&amp;#34;ad300&amp;#34;&amp;gt;&#xA;    &amp;lt;/aside&amp;gt;&#xA;   &amp;lt;/section&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-177&#34;&gt;Listing 17.7&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;&#xA;body { background-color: #dfdfdf; }&#xA;section {&#xA;  display: table;&#xA;  width: 95%;&#xA;  margin: 0 auto;&#xA;  background-color: #fff;&#xA;}&#xA;article { &#xA;  background-color: #fff;&#xA;  display: table-cell;&#xA;  vertical-align:top;&#xA;}&#xA;aside {&#xA;  width: 300px;&#xA;  display: table-cell;&#xA;  vertical-align:top;&#xA;}&#xA;img { max-width: 100%; width: 300px; height:200px; background-color: #F17A24; }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;hr&gt;&#xA;&lt;h3 id=&#34;comments&#34;&gt;Comments:&lt;/h3&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://davidhambley.co.uk/&#34; title=&#34;david.hambley@blueyonder.co.uk&#34;&gt;David Hambley&lt;/a&gt; - Jun 0, 2015&lt;/p&gt;&#xA;&lt;p&gt;Dear Jennifer I bought your “Sams Teach Yourself Responsive Web Design in 24 Hours by Jennifer Kyrnin” from Amazon as it seemed to be the only book that addressed the problem of data tables in RWD. However, in your otherwise excellent book, I am disappointed that there is some inconsistency in that content should not be included in CSS, which is for layout only. I bought the book as I am updating a rather old-fashioned charity website here in the UK of which I am a Trustee and which I wanted to be a RWD that can be read on mobiles and tablets as well. It has more than one data tables with different pricing information in different pages of the website. However, if I understand the book properly in my preferred method, in listing 17.4, you are advocating labelling the titles in the CSS. Surely this is not strictly correct and would not validate with W3C? I have not tried it yet and this is less important to me than a workable site. If I have one CSS file for the site, as recommended, is it acceptable to separate the rest of the CSS from the “/* Label the data */” code and put it into the CSS and leave the labelling CSS code in the individual HTML5 pages so that different tables can be used on the site? And would this validate? Also what would happen if there was more than one table on the HTML5 page? It seems to me that there must be a method of coding the tables without having data in the CSS or leaving CSS on the HTML pages, but I am not clever enough to work out how to do it. As you clearly are, I am writing to you in the hope that you have addressed and solved this problem since you wrote the book. Yours sincerely&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.htmljenn.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Jun 4, 2015&lt;/p&gt;&#xA;&lt;p&gt;I agree that content shouldn&amp;rsquo;t be included in the CSS. But there are not a lot of options for creating responsive tables, especially if you cannot use scripts. And many people cannot. Tables are very difficult, and most designers choose to make sacrifices in either their CSS by including content there or in other ways, such as by making them non-responsive. Personally, I would choose a responsive table over a non-responsive one, but every design is different and there will be cases where including content in the CSS is not appropriate. Thanks for your comment. This is good information for others reading the book.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;</description>
    </item>
    <item>
      <title>Hour 16 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-16/</link>
      <pubDate>Thu, 01 Jan 2015 00:55:03 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-16/</guid><description>&lt;h1 id=&#34;hour-16-code-samples--sams-teach-yourself-responsive-web-design-in-24-hours&#34;&gt;Hour 16 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours&lt;/h1&gt;&#xA;&lt;h2 id=&#34;listing-161&#34;&gt;Listing 16.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Responsive Video&amp;lt;/title&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;#main { width: 100%; }&#xA;video {&#xA;  max-width: 100%;&#xA;  height: auto;&#xA;}&#xA;&#xA;@media screen and (min-width:401px) {&#xA;  #main {&#xA;    max-width: 900px;&#xA;  }&#xA;}&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;  &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;  &amp;lt;h1&amp;gt;Ramblin&amp;#39; Rambler&amp;lt;/h1&amp;gt;&#xA;  &amp;lt;video controls&amp;gt;&#xA;    &amp;lt;source src=&amp;#34;images/rambler2006.mp4&amp;#34;&amp;gt;&#xA;  &amp;lt;/video&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-162&#34;&gt;Listing 16.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;#videoBG { &#xA;  position: absolute; &#xA;  top: 0;&#xA;  left: 0; &#xA;  min-width: 100%; &#xA;  min-height: 100%; &#xA;  width: auto; &#xA;  height: auto; &#xA;  z-index: -1000; &#xA;  overflow: hidden; &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-163&#34;&gt;Listing 16.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Responsive YouTube Embedded Video&amp;lt;/title&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;#main { width: 100%; }&#xA;.videoContainer {&#xA;  position: relative;&#xA;  padding-bottom: 55%;&#xA;  height: 0;&#xA;  overflow: hidden;&#xA;}&#xA;.videoContainer iframe, &#xA;.videoContainer object,&#xA;.videoContainer embed {&#xA;  position: absolute;&#xA;  top: 0;&#xA;  left: 0;&#xA;  width: 100%;&#xA;  height: 100%;&#xA;}&#xA;&#xA;@media screen and (min-width:401px) {&#xA;  #main {&#xA;    max-width: 900px;&#xA;  }&#xA;}&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;  &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;  &amp;lt;h1&amp;gt;Cruising with a Drone&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;div class=&amp;#34;videoContainer&amp;#34;&amp;gt;&#xA;      &amp;lt;iframe width=&amp;#34;853&amp;#34; height=&amp;#34;480&amp;#34; &#xA;      src=&amp;#34;http://www.youtube-nocookie.com/embed/eGFGG-xKT\_A&amp;#34; &#xA;      frameborder=&amp;#34;0&amp;#34; allowfullscreen&amp;gt;&amp;lt;/iframe&amp;gt;    &#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 15 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-15/</link>
      <pubDate>Thu, 01 Jan 2015 00:52:04 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-15/</guid><description>&lt;h1 id=&#34;hour-15-code-samples--sams-teach-yourself-responsive-web-design-in-24-hours&#34;&gt;Hour 15 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours&lt;/h1&gt;&#xA;&lt;h2 id=&#34;listing-151&#34;&gt;Listing 15.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;rwd code 15.2.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;    &amp;lt;script src=&amp;#34;http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;      &amp;lt;header&amp;gt;&#xA;        &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;        &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;      &amp;lt;/header&amp;gt;&#xA;      &amp;lt;nav&amp;gt;&#xA;        &amp;lt;ul id=&amp;#34;navigation&amp;#34;&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Home&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;Where Dandelions roam free&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Products&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;These flowers will grow on you&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Services&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;We care for the flowers you have&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Support&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;We love to help with dandelions&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;About&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;Why we love dandelions so much&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Reading&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;Read more about this wondrous plant&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Contact&amp;lt;br&amp;gt; &#xA;          &amp;lt;small&amp;gt;Ask us about your dandelion needs&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;/ul&amp;gt;&#xA;        &amp;lt;select id=&amp;#34;mobileNav&amp;#34;&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;&amp;#34;&amp;gt;Go to...&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/home&amp;#34;&amp;gt;Home&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/products&amp;#34;&amp;gt;Products&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/services&amp;#34;&amp;gt;Services&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/support&amp;#34;&amp;gt;Support&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/about&amp;#34;&amp;gt;About&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/articles&amp;#34;&amp;gt;Reading&amp;lt;/option&amp;gt;&#xA;          &amp;lt;option value=&amp;#34;/contact&amp;#34;&amp;gt;Contact&amp;lt;/option&amp;gt;&#xA;        &amp;lt;/select&amp;gt;&#xA;      &amp;lt;/nav&amp;gt;&#xA;      &amp;lt;div id=&amp;#34;bodyContent&amp;#34; class=&amp;#34;clearfix&amp;#34;&amp;gt; &#xA;        &amp;lt;article id=&amp;#34;mainarticle&amp;#34;&amp;gt;&#xA;          &amp;lt;h3&amp;gt;What is a Dandelion?&amp;lt;/h3&amp;gt;&#xA;          &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;          &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in&#xA;          the family Asteraceae. They are native to Eurasia and North and South&#xA;          America, and two species, T. officinale and T. erythrospermum, are&#xA;          found as weeds worldwide. Both species are edible in their entirety.&#xA;          The common name &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;          &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French&#xA;          dent-de-lion, meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the&#xA;          genus, and like other members of the Asteraceae family, they have very&#xA;          small flowers collected together into a composite flower head. Each&#xA;          single flower in a head is called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&#xA;          species produce seeds asexually by apomixis, where the seeds are&#xA;          produced without pollination, resulting in offspring that are&#xA;          genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;        &amp;lt;/article&amp;gt;&#xA;      &amp;lt;div class=&amp;#34;sidebars&amp;#34;&amp;gt;&#xA;      &amp;lt;aside id=&amp;#34;links&amp;#34;&amp;gt;&#xA;        &amp;lt;h3&amp;gt;Learn More About Dandelions&amp;lt;/h3&amp;gt;&#xA;        &amp;lt;ul&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;http://chemistry.about.com/b/2013/07/26/do-dandelions-burn-in-colors.htm&amp;#34;&amp;gt;Do Dandelions Burn in Colors?&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;http://herbgardens.about.com/od/herbrecipes/tp/10-uses-for-dandelions.htm&amp;#34;&amp;gt;Top 5 Things To Do With Dandelion&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;http://organicgardening.about.com/od/howtogrowveggies/a/How-To-Grow-Dandelion-Greens.htm&amp;#34;&amp;gt;How to Grow and Harvest Dandelion Greens&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;http://homecooking.about.com/od/condimentrecipes/r/bljelly9.htm&amp;#34;&amp;gt;Dandelion Honey Recipe&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;http://landscaping.about.com/od/weedsdiseases/a/kill\_dandelions\_2.htm&amp;#34;&amp;gt;Get Rid of Dandelions the Smart Way&amp;amp;#8212;Eat Them!&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;/ul&amp;gt;&#xA;      &amp;lt;/aside&amp;gt;&#xA;      &amp;lt;aside id=&amp;#34;sidebar&amp;#34;&amp;gt;&#xA;        &amp;lt;p&amp;gt;&amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&amp;lt;/p&amp;gt;&#xA;        &amp;lt;p&amp;gt;&amp;lt;img src=&amp;#34;images/seeded.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&amp;lt;/p&amp;gt;&#xA;      &amp;lt;/aside&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&amp;lt;!-- end sidebars --&amp;gt;&#xA;      &amp;lt;/div&amp;gt; &amp;lt;!-- end bodyContent --&amp;gt;&#xA;      &amp;lt;footer&amp;gt;&#xA;        &amp;lt;p&amp;gt;Text from &#xA;        &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;      &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&amp;lt;!-- end main --&amp;gt;&#xA;    &amp;lt;script&amp;gt;&#xA;    $(function() {&#xA;    $(&amp;#34;nav select&amp;#34;).change(function() {&#xA;    window.location = $(this).find(&amp;#34;option:selected&amp;#34;).val();&#xA;    });&#xA;    });&#xA;    &amp;lt;/script&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-152&#34;&gt;Listing 15.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;@import url(http://fonts.googleapis.com/css?family=Playfair+Display+SC:900)&#xA;screen and (min-width: 400px);&#xA;/\* styles for all browser widths \*/&#xA;/\* very basic reset \*/&#xA;\* { font-size: 100%; }&#xA;\*, \*:before, \*:after { &#xA;  padding: 0;&#xA;  margin: 0;&#xA;  -webkit-box-sizing: border-box;&#xA;  -moz-box-sizing: border-box;&#xA;  box-sizing: border-box;&#xA;}&#xA;.clearfix:after {&#xA;  content: &amp;#34;.&amp;#34;;&#xA;  visibility: hidden;&#xA;  display: block;&#xA;  height: 0;&#xA;  clear: both;&#xA;}&#xA;&#xA;h1, h2, h3 { font-family: &amp;#39;Playfair Display SC&amp;#39;, serif; line-height: 1.2; }&#xA;&#xA;h1 { font-size: 2em; }&#xA;h2 { font-size: 1.7em; }&#xA;h3 { font-size: 1.3em; }&#xA;p, ul, ol, dl { font-size: 1em; line-height: 1.275; }&#xA;#bodyContent, footer { margin: 0 0.2em; }&#xA;&#xA;/\* images \*/ &#xA;img { width: 100%; max-width: 100%; height: auto; }&#xA;&#xA;/\* nav bar \*/&#xA;nav {&#xA;  width: 100%;&#xA;  margin: auto;  &#xA;}&#xA;nav ul {&#xA;  list-style: none;&#xA;  overflow: hidden;&#xA;  background: #000;&#xA;}&#xA;nav li a {&#xA;  display: block;&#xA;  float: left;&#xA;  width: 14.28%; &#xA;  padding: 10px;&#xA;  background: #000;&#xA;  border-right: 1px solid #fff;&#xA;  color: #fbd91f;  &#xA;  font: 400 13px/1.4 bitstream\_vera\_serifbold, Baskerville, &amp;#34;Palatino Linotype&amp;#34;, Palatino, &amp;#34;Times New Roman&amp;#34;, serif;&#x9;&#xA;  text-align: center;&#xA;  text-decoration: none;&#xA;  text-transform: uppercase;&#xA;}&#xA;/\* small text \*/&#xA;nav small {&#xA;  color: #aaa;  &#xA;  font: 100 11px/1 Helvetica, Verdana, Arial, sans-serif;&#xA;  text-transform: none;&#xA;}&#xA;/\* default to smallest browser size \*/ &#xA;nav ul { display: none; }&#xA;nav select { display: inline-block; margin: 0.5em 0; }&#xA;&#xA;/\*header \*/&#xA;header {&#xA;  background: url(images/dandy-header-bg-small.png) bottom left no-repeat;&#xA;  color: #EDEE6A;&#xA;  text-shadow: 3px 2px #000000;&#xA;}&#xA;&#xA;/\* styles for smartphones and tablets \*/&#xA;@media screen and (min-width: 400px)  {&#xA;&#x9;h1 { font-size: 3em; }&#xA;&#x9;h2 { font-size: 2em; }&#xA;&#x9;h3 { font-size: 1.5em; }&#xA;  #bodyContent { margin-right: 0; }&#xA;  header {&#xA;    background: url(images/dandy-header-bg.png) bottom left no-repeat;&#xA;  }&#xA;}&#xA;/\* styles just for smartphones \*/&#xA;@media screen and (min-width: 400px) and (max-width: 970px) {&#xA;  &#xA;  /\* two columns \*/ &#xA;  #mainarticle {&#xA;    width: 50%;&#xA;    float: left;&#xA;    padding-right: 2em;&#xA;  }&#xA;  .sidebars {&#xA;    width: 48%;&#xA;    float: right; &#xA;  }&#xA;  &#xA;  /\* header \*/&#xA;  header { &#xA;    height: 10em;&#xA;  }&#xA;  &#xA;}&#xA;/\* change to full nav for larger screens \*/ &#xA;@media screen and (min-width: 481px) {&#xA;  nav ul { display: block; }&#xA;  nav select { display: none; }&#xA;}&#xA;/\* styles for the largest screens \*/&#xA;@media screen and (min-width: 971px) {&#xA;  /\* three columns \*/&#xA;  #mainarticle {&#xA;    width: 40%; &#xA;    float: left;&#xA;    padding-right: 2em;&#xA;  }&#xA;  .sidebars {&#xA;    width: 60%;&#xA;    float: right; &#xA;  }&#xA;  .sidebars #links {&#xA;    width: 30%;&#xA;    float: left; &#xA;  }&#xA;  .sidebars #sidebar {&#xA;    width: 65%;&#xA;    float: right;&#xA;  }&#xA;  /\* header \*/&#xA;  header {&#xA;    height: 20em;&#xA;  }&#xA;  header h1 {&#xA;    padding-top: 1.5em;&#xA;    padding-left: 0.5em;&#xA;  }&#xA;  header h2 {&#xA;    padding-left: 6em;&#xA;    padding-top: 1em;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-153&#34;&gt;Listing 15.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;  &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;  &amp;lt;title&amp;gt;Cropping Images with CSS&amp;lt;/title&amp;gt;&#xA;  &amp;lt;style&amp;gt;&#xA;  .cropped {&#xA;    width: 200px;&#xA;    height: 200px;&#xA;    overflow: hidden;&#xA;  }&#xA;  .cropped img {&#xA;    position: relative;&#xA;    right: 20px;&#xA;  }&#xA;  &amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;  &amp;lt;p&amp;gt;&#xA;  &amp;lt;img src=&amp;#34;images/seeded.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;  &amp;lt;/p&amp;gt;&#xA;  &amp;lt;p class=&amp;#34;cropped&amp;#34;&amp;gt;&#xA;  &amp;lt;img src=&amp;#34;images/seeded.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;  &amp;lt;/p&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 14 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-14/</link>
      <pubDate>Thu, 01 Jan 2015 00:49:04 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-14/</guid><description>&lt;h1 id=&#34;hour-14-code-samples--sams-teach-yourself-responsive-web-design-in-24-hours&#34;&gt;Hour 14 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours&lt;/h1&gt;&#xA;&lt;h2 id=&#34;listing-141&#34;&gt;Listing 14.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;rwd code 14.4.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;header&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;/header&amp;gt;&#xA;    &amp;lt;nav&amp;gt;&#xA;    &#x9;&amp;lt;ul&amp;gt;&#xA;        &#x9;&amp;lt;li&amp;gt;Home&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Products&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Services&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Support&amp;lt;/li&amp;gt;&#xA;       &amp;lt;/ul&amp;gt;&#xA;    &amp;lt;/nav&amp;gt;&#xA;    &amp;lt;article&amp;gt;&#xA;      &amp;lt;h3&amp;gt;What is a Dandelion?&amp;lt;/h3&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in the&#xA;      family Asteraceae. They are native to Eurasia and North and South America,&#xA;      and two species, T. officinale and T. erythrospermum, are found as weeds&#xA;      worldwide. Both species are edible in their entirety. The common name&#xA;      &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French dent-de-lion,&#xA;      meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other&#xA;      members of the Asteraceae family, they have very small flowers collected&#xA;      together into a composite flower head. Each single flower in a head is&#xA;      called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually&#xA;      by apomixis, where the seeds are produced without pollination, resulting&#xA;      in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/article&amp;gt;&#xA;    &amp;lt;aside&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/aside&amp;gt;&#xA;    &amp;lt;footer&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-142&#34;&gt;Listing 14.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;&#xA;@import url(http://fonts.googleapis.com/css?family=Playfair+Display+SC:900)&#xA;screen and (min-width: 500px);&#xA;&#xA;h1, h2, h3 { font-family: &amp;#39;Playfair Display SC&amp;#39;, serif; }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-143&#34;&gt;Listing 14.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;@import url(http://fonts.googleapis.com/css?family=Playfair+Display+SC:900)&#xA;screen and (min-width: 500px);&#xA;&#xA;\* { font-size: 100%; }&#xA;&#xA;h1, h2, h3 { font-family: &amp;#39;Playfair Display SC&amp;#39;, serif; }&#xA;&#xA;h1 { font-size: 2.5em; }&#xA;h2 { font-size: 1.75em; }&#xA;h3 { font-size: 1.2em; }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-144&#34;&gt;Listing 14.4&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;@import url(http://fonts.googleapis.com/css?family=Playfair+Display+SC:900)&#xA;screen and (min-device-width: 400px);&#xA;/\* styles for all browser widths \*/&#xA;\* { font-size: 100%; }&#xA;&#xA;h1, h2, h3 { font-family: &amp;#39;Playfair Display SC&amp;#39;, serif; }&#xA;&#xA;h1 { font-size: 2.2em; }&#xA;h2 { font-size: 1.75em; }&#xA;h3 { font-size: 1.3em; }&#xA;p, ul, ol, dl { font-size: 1em; }&#xA;&#xA;/\* styles for smartphones and tablets \*/&#xA;@media screen and (min-device-width: 400px) {&#xA;&#x9;h1 { font-size: 3em; }&#xA;&#x9;h2 { font-size: 2em; }&#xA;&#x9;h3 { font-size: 1.5em; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-145&#34;&gt;Listing 14.5&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;@import url(http://fonts.googleapis.com/css?family=Playfair+Display+SC:900)&#xA;screen and (min-width: 400px);&#xA;/\* styles for all browser widths \*/&#xA;/\* very basic reset \*/&#xA;\* { font-size: 100%; }&#xA;\*, \*:before, \*:after { &#xA;  padding: 0;&#xA;  margin: 0;&#xA;  -webkit-box-sizing: border-box;&#xA;  -moz-box-sizing: border-box;&#xA;  box-sizing: border-box;&#xA;}&#xA;&#xA;body { margin: 0 0.2em; }&#xA;h1, h2, h3 { font-family: &amp;#39;Playfair Display SC&amp;#39;, serif; line-height: 1.2; }&#xA;&#xA;h1 { font-size: 2em; }&#xA;h2 { font-size: 1.7em; }&#xA;h3 { font-size: 1.3em; }&#xA;p, ul, ol, dl { font-size: 1em; line-height: 1.275; }&#xA;&#xA;/\* nav bar \*/&#xA;nav {&#xA;  width: 100%;&#xA;  margin: auto;  &#xA;}&#xA;nav ul {&#xA;  list-style: none;&#xA;  overflow: hidden;&#xA;  background: #000;&#xA;}&#xA;nav li a {&#xA;  display: block;&#xA;  float: left;&#xA;  width: 14.28%; &#xA;  padding: 10px;&#xA;  background: #000;&#xA;  border-right: 1px solid #fff;&#xA;  color: #fbd91f;  &#xA;  font: 400 13px/1.4 bitstream\_vera\_serifbold, Baskerville, &amp;#34;Palatino Linotype&amp;#34;, Palatino, &amp;#34;Times New Roman&amp;#34;, serif;&#x9;&#xA;  text-align: center;&#xA;  text-decoration: none;&#xA;  text-transform: uppercase;&#xA;}&#xA;/\* small text \*/&#xA;nav small {&#xA;  color: #aaa;  &#xA;  font: 100 11px/1 Helvetica, Verdana, Arial, sans-serif;&#xA;  text-transform: none;&#xA;}&#xA;&#xA;/\* default to smallest browser size \*/ &#xA;nav ul { display: none; }&#xA;nav select { display: inline-block; margin: 0.5em 0; }&#xA;&#xA;/\* styles for smartphones and tablets \*/&#xA;@media screen and (min-width: 400px) {&#xA;&#x9;h1 { font-size: 3em; }&#xA;&#x9;h2 { font-size: 2em; }&#xA;&#x9;h3 { font-size: 1.5em; }&#xA;}&#xA;/\* change to full nav for larger screens \*/ &#xA;@media screen and (min-width: 481px) {&#xA;  nav ul { display: block; }&#xA;  nav select { display: none; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-145-html&#34;&gt;Listing 14.5 HTML&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;rwd code 14.5.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;    &amp;lt;script src=&amp;#34;http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;header&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;/header&amp;gt;&#xA;&amp;lt;nav&amp;gt;&#xA;    &amp;lt;ul id=&amp;#34;navigation&amp;#34;&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Home&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Where Dandelions roam free&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Products&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;These flowers will grow on you&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Services&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;We care for the flowers you have&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Support&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;We love to help with dandelions&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;About&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Why we love dandelions so much&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Reading&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Read more about this wondrous plant&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Contact&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Ask us about your dandelion needs&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;    &amp;lt;/ul&amp;gt;&#xA;    &amp;lt;select id=&amp;#34;mobileNav&amp;#34;&amp;gt;&#xA;    &#x9;&amp;lt;option value=&amp;#34;&amp;#34;&amp;gt;Go to...&amp;lt;/option&amp;gt;&#xA;    &#x9;&amp;lt;option value=&amp;#34;/home&amp;#34;&amp;gt;Home&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/products&amp;#34;&amp;gt;Products&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/services&amp;#34;&amp;gt;Services&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/support&amp;#34;&amp;gt;Support&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/about&amp;#34;&amp;gt;About&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/articles&amp;#34;&amp;gt;Reading&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/contact&amp;#34;&amp;gt;Contact&amp;lt;/option&amp;gt;&#xA;    &amp;lt;/select&amp;gt;&#xA;&amp;lt;/nav&amp;gt;    &amp;lt;article&amp;gt;&#xA;      &amp;lt;h3&amp;gt;What is a Dandelion?&amp;lt;/h3&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in the&#xA;      family Asteraceae. They are native to Eurasia and North and South America,&#xA;      and two species, T. officinale and T. erythrospermum, are found as weeds&#xA;      worldwide. Both species are edible in their entirety. The common name&#xA;      &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French dent-de-lion,&#xA;      meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other&#xA;      members of the Asteraceae family, they have very small flowers collected&#xA;      together into a composite flower head. Each single flower in a head is&#xA;      called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually&#xA;      by apomixis, where the seeds are produced without pollination, resulting&#xA;      in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/article&amp;gt;&#xA;    &amp;lt;aside&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/aside&amp;gt;&#xA;    &amp;lt;footer&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#x9;&amp;lt;script&amp;gt;&#xA;    $(function() {&#xA;        $(&amp;#34;nav select&amp;#34;).change(function() {&#xA;            window.location = $(this).find(&amp;#34;option:selected&amp;#34;).val();&#xA;        });&#xA;    });&#xA;    &amp;lt;/script&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-146&#34;&gt;Listing 14.6&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Relative Font Sizes&amp;lt;/title&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;\* { font-size: 100%; }&#xA;body { font-size: 1.5rem; }&#xA;article { font-size: 1.3rem; }&#xA;div { font-size: 1.2rem; }&#xA;p { font-size: 1.1rem; }&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;body text&#xA;&amp;lt;article&amp;gt;&#xA;article text&#xA;&#x9;&amp;lt;div&amp;gt;&#xA;    div text&#xA;    &#x9;&amp;lt;p&amp;gt;paragraph text&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/article&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-147&#34;&gt;Listing 14.7&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Relative Font Sizes Using Rems&amp;lt;/title&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;\* { font-size: 100%; }&#xA;body { font-size: 1.5rem; }&#xA;article { font-size: 1.3rem; }&#xA;div { font-size: 1.2rem; }&#xA;p { font-size: 1.1rem; }&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;body text&#xA;&amp;lt;article&amp;gt;&#xA;article text&#xA;&#x9;&amp;lt;div&amp;gt;&#xA;    div text&#xA;    &#x9;&amp;lt;p&amp;gt;paragraph text&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/article&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 13 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-13/</link>
      <pubDate>Thu, 01 Jan 2015 00:42:18 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-13/</guid><description>&lt;h2 id=&#34;listing-131&#34;&gt;Listing 13.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;RWD 13 - Close Links Hard to Click On&amp;lt;/title&amp;gt;&#xA;&amp;lt;meta name=&amp;#34;viewport&amp;#34; content=&amp;#34;width=device-width&amp;#34;&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&#xA;&amp;lt;ul&amp;gt;&#xA;&#x9;&amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#a&amp;#34;&amp;gt;test can you click on this?&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#b&amp;#34;&amp;gt;test can you click on this?&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;    &amp;lt;li&amp;gt;test can you click &amp;lt;a href=&amp;#34;#c&amp;#34;&amp;gt;on&amp;lt;/a&amp;gt; this? &amp;lt;/li&amp;gt;&#xA;    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#e&amp;#34;&amp;gt;test can you click on this? &amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#d&amp;#34;&amp;gt;test&amp;lt;/a&amp;gt; &amp;lt;a href=&amp;#34;#j&amp;#34;&amp;gt;can&amp;lt;/a&amp;gt; you &amp;lt;a href=&amp;#34;#h&amp;#34;&amp;gt;click&amp;lt;/a&amp;gt; &amp;lt;a href=&amp;#34;#i&amp;#34;&amp;gt;on&amp;lt;/a&amp;gt; &amp;lt;a href=&amp;#34;#k&amp;#34;&amp;gt;this&amp;lt;/a&amp;gt;?&amp;lt;/li&amp;gt;&#xA;    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#f&amp;#34;&amp;gt;test can you click on this? &amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#g&amp;#34;&amp;gt;test can you click on this? &amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;&amp;lt;/ul&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-132&#34;&gt;Listing 13.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Listing 13.2 - Basic HTML for Navigation&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;nav&amp;gt;&#xA;    &amp;lt;ul id=&amp;#34;navigation&amp;#34;&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Home&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Where Dandelions roam free&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Products&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;These flowers will grow on you&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Services&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;We care for the flowers you have&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Support&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;We love to help with dandelions&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;About&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Why we love dandelions so much&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Reading&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Read more about this wondrous plant&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Contact&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Ask us about your dandelion needs&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;    &amp;lt;/ul&amp;gt;&#xA;&amp;lt;/nav&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-133&#34;&gt;Listing 13.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* font family \*/&#xA;@font-face {&#xA;    font-family: &amp;#39;bitstream\_vera\_serifbold&amp;#39;;&#xA;    src: url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.eot&amp;#39;);&#xA;    src: url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.eot?#iefix&amp;#39;) format(&amp;#39;embedded-opentype&amp;#39;),&#xA;         url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.woff&amp;#39;) format(&amp;#39;woff&amp;#39;),&#xA;         url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.ttf&amp;#39;) format(&amp;#39;truetype&amp;#39;),&#xA;         url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.svg#bitstream\_vera\_serifbold&amp;#39;) format(&amp;#39;svg&amp;#39;);&#xA;    font-weight: normal;&#xA;    font-style: normal;&#xA;&#xA;}&#xA;/\* basic reset \*/&#xA;\*, \*:before, \*:after { &#xA;&#x9;padding: 0;&#xA;&#x9;margin: 0;&#xA;&#x9;-webkit-box-sizing: border-box;&#xA;&#x9;-moz-box-sizing: border-box;&#xA;&#x9;box-sizing: border-box;&#xA;}&#xA;/\* nav bar \*/&#xA;nav {&#xA;    width: 100%;&#xA;    margin: auto;  &#xA;}&#xA; &#xA;nav ul {&#xA;    list-style: none;&#xA;    overflow: hidden;&#xA;&#x9;background: #000;&#xA;}&#xA;nav li a {&#xA;    display: block;&#xA;&#x9;float: left;&#xA;    width: 14.28%; &#xA;    padding: 10px;&#xA;    background: #000;&#xA;    border-right: 1px solid #fff;&#xA;    color: #fbd91f;    &#xA;    font: 400 13px/1.4 bitstream\_vera\_serifbold, Baskerville, &amp;#34;Palatino Linotype&amp;#34;, Palatino, &amp;#34;Times New Roman&amp;#34;, serif;&#x9;&#xA;    text-align: center;&#xA;    text-decoration: none;&#xA;    text-transform: uppercase;&#xA;}&#xA;/\* small text \*/&#xA;nav small {&#xA;    color: #aaa;    &#xA;    font: 100 11px/1 Helvetica, Verdana, Arial, sans-serif;&#xA;    text-transform: none;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-134&#34;&gt;Listing 13.4&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* font family \*/&#xA;@font-face {&#xA;    font-family: &amp;#39;bitstream\_vera\_serifbold&amp;#39;;&#xA;    src: url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.eot&amp;#39;);&#xA;    src: url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.eot?#iefix&amp;#39;) format(&amp;#39;embedded-opentype&amp;#39;),&#xA;         url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.woff&amp;#39;) format(&amp;#39;woff&amp;#39;),&#xA;         url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.ttf&amp;#39;) format(&amp;#39;truetype&amp;#39;),&#xA;         url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.svg#bitstream\_vera\_serifbold&amp;#39;) format(&amp;#39;svg&amp;#39;);&#xA;    font-weight: normal;&#xA;    font-style: normal;&#xA;&#xA;}&#xA;/\* basic reset \*/&#xA;\*, \*:before, \*:after { &#xA;&#x9;padding: 0;&#xA;&#x9;margin: 0;&#xA;&#x9;-webkit-box-sizing: border-box;&#xA;&#x9;-moz-box-sizing: border-box;&#xA;&#x9;box-sizing: border-box;&#xA;}&#xA;/\* nav bar \*/&#xA;nav {&#xA;    width: 100%;&#xA;    margin: auto;  &#xA;}&#xA; &#xA;nav ul {&#xA;    list-style: none;&#xA;    overflow: hidden;&#xA;&#x9;background: #000;&#xA;}&#xA;nav li a {&#xA;    display: block;&#xA;&#x9;float: left;&#xA;    width: 12em;&#xA;    min-height: 8em;&#xA;    padding: 1.2em;&#xA;    background: #000;&#xA;&#x9;border-right: 1px solid #fff;&#xA;    color: #fbd91f;&#xA;    font: 400 0.8em/1.4 bitstream\_vera\_serifbold, Baskerville, &amp;#34;Palatino Linotype&amp;#34;, Palatino, &amp;#34;Times New Roman&amp;#34;, serif;&#x9;&#xA;    text-align: center;&#xA;    text-decoration: none;&#xA;    text-transform: uppercase;&#xA;}&#xA;/\* small text \*/&#xA;nav small {&#xA;    color: #aaa;&#xA;    font: 100 0.85em/1 Helvetica, Verdana, Arial, sans-serif;&#xA;    text-transform: none;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-135&#34;&gt;Listing 13.5&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Listing 13.5 - Basic HTML with Select List for Navigation&amp;lt;/title&amp;gt;&#xA;&amp;lt;link href=&amp;#34;rwd code 13.6.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;&amp;lt;script src=&amp;#34;http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;nav&amp;gt;&#xA;    &amp;lt;ul id=&amp;#34;navigation&amp;#34;&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Home&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Where Dandelions roam free&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Products&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;These flowers will grow on you&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Services&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;We care for the flowers you have&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Support&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;We love to help with dandelions&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;About&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Why we love dandelions so much&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Reading&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Read more about this wondrous plant&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &#xA;        &amp;lt;li&amp;gt;&amp;lt;a href=&amp;#34;#&amp;#34;&amp;gt;Contact&amp;lt;br&amp;gt; &#xA;        &amp;lt;small&amp;gt;Ask us about your dandelion needs&amp;lt;/small&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;    &amp;lt;/ul&amp;gt;&#xA;    &amp;lt;select id=&amp;#34;mobileNav&amp;#34;&amp;gt;&#xA;    &#x9;&amp;lt;option value=&amp;#34;&amp;#34;&amp;gt;Go to...&amp;lt;/option&amp;gt;&#xA;    &#x9;&amp;lt;option value=&amp;#34;/home&amp;#34;&amp;gt;Home&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/products&amp;#34;&amp;gt;Products&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/services&amp;#34;&amp;gt;Services&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/support&amp;#34;&amp;gt;Support&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/about&amp;#34;&amp;gt;About&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/articles&amp;#34;&amp;gt;Reading&amp;lt;/option&amp;gt;&#xA;       &amp;lt;option value=&amp;#34;/contact&amp;#34;&amp;gt;Contact&amp;lt;/option&amp;gt;&#xA;    &amp;lt;/select&amp;gt;&#xA;&amp;lt;/nav&amp;gt;&#xA;&#xA;&amp;lt;script&amp;gt;&#xA;$(function() {&#xA;&#x9;$(&amp;#34;nav select&amp;#34;).change(function() {&#xA;        window.location = $(this).find(&amp;#34;option:selected&amp;#34;).val();&#xA;    });&#xA;});&#xA;&amp;lt;/script&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-136&#34;&gt;Listing 13.6&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* font family \*/&#xA;@font-face {&#xA;  font-family: &amp;#39;bitstream\_vera\_serifbold&amp;#39;;&#xA;  src: url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.eot&amp;#39;);&#xA;  src: url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.eot?#iefix&amp;#39;) format(&amp;#39;embedded-opentype&amp;#39;),&#xA;    url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.woff&amp;#39;) format(&amp;#39;woff&amp;#39;),&#xA;    url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.ttf&amp;#39;) format(&amp;#39;truetype&amp;#39;),&#xA;    url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.svg#bitstream\_vera\_serifbold&amp;#39;) format(&amp;#39;svg&amp;#39;);&#xA;  font-weight: normal;&#xA;  font-style: normal;&#xA;&#xA;}&#xA;/\* basic reset \*/&#xA;\*, \*:before, \*:after { &#xA;&#x9;padding: 0;&#xA;&#x9;margin: 0;&#xA;&#x9;-webkit-box-sizing: border-box;&#xA;&#x9;-moz-box-sizing: border-box;&#xA;&#x9;box-sizing: border-box;&#xA;}&#xA;/\* nav bar \*/&#xA;nav {&#xA;  width: 100%;&#xA;  margin: auto;  &#xA;}&#xA; &#xA;nav ul {&#xA;  list-style: none;&#xA;  overflow: hidden;&#xA;&#x9;background: #000;&#xA;}&#xA;nav li a {&#xA;  display: block;&#xA;  float: left;&#xA;  width: 14.28%; &#xA;  padding: 10px;&#xA;  background: #000;&#xA;  border-right: 1px solid #fff;&#xA;  color: #fbd91f;  &#xA;  font: 400 13px/1.4 bitstream\_vera\_serifbold, Baskerville, &amp;#34;Palatino Linotype&amp;#34;, Palatino, &amp;#34;Times New Roman&amp;#34;, serif;&#x9;&#xA;  text-align: center;&#xA;  text-decoration: none;&#xA;  text-transform: uppercase;&#xA;}&#xA;/\* small text \*/&#xA;nav small {&#xA;  color: #aaa;  &#xA;  font: 100 11px/1 Helvetica, Verdana, Arial, sans-serif;&#xA;  text-transform: none;&#xA;}&#xA;&#xA;/\* default to smallest browser size \*/ &#xA;nav ul { display: none; }&#xA;nav select { display: inline-block; }&#xA;&#xA;/\* change to full nav for larger screens \*/ &#xA;@media screen and (min-width: 481px) {&#xA;  nav ul { display: block; }&#xA;  nav select { display: none; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 12 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-12/</link>
      <pubDate>Thu, 01 Jan 2015 00:37:00 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-12/</guid><description>&lt;h2 id=&#34;listing-121&#34;&gt;Listing 12.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;&#xA;body { background-color: #dfdfdf; }&#xA;#main { &#xA;/\*&#x9;width: 960px; \*/&#xA;&#x9;background-color: #fff;&#xA;&#x9;margin: 0 auto;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-121-html&#34;&gt;Listing 12.1 HTML&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;styles.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;header&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;/header&amp;gt;&#xA;    &amp;lt;nav&amp;gt;&#xA;    &#x9;&amp;lt;ul&amp;gt;&#xA;        &#x9;&amp;lt;li&amp;gt;Home&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Products&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Services&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Support&amp;lt;/li&amp;gt;&#xA;       &amp;lt;/ul&amp;gt;&#xA;    &amp;lt;/nav&amp;gt;&#xA;    &amp;lt;article&amp;gt;&#xA;      &amp;lt;h3&amp;gt;What is a Dandelion?&amp;lt;/h3&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in the&#xA;      family Asteraceae. They are native to Eurasia and North and South America,&#xA;      and two species, T. officinale and T. erythrospermum, are found as weeds&#xA;      worldwide. Both species are edible in their entirety. The common name&#xA;      &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French dent-de-lion,&#xA;      meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other&#xA;      members of the Asteraceae family, they have very small flowers collected&#xA;      together into a composite flower head. Each single flower in a head is&#xA;      called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually&#xA;      by apomixis, where the seeds are produced without pollination, resulting&#xA;      in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/article&amp;gt;&#xA;    &amp;lt;aside&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/aside&amp;gt;&#xA;    &amp;lt;footer&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-122&#34;&gt;Listing 12.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;&#xA;body { background-color: #dfdfdf; }&#xA;#main { &#xA;&#x9;width: 960px;&#xA;&#x9;background-color: #fff;&#xA;&#x9;margin: 0 auto;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-123&#34;&gt;Listing 12.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;&#xA;body { background-color: #dfdfdf; }&#xA;#main { &#xA;&#x9;width: 80%;&#xA;&#x9;background-color: #fff;&#xA;&#x9;margin: 0 auto;&#xA;}&#xA;article {&#xA;&#x9;width: 50%;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-124&#34;&gt;Listing 12.4&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;html, body { margin: 0; padding: 0; border: 0; }&#xA;body { background-color: #dfdfdf; }&#xA;#main { &#xA;&#x9;width: 100%;&#xA;&#x9;background-color: #fff;&#xA;&#x9;margin: 0 auto;&#xA;}&#xA;header, article, aside, footer, nav {&#xA;&#x9;width: 100%;&#xA;}&#xA;nav ul, nav ul li { &#xA;&#x9;display: block; &#xA;&#x9;list-style-type: none; &#xA;&#x9;padding: 0; &#xA;&#x9;margin: 0; &#xA;}&#xA;&#xA;nav ul li {&#xA;&#x9;background-color: black;&#xA;&#x9;color: white;&#xA;&#x9;padding: 2% 1%;&#xA;&#x9;border: 1px solid #DFDFDF;&#xA;}&#xA;&#xA;@media screen and (min-width: 481px) {&#xA;&#x9;nav ul { &#xA;&#x9;&#x9;background-color: #000;&#xA;&#x9;&#x9;padding: 2% 1%;&#xA;&#x9;}&#xA;&#x9;nav ul li { &#xA;&#x9;&#x9;width: 20%;&#xA;&#x9;&#x9;display: inline; &#xA;&#x9;&#x9;border: none;&#xA;&#x9;&#x9;border-right: 1px solid #dfdfdf;&#xA;&#x9;&#x9;padding-right: 2%;&#xA;&#x9;}&#xA;&#x9;article { width: 48%; float: left; }&#xA;&#x9;aside { width: 48%; float: right;  }&#xA;&#x9;aside img { width: 100%; height: auto; }&#xA;&#x9;footer { clear: both; }&#xA;}&#xA;@media screen and (min-width:481px) and  (max-width: 800px){&#xA;&#x9;#main { width: 90%; }&#xA;}&#xA;@media screen and (min-width: 801px){&#xA;&#x9;#main { width: 70%; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-125&#34;&gt;Listing 12.5&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;rwd code 12.6.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;header&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;/header&amp;gt;&#xA;    &amp;lt;nav&amp;gt;&#xA;    &#x9;&amp;lt;ul&amp;gt;&#xA;        &#x9;&amp;lt;li&amp;gt;Home&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Products&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Services&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Support&amp;lt;/li&amp;gt;&#xA;       &amp;lt;/ul&amp;gt;&#xA;    &amp;lt;/nav&amp;gt;&#xA;    &amp;lt;article&amp;gt;&#xA;      &amp;lt;h3&amp;gt;What is a Dandelion?&amp;lt;/h3&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in the&#xA;      family Asteraceae. They are native to Eurasia and North and South America,&#xA;      and two species, T. officinale and T. erythrospermum, are found as weeds&#xA;      worldwide. Both species are edible in their entirety. The common name&#xA;      &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French dent-de-lion,&#xA;      meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other&#xA;      members of the Asteraceae family, they have very small flowers collected&#xA;      together into a composite flower head. Each single flower in a head is&#xA;      called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually&#xA;      by apomixis, where the seeds are produced without pollination, resulting&#xA;      in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/article&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;col2&amp;#34;&amp;gt;&#xA;    &amp;lt;aside&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/aside&amp;gt;&#xA;    &amp;lt;footer&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-126&#34;&gt;Listing 12.6&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;&#xA;html, body { margin: 0; padding: 0; border: 0; }&#xA;body { background-color: #dfdfdf; }&#xA;#main { &#xA;&#x9;width: 100%;&#xA;&#x9;background-color: #fff;&#xA;&#x9;margin: 0 auto;&#xA;}&#xA;header, article, aside, footer, nav {&#xA;&#x9;width: 100%;&#xA;}&#xA;nav ul, nav ul li { &#xA;&#x9;display: block; &#xA;&#x9;list-style-type: none; &#xA;&#x9;padding: 0; &#xA;&#x9;margin: 0; &#xA;}&#xA;&#xA;nav ul li {&#xA;&#x9;background-color: black;&#xA;&#x9;color: white;&#xA;&#x9;padding: 2% 1%;&#xA;&#x9;border: 1px solid #DFDFDF;&#xA;}&#xA;&#xA;@media screen and (min-width: 481px) {&#xA;&#x9;nav ul { &#xA;&#x9;&#x9;background-color: #000;&#xA;&#x9;&#x9;padding: 2% 1%;&#xA;&#x9;}&#xA;&#x9;nav ul li { &#xA;&#x9;&#x9;width: 20%;&#xA;&#x9;&#x9;display: inline; &#xA;&#x9;&#x9;border: none;&#xA;&#x9;&#x9;border-right: 1px solid #dfdfdf;&#xA;&#x9;&#x9;padding-right: 2%;&#xA;&#x9;}&#xA;&#x9;article, aside { width: 48%; float: left; }&#xA;&#x9;#col2, footer { width: 48%; float: right;  }&#xA;&#x9;aside img { width: 100%; height: auto; }&#xA;}&#xA;@media screen and (min-width:481px) and  (max-width: 800px){&#xA;&#x9;#main { width: 90%; }&#xA;}&#xA;@media screen and (min-width: 801px){&#xA;&#x9;#main { width: 70%; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-127&#34;&gt;Listing 12.7&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* CSS Document \*/&#xA;&#xA;html, body { margin: 0; padding: 0; border: 0; }&#xA;body { background-color: #dfdfdf; }&#xA;#main { &#xA;&#x9;width: 100%;&#xA;&#x9;background-color: #fff;&#xA;&#x9;margin: 0 auto;&#xA;}&#xA;header, article, aside, footer, nav {&#xA;&#x9;width: 100%;&#xA;}&#xA;nav ul, nav ul li { &#xA;&#x9;display: block; &#xA;&#x9;list-style-type: none; &#xA;&#x9;padding: 0; &#xA;&#x9;margin: 0; &#xA;}&#xA;&#xA;nav ul li {&#xA;&#x9;background-color: black;&#xA;&#x9;color: white;&#xA;&#x9;padding: 2% 1%;&#xA;&#x9;border: 1px solid #DFDFDF;&#xA;}&#xA;&#xA;@media screen and (min-width: 481px) {&#xA;&#x9;nav ul { &#xA;&#x9;&#x9;background-color: #000;&#xA;&#x9;&#x9;padding: 2% 1%;&#xA;&#x9;}&#xA;&#x9;nav ul li { &#xA;&#x9;&#x9;width: 20%;&#xA;&#x9;&#x9;display: inline; &#xA;&#x9;&#x9;border: none;&#xA;&#x9;&#x9;border-right: 1px solid #dfdfdf;&#xA;&#x9;&#x9;padding-right: 2%;&#xA;&#x9;}&#xA;&#x9;article { width: 48%; float: left; }&#xA;&#x9;aside { width: 48%; float: right;  }&#xA;&#x9;aside img { width: 100%; height: auto; }&#xA;&#x9;footer { clear: both; }&#xA;&#x9;/\* columns \*/ &#xA;&#x9;article {&#xA;&#x9;&#x9;-moz-column-count: 2; &#xA;&#x9;&#x9;-webkit-column-count: 2; &#xA;&#x9;&#x9;column-count: 2;&#xA;&#x9;}&#xA;}&#xA;@media screen and (min-width:481px) and  (max-width: 800px){&#xA;&#x9;#main { width: 90%; }&#xA;}&#xA;@media screen and (min-width: 801px){&#xA;&#x9;#main { width: 70%; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-127-html&#34;&gt;Listing 12.7 HTML&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link href=&amp;#34;rwd code 12.7.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;header&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;/header&amp;gt;&#xA;    &amp;lt;nav&amp;gt;&#xA;    &#x9;&amp;lt;ul&amp;gt;&#xA;        &#x9;&amp;lt;li&amp;gt;Home&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Products&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Services&amp;lt;/li&amp;gt;&#xA;           &amp;lt;li&amp;gt;Support&amp;lt;/li&amp;gt;&#xA;       &amp;lt;/ul&amp;gt;&#xA;    &amp;lt;/nav&amp;gt;&#xA;    &amp;lt;article&amp;gt;&#xA;      &amp;lt;h3&amp;gt;What is a Dandelion?&amp;lt;/h3&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in the&#xA;      family Asteraceae. They are native to Eurasia and North and South America,&#xA;      and two species, T. officinale and T. erythrospermum, are found as weeds&#xA;      worldwide. Both species are edible in their entirety. The common name&#xA;      &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French dent-de-lion,&#xA;      meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other&#xA;      members of the Asteraceae family, they have very small flowers collected&#xA;      together into a composite flower head. Each single flower in a head is&#xA;      called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually&#xA;      by apomixis, where the seeds are produced without pollination, resulting&#xA;      in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/article&amp;gt;&#xA;    &amp;lt;aside&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/aside&amp;gt;&#xA;    &amp;lt;footer&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 11 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-11/</link>
      <pubDate>Thu, 01 Jan 2015 00:29:10 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-11/</guid><description>&lt;h2 id=&#34;listing-111-css&#34;&gt;Listing 11.1 CSS&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;@charset &amp;#34;UTF-8&amp;#34;;&#xA;&#xA;/\* styles for all browsers \*/&#xA;&#xA;/\* here you would put your browser resets and any styles &#xA;   you want to be on every version of the site&#xA;   Things like: colors, fonts, etc. \*/&#xA;&#xA;/\* you would then put in the styles specific to the smallest&#xA;   devices you will support. \*/&#xA;body {&#xA;&#x9;color: blue;&#xA;&#x9;font-family: &amp;#34;Handwriting - Dakota&amp;#34;, &amp;#34;Lucida Calligraphy Italic&amp;#34;, Papyrus;&#xA;}&#xA;&#xA;/\* First breakpoint browsers between 480 and 800px \*/&#xA;@media only screen and (min-width:480px) and (max-width:800px){&#xA;&#x9;/\* put only styles specific to these browsers in here \*/ &#xA;&#x9;body { color: red; }&#xA;}&#xA;&#xA;/\* Second breakpoint browsers bigger than 800px \*/&#xA;@media screen and (min-width:801px){&#xA;&#x9;/\* put only styles specific to the largest browsers in here \*/&#xA;&#x9;body { color: green; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-111-html&#34;&gt;Listing 11.1 HTML&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Listing 11.1&amp;lt;/title&amp;gt;&#xA;&amp;lt;style type=&amp;#34;text/css&amp;#34;&amp;gt;&#xA;body { &#xA;  color: blue; &#xA;  font-family: &amp;#34;Handwriting - Dakota&amp;#34;, &amp;#34;Lucida Calligraphy Italic&amp;#34;, Papyrus;&#xA;}&#xA;@media all and (min-width:480px) and (max-width:800px){&#xA;  body { color: red; }&#xA;}&#xA;@media screen and (min-width:801px){&#xA;  body { color: green; }&#xA;}&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;p&amp;gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam id purus nec &#xA;eros semper luctus. Proin nisl lectus, ullamcorper ultrices leo in, tristique &#xA;rutrum risus. Morbi congue diam tempor lorem semper, congue tempor turpis &#xA;pretium. Nunc eget dui ut lorem auctor ornare. Vivamus lectus purus, vehicula eu &#xA;velit eu, iaculis ultrices dui. Aliquam consectetur risus non ligula blandit, et &#xA;gravida lectus bibendum. Etiam laoreet luctus nibh. Nulla sit amet lorem quis &#xA;arcu accumsan mollis.&amp;lt;/p&amp;gt;&#xA;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-112-css&#34;&gt;Listing 11.2 CSS&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;@charset &amp;#34;UTF-8&amp;#34;;&#xA;&#xA;body { font-size: 62.5%; }&#xA;@font-face {&#xA;    font-family: &amp;#39;bitstream\_vera\_serifbold&amp;#39;;&#xA;    src: url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.eot&amp;#39;);&#xA;    src: url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.eot?#iefix&amp;#39;) format(&amp;#39;embedded-opentype&amp;#39;),&#xA;         url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.woff&amp;#39;) format(&amp;#39;woff&amp;#39;),&#xA;         url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.ttf&amp;#39;) format(&amp;#39;truetype&amp;#39;),&#xA;         url(&amp;#39;fonts/bitstreamveraserif\_bold\_macroman/VeraSerif-Bold-webfont.svg#bitstream\_vera\_serifbold&amp;#39;) format(&amp;#39;svg&amp;#39;);&#xA;    font-weight: normal;&#xA;    font-style: normal;&#xA;&#xA;}&#xA;&#xA;/\* resets &#xA;   http://meyerweb.com/eric/tools/css/reset/ &#xA;   v2.0 | 20110126&#xA;   License: none (public domain)&#xA;\*/&#xA;html, body, div, span, applet, object, iframe,&#xA;h1, h2, h3, h4, h5, h6, p, blockquote, pre,&#xA;a, abbr, acronym, address, big, cite, code,&#xA;del, dfn, em, img, ins, kbd, q, s, samp,&#xA;small, strike, strong, sub, sup, tt, var,&#xA;b, u, i, center,&#xA;dl, dt, dd, ol, ul, li,&#xA;fieldset, form, label, legend,&#xA;table, caption, tbody, tfoot, thead, tr, th, td,&#xA;article, aside, canvas, details, embed, &#xA;figure, figcaption, footer, header, hgroup, &#xA;menu, nav, output, ruby, section, summary,&#xA;time, mark, audio, video {&#xA;&#x9;margin: 0;&#xA;&#x9;padding: 0;&#xA;&#x9;border: 0;&#xA;&#x9;font-size: 100%;&#xA;&#x9;font: inherit;&#xA;&#x9;vertical-align: baseline;&#xA;}&#xA;/\* HTML5 display-role reset for older browsers \*/&#xA;article, aside, details, figcaption, figure, &#xA;footer, header, hgroup, menu, nav, section {&#xA;&#x9;display: block;&#xA;}&#xA;body {&#xA;&#x9;line-height: 1;&#xA;}&#xA;ol, ul {&#xA;&#x9;list-style: none;&#xA;}&#xA;blockquote, q {&#xA;&#x9;quotes: none;&#xA;}&#xA;blockquote:before, blockquote:after,&#xA;q:before, q:after {&#xA;&#x9;content: &amp;#39;&amp;#39;;&#xA;&#x9;content: none;&#xA;}&#xA;table {&#xA;&#x9;border-collapse: collapse;&#xA;&#x9;border-spacing: 0;&#xA;}&#xA;/\* ########end reset###########################\*/&#xA;&#xA;/\* standard colors \*/ &#xA;body { background-color: #fff; color: #000; }&#xA;h1, h2, nav, nav a { color: #fbd91f;  /\* yellow \*/ }&#xA;h3, h4, h5 { color #000; }&#xA;&#xA;/\* standard fonts \*/ &#xA;h1, h2, h3, nav, nav a {&#xA;&#x9;font-family: bitstream\_vera\_serifbold, Baskerville, &amp;#34;Palatino Linotype&amp;#34;, Palatino, &amp;#34;Times New Roman&amp;#34;, serif;&#x9;&#xA;}&#xA;h1 {&#xA;&#x9;text-shadow:2px 3px 3px #000000;&#xA;&#x9;-webkit-text-stroke: 1px black;&#xA;&#x9;margin-bottom: 0.5em;&#xA;}&#xA;h2 {&#xA;&#x9;text-shadow: 2px 2px 0 rgba(0,0,0,.5);&#xA;&#x9;margin-bottom: 0.5em;&#xA;}&#xA;&#xA;/\* backgrounds \*/ &#xA;header {&#xA;&#x9;width: 100%;&#xA;&#x9;padding: 0.5em 0 3em 0.25em;&#x9;&#xA;&#x9;background-image: url(images/dandy-header-bg.png);&#xA;&#x9;background-repeat: no-repeat;&#xA;&#x9;background-size: cover;&#xA;&#x9;background-position: 0% 100%;&#xA;}&#xA;&#xA;/\* ######## mobile specific styles #################### \*/&#xA;/\* headlines \*/&#xA;h1 { font-size: 2em; }&#xA;h2 { font-size: 1.5em; }&#xA;&#xA;/\* navigation bar \*/&#xA;nav { width: 100%; background-color: #000; }&#xA;nav ul { padding-top: 0.15em; padding-bottom: 0.15em; }&#xA;nav ul li { margin: 0 0 0.5em 0.2em; }&#xA;&#xA;/\* article \*/&#xA;article { width: 100%; padding: 0.25em; }&#xA;article img { width: 100%; height: auto; }&#xA;&#xA;/\* aside \*/ &#xA;aside { width: 100%; }&#xA;aside img { width: 100%; height: auto; }&#xA;&#xA;/\* ######## medium sized devices ######## \*/&#xA;@media only screen and (min-width: 481px) and (max-width: 800px) {&#xA;&#xA;}&#xA;&#xA;/\* ######## large sized devices ######## \*/&#xA;@media only screen and (min-width: 801px) {&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-112-html&#34;&gt;Listing 11.2 HTML&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;utf-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;&#x9;&amp;lt;link href=&amp;#34;rwd code 11.2.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34;&amp;gt;&#xA;    &amp;lt;meta name=&amp;#34;viewport&amp;#34; content=&amp;#34;width=device-width&amp;#34;&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;header&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;/header&amp;gt;&#xA;    &amp;lt;nav&amp;gt;&#xA;    &#x9;&amp;lt;ul&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a&amp;gt;Products&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a&amp;gt;Services&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;&amp;lt;a&amp;gt;Support&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;       &amp;lt;/ul&amp;gt;&#xA;    &amp;lt;/nav&amp;gt;&#xA;    &amp;lt;article&amp;gt;&#xA;      &amp;lt;h3&amp;gt;What is a Dandelion?&amp;lt;/h3&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in the&#xA;      family Asteraceae. They are native to Eurasia and North and South America,&#xA;      and two species, T. officinale and T. erythrospermum, are found as weeds&#xA;      worldwide. Both species are edible in their entirety. The common name&#xA;      &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French dent-de-lion,&#xA;      meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other&#xA;      members of the Asteraceae family, they have very small flowers collected&#xA;      together into a composite flower head. Each single flower in a head is&#xA;      called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually&#xA;      by apomixis, where the seeds are produced without pollination, resulting&#xA;      in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/article&amp;gt;&#xA;    &amp;lt;aside&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/aside&amp;gt;&#xA;    &amp;lt;footer&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-113&#34;&gt;Listing 11.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* ######## mobile specific styles ######## \*/&#xA;/\* headlines \*/&#xA;h1 { font-size: 2em; }&#xA;h2 { font-size: 1.5em; }&#xA;&#xA;/\* navigation bar \*/&#xA;nav { width: 100%; background-color: #000; }&#xA;nav ul { padding-top: 0.15em; padding-bottom: 0.15em; }&#xA;nav ul li { margin: 0 0 0.5em 0.2em; }&#xA;&#xA;/\* article \*/&#xA;article { width: 100%; padding: 0.25em; }&#xA;article img { width: 100%; height: auto; }&#xA;&#xA;/\* aside \*/ &#xA;aside { width: 100%; }&#xA;aside img { width: 100%; height: auto; }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-114&#34;&gt;Listing 11.4&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* ######## medium sized devices ######## \*/&#xA;@media only screen and (min-width: 481px) and (max-width: 800px) {&#xA;&#xA;}&#xA;&#xA;/\* ######## large sized devices ######## \*/&#xA;@media only screen and (min-width: 801px) {&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-115&#34;&gt;Listing 11.5&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;@charset &amp;#34;UTF-8&amp;#34;;&#xA;/\* ###### styles for all devices ###### \*/&#xA;&#xA;/\* ###### styles for devices &amp;lt;300px wide ###### \*/&#xA;&#xA;/\* ###### styles for devices 301-500px wide ###### \*/&#xA;@media screen and (min-width:301px) and (max-width:500px) { }&#xA;&#xA;/\* ###### styles for devices 501-1200px wide ###### \*/&#xA;@media screen and (min-width:501px) and (max-width:1200px) { }&#xA;&#xA;/\* ###### styles for devices &amp;gt;1201px wide ###### \*/&#xA;@media screen and (min-width:1201px) { }&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 6 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-6/</link>
      <pubDate>Wed, 31 Dec 2014 23:56:47 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-6/</guid><description>&lt;h2 id=&#34;listing-61&#34;&gt;Listing 6.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/\* universal selector \*/ &#xA;\* { &#xA;  font-size: 86%; &#xA;}&#xA;/\* element selector \*/&#xA;p { &#xA;  font-family: Baskerville, &amp;#34;Palatino Linotype&amp;#34;, Palatino, &amp;#34;Century Schoolbook L&amp;#34;, &amp;#34;Times New Roman&amp;#34;, serif; &#xA;}&#xA;/\* id selector \*/ &#xA;#main {&#xA;  width: 80%;&#xA;  margin: 0 auto;&#xA;}&#xA;/\* class selector \*/&#xA;.alignright {&#xA;  float: right;&#xA;  margin-left: 1em;&#xA;}&#xA;/\* child selector \*/&#xA;div &amp;gt; h1 {&#xA;  font-family: &amp;#34;Lucida Grande&amp;#34;, &amp;#34;Lucida Sans Unicode&amp;#34;, &amp;#34;Lucida Sans&amp;#34;, &amp;#34;DejaVu Sans&amp;#34;, Verdana, sans-serif;&#xA;}&#xA;/\* descendant selector \*/&#xA;p &amp;gt; .bold {&#xA;  font-weight: bold;&#xA;}&#xA;/\* pseudo-class selectors \*/ &#xA;a:link { color: blue; }&#xA;a:visited { color: gray; }&#xA;a:hover { color: red; }&#xA;a:active { color: pink; }&#xA;/\* attribute selector \*/ &#xA;a\[title\] {&#xA;  background-color: #dfdfdf;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-62&#34;&gt;Listing 6.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;style&amp;gt;&#xA;  /\* universal selector \*/ &#xA;  \* { &#xA;    font-size: 86%; &#xA;  }&#xA;  /\* element selector \*/&#xA;  p { &#xA;    font-family: Baskerville, &amp;#34;Palatino Linotype&amp;#34;, Palatino,&#xA;  \[ic:ccc\]&amp;#34;Century Schoolbook L&amp;#34;, &amp;#34;Times New Roman&amp;#34;, serif; &#xA;  }&#xA;  /\* id selector \*/ &#xA;  #main {&#xA;    width: 80%;&#xA;    margin: 0 auto;&#xA;  }&#xA;  /\* class selector \*/&#xA;  .alignright {&#xA;    float: right;&#xA;    margin-left: 1em;&#xA;  }&#xA;  /\* child selector \*/&#xA;  div &amp;gt; h1 {&#xA;    font-family: &amp;#34;Lucida Grande&amp;#34;, &amp;#34;Lucida Sans Unicode&amp;#34;, &amp;#34;Lucida Sans&amp;#34;,&#xA;  \[ic:ccc\]&amp;#34;DejaVu Sans&amp;#34;, Verdana, sans-serif;&#xA;  }&#xA;  /\* descendant selector \*/&#xA;  p &amp;gt; .bold {&#xA;    font-weight: bold;&#xA;  }&#xA;  /\* pseudo-class selectors \*/ &#xA;  a:link { color: blue; }&#xA;  a:visited { color: gray; }&#xA;  a:hover { color: red; }&#xA;  a:active { color: pink; }&#xA;  /\* attribute selector \*/ &#xA;  a\[title\] {&#xA;    background-color: #dfdfdf;&#xA;  }&#xA;&amp;lt;/style&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-63&#34;&gt;Listing 6.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;body { font-size: 62.5%; }&#xA;p { &#xA;  font-size: 1.4em;&#xA;  font-family: &amp;#34;Lucida Grande&amp;#34;, &amp;#34;Lucida Sans Unicode&amp;#34;, &amp;#34;Lucida Sans&amp;#34;, &amp;#34;DejaVu Sans&amp;#34;, Verdana, sans-serif;&#xA;}&#xA;h1, h2, h3 {&#xA;  font-family: Impact, Haettenschweiler, &amp;#34;Franklin Gothic Bold&amp;#34;, &amp;#34;Arial Black&amp;#34;, sans-serif;&#xA;}&#xA;h1 { font-size: 2.4em; }&#xA;h2 { font-size: 2.0em; }&#xA;h3 { font-size: 1.8em; }&#xA;em { font-style: italic; }&#xA;strong { font-weight: bold; }&#xA;.pronounce { color: #767703; }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-64-css&#34;&gt;Listing 6.4 CSS&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;body { font-size: 62.5%; }&#xA;p { &#xA;  font-size: 1.4em;&#xA;  font-family: &amp;#34;Lucida Grande&amp;#34;, &amp;#34;Lucida Sans Unicode&amp;#34;, &amp;#34;Lucida Sans&amp;#34;, &amp;#34;DejaVu Sans&amp;#34;, Verdana, sans-serif;&#xA;  margin: 0px auto 0.25em auto;&#xA;}&#xA;h1, h2, h3 {&#xA;  font-family: Impact, Haettenschweiler, &amp;#34;Franklin Gothic Bold&amp;#34;, &amp;#34;Arial Black&amp;#34;, sans-serif;&#xA;}&#xA;h1 { font-size: 2.4em; margin: 0px auto 1em 0px; }&#xA;h2 { font-size: 2.0em; margin: 0px auto 0.4em 2em; }&#xA;h3 { font-size: 1.8em; }&#xA;em { font-style: italic; }&#xA;strong { font-weight: bold; }&#xA;.pronounce { color: #767703; }&#xA;header { width: 100%; }&#xA;article { &#xA;  width: 65%; &#xA;  float: left; &#xA;}&#xA;aside { &#xA;  width: 25%; &#xA;  float: right; &#xA;}&#xA;aside img { &#xA;  width: 100%; &#xA;  height: auto; &#xA;}&#xA;footer { &#xA;  width: 100%; &#xA;  clear: both; &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-64-html&#34;&gt;Listing 6.4 HTML&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link rel=&amp;#34;stylesheet&amp;#34; href=&amp;#34;styles.css&amp;#34;&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;header&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;/header&amp;gt;&#xA;    &amp;lt;article&amp;gt;&#xA;      &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in the&#xA;      family Asteraceae. They are native to Eurasia and North and South America,&#xA;      and two species, T. officinale and T. erythrospermum, are found as weeds&#xA;      worldwide. Both species are edible in their entirety. The common name&#xA;      &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French dent-de-lion,&#xA;      meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other&#xA;      members of the Asteraceae family, they have very small flowers collected&#xA;      together into a composite flower head. Each single flower in a head is&#xA;      called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually&#xA;      by apomixis, where the seeds are produced without pollination, resulting&#xA;      in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/article&amp;gt;&#xA;    &amp;lt;aside&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/aside&amp;gt;&#xA;    &amp;lt;footer&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 5 Code Samples - Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-5/</link>
      <pubDate>Wed, 31 Dec 2014 23:43:01 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-5/</guid><description>&lt;h2 id=&#34;listing-51&#34;&gt;Listing 5.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-52&#34;&gt;Listing 5.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;&amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt; &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt; is a large genus&#xA;of flowering plants in the family Asteraceae. They are native to Eurasia and&#xA;North and South America, and two species, T. officinale and T. erythrospermum,&#xA;are found as weeds worldwide. Both species are edible in their entirety. The&#xA;common name &amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt; (&amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt; dan-di-ly-ən,&#xA;from French dent-de-lion, meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the&#xA;genus, and like other members of the Asteraceae family, they have very small&#xA;flowers collected together into a composite flower head. Each single flower in&#xA;a head is called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds&#xA;asexually by apomixis, where the seeds are produced without pollination,&#xA;resulting in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;&amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;&amp;lt;p&amp;gt;Text from &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-53&#34;&gt;Listing 5.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;article&amp;#34;&amp;gt;&#xA;      &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt; &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt; is a large&#xA;      genus of flowering plants in the family Asteraceae. They are native to&#xA;      Eurasia and North and South America, and two species, T. officinale and&#xA;      T. erythrospermum, are found as weeds worldwide. Both species are edible&#xA;      in their entirety. The common name &amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      (&amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt; dan-di-ly-ən, from French dent-de-lion, meaning&#xA;      &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other members&#xA;      of the Asteraceae family, they have very small flowers collected together&#xA;      into a composite flower head. Each single flower in a head is called a&#xA;      floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually by&#xA;      apomixis, where the seeds are produced without pollination, resulting in&#xA;      offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;sidebar&amp;#34;&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;footer&amp;#34;&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-54&#34;&gt;Listing 5.4&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;article&amp;#34;&amp;gt;&#xA;      &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in the&#xA;      family Asteraceae. They are native to Eurasia and North and South America,&#xA;      and two species, T. officinale and T. erythrospermum, are found as weeds&#xA;      worldwide. Both species are edible in their entirety. The common name&#xA;      &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French dent-de-lion,&#xA;      meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other&#xA;      members of the Asteraceae family, they have very small flowers collected&#xA;      together into a composite flower head. Each single flower in a head is&#xA;      called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually&#xA;      by apomixis, where the seeds are produced without pollination, resulting&#xA;      in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;sidebar&amp;#34;&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;footer&amp;#34;&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-55&#34;&gt;Listing 5.5&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!DOCTYPE HTML PUBLIC &amp;#34;-//W3C//DTD HTML 4.01 Transitional//EN&amp;#34; &#xA;&amp;#34;http://www.w3.org/TR/html4/loose.dtd&amp;#34;&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta http-equiv=&amp;#34;Content-Type&amp;#34; Content=&amp;#34;text/html; charset=utf-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;article&amp;#34;&amp;gt;&#xA;      &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in the&#xA;      family Asteraceae. They are native to Eurasia and North and South America,&#xA;      and two species, T. officinale and T. erythrospermum, are found as weeds&#xA;      worldwide. Both species are edible in their entirety. The common name&#xA;      &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French dent-de-lion,&#xA;      meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other&#xA;      members of the Asteraceae family, they have very small flowers collected&#xA;      together into a composite flower head. Each single flower in a head is&#xA;      called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually&#xA;      by apomixis, where the seeds are produced without pollination, resulting&#xA;      in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;sidebar&amp;#34;&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;footer&amp;#34;&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-56&#34;&gt;Listing 5.6&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Dandylions&amp;lt;/title&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;div id=&amp;#34;main&amp;#34;&amp;gt;&#xA;    &amp;lt;header&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Dandylions&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;/header&amp;gt;&#xA;    &amp;lt;article&amp;gt;&#xA;      &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;      &amp;lt;p&amp;gt;&amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/təˈræksəkʉm/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; is a large genus of flowering plants in the&#xA;      family Asteraceae. They are native to Eurasia and North and South America,&#xA;      and two species, T. officinale and T. erythrospermum, are found as weeds&#xA;      worldwide. Both species are edible in their entirety. The common name&#xA;      &amp;lt;span class=&amp;#34;pronounce&amp;#34;&amp;gt;&amp;lt;strong&amp;gt;dandelion&amp;lt;/strong&amp;gt;&#xA;      &amp;lt;em&amp;gt;/ˈdændɨlaɪ.ən/&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt; (dan-di-ly-ən, from French dent-de-lion,&#xA;      meaning &amp;#34;lion&amp;#39;s tooth&amp;#34;) is given to members of the genus, and like other&#xA;      members of the Asteraceae family, they have very small flowers collected&#xA;      together into a composite flower head. Each single flower in a head is&#xA;      called a floret. Many &amp;lt;em&amp;gt;Taraxacum&amp;lt;/em&amp;gt; species produce seeds asexually&#xA;      by apomixis, where the seeds are produced without pollination, resulting&#xA;      in offspring that are genetically identical to the parent plant.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/article&amp;gt;&#xA;    &amp;lt;aside&amp;gt;&#xA;      &amp;lt;img src=&amp;#34;images/dandy.jpg&amp;#34; width=&amp;#34;400&amp;#34; height=&amp;#34;300&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;&#xA;    &amp;lt;/aside&amp;gt;&#xA;    &amp;lt;footer&amp;gt;&#xA;      &amp;lt;p&amp;gt;Text from &#xA;      &amp;lt;a href=&amp;#34;http://en.wikipedia.org/wiki/Dandelion&amp;#34;&amp;gt;Wikipedia&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 2 Code Samples – Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-2/</link>
      <pubDate>Wed, 31 Dec 2014 23:25:54 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-2/</guid><description>&lt;h1 id=&#34;hour-2-code-samples&#34;&gt;Hour 2 Code Samples&lt;/h1&gt;&#xA;&lt;h2 id=&#34;listing-21&#34;&gt;Listing 2.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Basic Table for a Layout&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;table border=&amp;#34;1&amp;#34;&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;&amp;lt;/table&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-22&#34;&gt;Listing 2.2&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Basic Table for a Layout&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;table role=&amp;#34;presentation&amp;#34; style=&amp;#34;width: 100%&amp;#34; border=&amp;#34;1&amp;#34;&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td colspan=&amp;#34;3&amp;#34;&amp;gt;Dandylions!&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td rowspan=&amp;#34;3&amp;#34;&amp;gt;Big Dandelion Pic&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td colspan=&amp;#34;3&amp;#34;&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td colspan=&amp;#34;4&amp;#34;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td colspan=&amp;#34;4&amp;#34;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td rowspan=&amp;#34;3&amp;#34;&amp;gt;Seeded Dandelion Pic&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td colspan=&amp;#34;4&amp;#34;&amp;gt;Navigation links&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td colspan=&amp;#34;2&amp;#34; rowspan=&amp;#34;3&amp;#34;&amp;gt;Column 1&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td rowspan=&amp;#34;3&amp;#34;&amp;gt;Column 2&amp;lt;/td&amp;gt;&#xA;        &amp;lt;td rowspan=&amp;#34;3&amp;#34;&amp;gt;Column 3&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;Smaller Dandelion Pic&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;    &amp;lt;tr&amp;gt;&#xA;        &amp;lt;td&amp;gt;Field of Dandelions Pic&amp;lt;/td&amp;gt;&#xA;    &amp;lt;/tr&amp;gt;&#xA;&amp;lt;/table&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-23&#34;&gt;Listing 2.3&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Using Absolute Positioning&amp;lt;/title&amp;gt;&#xA;&amp;lt;link href=&amp;#34;rwd code 2.4.css&amp;#34; rel=&amp;#34;stylesheet&amp;#34; type=&amp;#34;text/css&amp;#34;&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;header id=&amp;#34;banner&amp;#34;&amp;gt;&#xA;  &amp;lt;h1&amp;gt;Dandylions!&amp;lt;/h1&amp;gt;&#xA;  &amp;lt;h2&amp;gt;Not Your Mother&amp;#39;s Weed&amp;lt;/h2&amp;gt;&#xA;&amp;lt;/header&amp;gt;&#xA;&amp;lt;nav&amp;gt;&#xA;Navigation Links&#xA;&amp;lt;/nav&amp;gt;&#xA;&amp;lt;article id=&amp;#34;column1&amp;#34;&amp;gt;column 1&#xA;&amp;lt;/article&amp;gt;&#xA;&amp;lt;article id=&amp;#34;column2&amp;#34;&amp;gt;column 2&#xA;&amp;lt;/article&amp;gt;&#xA;&amp;lt;aside id=&amp;#34;column3&amp;#34;&amp;gt;column 3&#xA;&amp;lt;/aside&amp;gt;&#xA;&amp;lt;aside id=&amp;#34;rightcol&amp;#34;&amp;gt;&#xA;  &amp;lt;div id=&amp;#34;bigflower&amp;#34;&amp;gt;big flower&amp;lt;/div&amp;gt;&#xA;  &amp;lt;div id=&amp;#34;seededflower&amp;#34;&amp;gt;seeded flower&amp;lt;/div&amp;gt;&#xA;  &amp;lt;div id=&amp;#34;closeup&amp;#34;&amp;gt;close up flower&amp;lt;/div&amp;gt;&#xA;  &amp;lt;div id=&amp;#34;field&amp;#34;&amp;gt;field&amp;lt;/div&amp;gt;&#xA;&amp;lt;/aside&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-24&#34;&gt;Listing 2.4&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;@charset &amp;#34;UTF-8&amp;#34;;&#xA;&#xA;div, header, nav, article, aside { border: solid 1px black; }&#xA;&#xA;#banner {&#xA;    width: 1200px;&#xA;    height: 500px;&#xA;    position: absolute;&#xA;    top: 0px;&#xA;    left: 0px;&#xA;}&#xA;h1 {&#xA;    position: relative;&#xA;    top: 24px;&#xA;    left: 7px;&#xA;}&#xA;h2 {&#xA;    position: relative; &#xA;    top: 24px;&#xA;    left: 201px;&#xA;}&#xA;nav {&#xA;    width: 1200px;&#xA;    height: 45px;&#xA;    position: absolute;&#xA;    top: 500px;&#xA;    left: 0px;&#xA;}&#xA;#column1 {&#xA;    width: 412px;&#xA;    min-height: 700px;&#xA;    position: absolute;&#xA;    top: 545px;&#xA;    left: 0px;&#xA;}&#xA;#column2 {&#xA;    width: 466px;&#xA;    min-height: 700px;&#xA;    position: absolute; &#xA;    top: 545px;&#xA;    left: 412px;&#xA;}&#xA;#column3 {&#xA;    width: 322px;&#xA;    min-height: 700px;&#xA;    position: absolute;&#xA;    top: 545px;&#xA;    left: 878px;&#xA;}&#xA;#rightcol {&#xA;    width: 400px;&#xA;    min-height: 1312px;&#xA;    position: absolute;&#xA;    top: 0px;&#xA;    left: 1200px;&#xA;}&#xA;#bigflower, #seededflower, #closeup, #field {&#xA;    width: 400px;&#xA;    height: 328px;&#xA;    position: relative;&#xA;    top: 0px;&#xA;    left: 0px;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-25&#34;&gt;Listing 2.5&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;CSS 3 Columns&amp;lt;/title&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;#columns {&#xA;    width: 100%;&#xA;    background-color: #BBF0F9;&#xA;    -moz-column-count: 4;&#xA;    -webkit-column-count: 4;&#xA;    column-count: 4;&#xA;    -moz-column-rule: 4px dashed blue;&#xA;    -webkit-column-rule: 4px dashed blue;&#xA;    column-rule: 4px dashed blue;&#xA;}&#xA;div h1 {&#xA;    color: blue;&#xA;    font-size:x-large;&#xA;    -moz-column-span: all;&#xA;    -webkit-column-span: all; &#xA;    column-span: all;&#xA;}&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;div id=&amp;#34;columns&amp;#34;&amp;gt;&#xA;    &amp;lt;h1&amp;gt;This Headline Spans The Columns&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;p&amp;gt;Proin quis ultrices ipsum, ut molestie leo. Donec condimentum erat nulla, at cursus leo rhoncus non. Etiam dui quam, laoreet quis tristique et, facilisis id risus. Curabitur sit amet nisi ante. Integer a nisl sapien. Curabitur accumsan nibh eu suscipit varius. Donec posuere tortor vitae magna fermentum scelerisque. Curabitur at odio nunc. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;p&amp;gt;Quisque ac urna id nisl vehicula iaculis. Nam turpis libero, pulvinar faucibus quam suscipit, fringilla semper mi. Quisque molestie cursus tortor, non ullamcorper metus accumsan vitae. Maecenas ultricies, augue et blandit sodales, massa nulla mollis enim, vitae mattis ligula nulla eget tortor. Vestibulum nisi enim, lobortis sit amet suscipit nec, hendrerit sed est. Nunc lobortis nisi sit amet adipiscing facilisis. Nullam porta, mauris a molestie commodo, tellus tortor ultricies tellus, in elementum purus odio ultricies diam. Mauris ipsum turpis, convallis at ullamcorper quis, mattis consectetur est. Fusce lobortis vel dolor vitae semper. Mauris metus nulla, consectetur in egestas eget, consequat non lectus. Mauris quis elit elit. Mauris at porta velit.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;p&amp;gt;Aliquam sodales volutpat turpis, laoreet ultricies dolor egestas nec. Vestibulum vitae tortor massa. Maecenas ultrices consectetur adipiscing. Sed a felis pretium, pulvinar risus sed, venenatis nunc. Nunc egestas purus sed quam accumsan vulputate. Ut elit velit, aliquet vel accumsan at, consequat vel tortor. Proin tincidunt augue a diam eleifend pulvinar. In sagittis massa non leo iaculis, nec pharetra arcu pretium. Phasellus a justo neque.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;p&amp;gt;Sed diam ligula, pharetra non tellus id, viverra vestibulum elit. Pellentesque non ante quam. Pellentesque auctor tortor non dolor pellentesque, vitae iaculis lectus aliquam. Duis cursus urna vitae tortor feugiat accumsan. Integer vitae interdum odio, vel faucibus dolor. Vestibulum eget congue mauris, et vehicula velit. Sed lacinia diam vitae sapien tristique tristique. Nulla quam lorem, convallis ac nisl at, feugiat porta turpis. Duis dignissim purus nisl, at congue leo luctus quis. Proin rhoncus porta molestie. Integer nec pharetra neque. Nulla volutpat nulla lacus, vitae scelerisque turpis elementum non. In posuere, ante eget tincidunt varius, turpis est fermentum erat, quis sollicitudin justo ligula ut erat. Nullam pharetra purus elit.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;p&amp;gt;Vivamus ultrices arcu et facilisis posuere. Vivamus vestibulum nulla vel turpis ornare laoreet. Nunc quis mollis metus. Nam interdum elit lorem, imperdiet porta neque pretium vel. Mauris tristique ligula sit amet sagittis venenatis. Mauris pretium tortor sed congue fermentum. Pellentesque sed augue urna. Cras at purus id lacus commodo vestibulum ut vel augue. Duis nisi sapien, congue ac velit ut, sagittis ornare elit. Vestibulum aliquet lorem eget mauris semper imperdiet quis eget leo. Vestibulum consectetur aliquet massa vitae facilisis.&amp;lt;/p&amp;gt;&#xA;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;listing-26&#34;&gt;Listing 2.6&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;if (window.applicationCache) {&#xA;    document.write(&amp;#34;Browser supports offline web apps&amp;#34;);&#xA;} else {&#xA;    document.write(&amp;#34;Browser does not support offline web apps&amp;#34;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Hour 1 Code Samples - Sams Teach Yourself Responsive Web Design in 24 Hours</title>
      <link>https://www.html5in24hours.com/code-samples/hour-1/</link>
      <pubDate>Wed, 31 Dec 2014 23:15:54 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/hour-1/</guid><description>&lt;h2 id=&#34;listing-11&#34;&gt;Listing 1.1&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta charset=&amp;#34;UTF-8&amp;#34;&amp;gt;&#xA;&amp;lt;title&amp;gt;Single Pixel GIF Trick Demonstrated&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;h1&amp;gt;Single Pixel GIF Trick Demonstrated &amp;lt;/h1&amp;gt;&#xA;    &amp;lt;p&amp;gt;Here is a simple page with two paragraphs (besides this one). The first paragraph uses a single-pixel transparent GIF to indent the first line. The second uses a single-pixel GIF that is not transparent to demonstrate the same technique. &amp;lt;/p&amp;gt;&#xA;    &amp;lt;p&amp;gt;&amp;lt;img src=&amp;#34;images/single-pixel-transparent.gif&amp;#34; width=&amp;#34;50&amp;#34; height=&amp;#34;1&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;p&amp;gt;&amp;lt;img src=&amp;#34;images/single-pixel.gif&amp;#34; width=&amp;#34;50&amp;#34; height=&amp;#34;1&amp;#34; alt=&amp;#34;&amp;#34;/&amp;gt;Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.&amp;lt;/p&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;hr&gt;&#xA;&lt;h3 id=&#34;comments&#34;&gt;Comments:&lt;/h3&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22doug.t.anderson@gmail.com%22&#34;&gt;Doug&lt;/a&gt; - Mar 5, 2015&lt;/p&gt;&#xA;&lt;p&gt;Should be able to download all the html and images instead of cutting and pasting considering the cost of the book. Speaking of images in your examples, where are they?&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.htmljenn.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Mar 0, 2015&lt;/p&gt;&#xA;&lt;p&gt;Most people have told me they prefer to copy and paste the HTML and CSS so they can more easily work with it. I will take your suggestion to make them downloadable under advisement. It&amp;rsquo;s a good idea, but I want to make sure I can do it effectively without causing other problems on my website. As for the images in the examples, those are copyrighted and not available for use. The idea is for you to use your own images and the images I used in the book are there so you can see how the HTML and CSS will look. Thanks for your feedback.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22lizmasoner@bellsouth.net%22&#34;&gt;Liz&lt;/a&gt; - Mar 0, 2015&lt;/p&gt;&#xA;&lt;p&gt;Cutting and pasting images is stealing dude. It is called copyright infringement and is a Federal law.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.htmljenn.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Mar 4, 2015&lt;/p&gt;&#xA;&lt;p&gt;I found out from my editor that if you register your copy of the book you can download the code samples from their site. The registration link is &lt;a href=&#34;http://informit.com/register&#34;&gt;http://informit.com/register&lt;/a&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://PatriceClarkson.com&#34; title=&#34;patrice@patriceclarkson.com&#34;&gt;Patrice Clarkson&lt;/a&gt; - May 5, 2015&lt;/p&gt;&#xA;&lt;p&gt;I went and registered my book but can&amp;rsquo;t see where I can download the code samples on their site. Please advise - Thanks!&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.htmljenn.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - May 0, 2015&lt;/p&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://www.html5in24hours.com/rwd-code/&#34;&gt;code samples are available here&lt;/a&gt; for reading and review.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://PatriceClarkson.com&#34; title=&#34;patrice@patriceclarkson.com&#34;&gt;Patrice Clarkson&lt;/a&gt; - May 1, 2015&lt;/p&gt;&#xA;&lt;p&gt;YES!!! Thank you :D&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://i-bdc.com&#34; title=&#34;dan@i-bdc.com&#34;&gt;Dan O&amp;rsquo;Shea&lt;/a&gt; - Jul 3, 2015&lt;/p&gt;&#xA;&lt;p&gt;I think the code samples is fine. I just bookmark, go to chapter, copy/paste into Dreamweaver, save the page and practice. Love the book, highlighted throughout and the TRY IT YOURSELF is extremely helpful.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.htmljenn.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Jul 0, 2015&lt;/p&gt;&#xA;&lt;p&gt;thanks Dan, I&amp;rsquo;m glad you find the book useful.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;</description>
    </item>
    <item>
      <title>Teach Yourself HTML5 in 24 Hours—Examples</title>
      <link>https://www.html5in24hours.com/code-samples/tyhtml5-examples/</link>
      <pubDate>Mon, 09 Jan 2012 21:07:17 +0000</pubDate>
      <guid>https://www.html5in24hours.com/code-samples/tyhtml5-examples/</guid><description>&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;&#xA;&lt;p&gt;Here are all the examples I’ve put up for the book, by hour.&lt;/p&gt;&#xA;&lt;h2 id=&#34;hour-1-improving-mobile-web-application-development-with-html5&#34;&gt;Hour 1: Improving Mobile Web Application Development with HTML5&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/nesting-tags.html&#34;&gt;Nesting Tags Correctly&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/first-html5-page.html&#34;&gt;First HTML5 Page&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-2-new-html5-tags-and-attributes-with-mobile-development&#34;&gt;Hour 2: New HTML5 Tags and Attributes with Mobile Development&lt;/h2&gt;&#xA;&lt;p&gt;All the tags discussed in this hour will have examples covered from their specific hours.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/new-global-attributes.html&#34;&gt;New HTML5 Global Attributes&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-3-styling-mobile-pages-with-css3&#34;&gt;Hour 3: Styling Mobile Pages with CSS3&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/simple-css.html&#34;&gt;Example of Embedded Styles&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/h1-example.html&#34;&gt;H1 Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/ugly-headline.html&#34;&gt;H1 Headlines are Ugly&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/simple-layout.html&#34;&gt;Simple Layout with CSS&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/rounded-corners-examples.html&#34;&gt;CSS3 Rounded Corners Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-4-detecting-mobile-devices-and-html5-support&#34;&gt;Hour 4: Detecting Mobile Devices and HTML5 Support&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/detection-examples.html&#34;&gt;Detect HTML5 Features&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-5-javascript-and-html5-web-applications&#34;&gt;Hour 5: JavaScript and HTML5 Web Applications&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/hello-world.html&#34;&gt;JavaScript Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/jquery-test.html&#34;&gt;jQuery Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/simple-javascript.html&#34;&gt;Simple JavaScript&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-6-building-a-mobile-web-application&#34;&gt;Hour 6: Building a Mobile Web Application&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/click-to-talk-test.html&#34;&gt;Click to Call&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-7-upgrading-a-site-to-html5&#34;&gt;Hour 7: Upgrading a Site to HTML5&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/speech-input-example.html&#34;&gt;Speech Input Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-8-converting-web-apps-to-mobile&#34;&gt;Hour 8: Converting Web Apps to Mobile&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/headline-demo.html&#34;&gt;Headlines on a Mobile Site&lt;/a&gt; (try viewing on a small device as well as a desktop)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-9-adding-meaning-with-html5-sectioning-and-semantic-elements&#34;&gt;Hour 9: Adding Meaning with HTML5 Sectioning and Semantic Elements&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/sectioning-blog-example.html&#34;&gt;Sectioning Elements Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-10-drawing-with-the-html5-canvas-element&#34;&gt;Hour 10: Drawing with the HTML5 Canvas Element&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/canvas-examples.html&#34;&gt;Canvas Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-11-fonts-and-typography-in-html5&#34;&gt;Hour 11: Fonts and Typography in HTML5&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/typography-basics.html&#34;&gt;Typography Basics Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/woff-examples.html&#34;&gt;Typography—WOFF Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/hyphens-examples.html&#34;&gt;Typography—Hyphenation&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-12-audio-and-video-in-html5&#34;&gt;Hour 12: Audio and Video in HTML5&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/media-examples.html&#34;&gt;Audio and Video Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-13-html5-forms&#34;&gt;Hour 13: HTML5 Forms&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/form-examples.html&#34;&gt;HTML5 Form Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/contact-and-survey.html&#34;&gt;Forms—Contact Form / Survey&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-14-editing-content-and-user-interaction-with-html5&#34;&gt;Hour 14: Editing Content and User Interaction with HTML5&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/contenteditable-examples.html&#34;&gt;ContentEditable—Editor&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/spellcheck-examples.html&#34;&gt;Spellcheck Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/hidden-examples.html&#34;&gt;Hidden Attribute Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/ui-examples.html&#34;&gt;HTML5 UI Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-15-microformats-and-microdata&#34;&gt;Hour 15: Microformats and Microdata&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/microformats-examples.html&#34;&gt;Microformats and Microdata Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-16-working-with-html5-drag-and-drop-functionality&#34;&gt;Hour 16: Working with HTML5 Drag-and-Drop Functionality&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/drag-and-drop-examples.html&#34;&gt;Drag and Drop Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-17-html5-links&#34;&gt;Hour 17: HTML5 Links&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/links-examples.html&#34;&gt;HTML5 Links Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/simple-frame.html&#34;&gt;Simple Frame to Show Browsing Contexts&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-18-web-application-apis-and-datasets&#34;&gt;Hour 18: Web Application APIs and Datasets&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/modaldialog-examples.html&#34;&gt;Modal Dialog Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/datasets-examples.html&#34;&gt;Datasets—New HTML5 Elements&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/onclick-events-conversion.html&#34;&gt;OnClick Events Conversion for iOS&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/timer-example.html&#34;&gt;Web Application Timer API Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/simple-prompts-examples.html&#34;&gt;Simple Prompts&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/printing-examples.html&#34;&gt;Printing Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/system-information-examples.html&#34;&gt;System Information&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-19-websockets-web-workers-and-files&#34;&gt;Hour 19: WebSockets, Web Workers, and Files&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/web-workers-examples.html&#34;&gt;Web Workers Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/file-api-example.html&#34;&gt;File API Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-20-offline-web-applications&#34;&gt;Hour 20: Offline Web Applications&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/offline-web-applications-example.html&#34;&gt;Offline Web Applications Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-21-web-storage-in-html5&#34;&gt;Hour 21: Web Storage in HTML5&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/to-do-list-1.html&#34;&gt;Local Storage To Do List Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/web-storage-example.html&#34;&gt;Web Storage Example&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/birthday-list.html&#34;&gt;Web Storage—Birthday List App&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-22-controlling-the-browser-history-with-the-history-api&#34;&gt;Hour 22: Controlling the Browser History with the History API&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/history-api-examples.html&#34;&gt;History API Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-23-adding-location-detection-with-geolocation&#34;&gt;Hour 23: Adding Location Detection with GeoLocation&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/geolocation-examples.html&#34;&gt;GeoLocation Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;hour-24-converting-html5-apps-to-native-apps&#34;&gt;Hour 24: Converting HTML5 Apps to Native Apps&lt;/h2&gt;&#xA;&lt;h2 id=&#34;no-examples-for-this-hour&#34;&gt;No examples for this hour.&lt;/h2&gt;&#xA;&lt;h3 id=&#34;comments&#34;&gt;Comments:&lt;/h3&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22kgoldrunner@yahoo.com%22&#34;&gt;Kevin&lt;/a&gt; - Apr 2, 2014&lt;/p&gt;&#xA;&lt;p&gt;Hi Jennifer, I am a middle-aged traditional software developer (VB,C#,etc&amp;hellip;) of about 20 years, who has returned to graduate school. Before returning to school, I had done very little &amp;ldquo;web/html&amp;rdquo; development - worked on one project using Microsoft&amp;rsquo;s active server pages; and created a few web services for intranet usage. Upon reading about the new features of HTML5, I purchased your book &amp;lsquo;HTML5 Mobile Application Development&amp;rsquo; over the winter break 2012/2013 since HTML5 seemed to address issues of cross-platform mobile development. So my first attempt of a small app was for a class project last spring, in which I built a simple prototype consisting of a series of html pages that referenced each other - again very simple. Now this semester, I have designed a more complex application prototype in which I am utilizing a few more features of HTML5 and javascript but still very simple. One of the features I do like about this type of development is the ease development in a local environment - code, save local, then open from a local browser(Chrome in my case). But I have hit a snag trying to get cookies to work, or at least being able to fully test by only opening the html file on my local computer - which is currently running Windows Vista Home. From the Hour 5 examples from &lt;a href=&#34;https://www.html5in24hours.com/the-book/examples/&#34;&gt;www.html5in24hours.com/the-book/examples/&lt;/a&gt;, I have copied the entire content of the Simple JavaScript example and pasted in my own html document, then using Chrome on my computer I simply open the html document from my harddrive. All of the other features work as they work when executed from your site except checkCookie() which the alert() returns &amp;ldquo;Cookie is: null&amp;rdquo;. I think my account is locked at my website from school so I haven&amp;rsquo;t been able to upload my copy of your example to my website to see if the code will work once executed from an actual webserver instead from my harddrive, so can you tell me what component is not working? The feature I need to do is save a value in one html page then be able to access that value from another page. Since I don&amp;rsquo;t think I can use the get/post methods between html pages saved on my local harddrive, or at least I wasn&amp;rsquo;t able to get get/post to work testing locally from harddrive to browser, I thought the simplest thing to try was using a cookie. I guess the next step is to try using web storage? Thank you for any help you can provide. Debugging has been one of the more frustrating tasks so far in html5 development since no real error messages are returned.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Apr 4, 2014&lt;/p&gt;&#xA;&lt;p&gt;Cookies don&amp;rsquo;t always work on local pages, so to test them, you&amp;rsquo;ll need to upload your pages to a web server. If it still doesn&amp;rsquo;t work on the web server, then the problem may be the amount of data you want to store. Most browsers only support around 4900 bytes in a cookie. If you need more than that then you&amp;rsquo;ll have to use web storage. Debugging is difficult. The best solution I can offer is to add alert messages into your JavaScript. When I&amp;rsquo;m testing I will often pop up multiple alerts that just have text saying where it is in the script execution, just so I can see what&amp;rsquo;s happening. Good luck!&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;</description>
    </item>
  </channel>
</rss>
