Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding id tags for section referencing on every entry div

  • Loading branch information...
commit 6f499bc78b4be1ef8bf64ad3f05433d2546a8710 1 parent d6746c8
carlosdavis authored
Showing with 41 additions and 41 deletions.
  1. +41 −41 index.html
View
82 index.html
@@ -33,11 +33,11 @@
<div id="mainContainer">
- <h1>Accessibility</h1>
+ <h1 id="accessiblitySection">Accessibility</h1>
- <div class="entry">
+ <div id="accessibilityDoctype" class="entry">
<h2>What's Up, DOCTYPE?</h2>
<p>
@@ -63,7 +63,7 @@
- <div class="entry">
+ <div id="accessibilitySemanticMarkup" class="entry">
<h2>Write Valid Semantic Markup</h2>
<p>
@@ -98,7 +98,7 @@
- <div class="entry">
+ <div id="accessibilityMicroformats" class="entry">
<h2>Use Microformats</h2>
<p>
@@ -125,7 +125,7 @@
- <div class="entry">
+ <div id="accessibilityAltText" class="entry">
<h2>Images Need &lsquo;Alt&rsquo; Text</h2>
<p>
@@ -151,7 +151,7 @@
- <div class="entry">
+ <div id="accessibilityTables" class="entry">
<h2>Use Tables for Tabular Data Only</h2>
<p>
@@ -187,7 +187,7 @@
- <div class="entry">
+ <div id="accessibilityJqueryWidgets" class="entry">
<h2>Use jQuery &amp; jQuery UI Widgets</h2>
<p>
@@ -204,11 +204,11 @@
- <h1>JavaScript</h1>
+ <h1 id="javascriptSection">JavaScript</h1>
- <div class="entry">
+ <div id="javascriptWhitespace" class="entry">
<h2>Whitespacing &amp; Formatting</h2>
<p>
@@ -273,7 +273,7 @@
- <div class="entry">
+ <div id="javascriptCommenting" class="entry">
<h2>Commenting</h2>
<p>
@@ -301,7 +301,7 @@
</div>
- <div class="entry">
+ <div id="javascriptComparison" class="entry">
<h2>Always Use === Comparison</h2>
<p>
@@ -341,7 +341,7 @@
- <div class="entry">
+ <div id="javascriptParseInt" class="entry">
<h2>Always Specify the Second &lsquo;radix&rsquo; Parameter When Using .parseInt()</h2>
<p>
@@ -363,7 +363,7 @@
- <div class="entry">
+ <div id="javascriptTrueFalse" class="entry">
<h2>Avoid Comparing to true and false</h2>
<p>
@@ -392,7 +392,7 @@
- <div class="entry">
+ <div id="javascriptGlobalNamespace" class="entry">
<h2>Avoid Polluting the Global Namespace</h2>
<p>
@@ -449,7 +449,7 @@
- <div class="entry">
+ <div id="javascriptCamelCase" class="entry">
<h2>Camel Case Variables</h2>
<p>
@@ -469,7 +469,7 @@
- <div class="entry">
+ <div id="javascriptMilliseconds" class="entry">
<h2>Readable Milliseconds</h2>
<p>
@@ -492,7 +492,7 @@
- <div class="entry">
+ <div id="javascriptLoopCacheArrayLength" class="entry">
<h2>Loop Performance - Cache Array Length</h2>
<p>
@@ -525,7 +525,7 @@
- <div class="entry">
+ <div id="javascriptLoopBreakContinue" class="entry">
<h2>Loop Performance - Use &lsquo;break;&rsquo; &amp; &lsquo;continue;&rsquo;</h2>
<p>
@@ -569,7 +569,7 @@
- <div class="entry">
+ <div id="javascriptFunctionParameters" class="entry">
<h2>Don't Send Too Many Function Parameters</h2>
<p>
@@ -604,7 +604,7 @@
- <div class="entry">
+ <div id="javascriptRemapThis" class="entry">
<h2>Remap &lsquo;this&rsquo; to &lsquo;self&rsquo;</h2>
<p>
@@ -669,7 +669,7 @@
- <div class="entry">
+ <div id="javascriptBooleanNaming" class="entry">
<h2>CanIHaz Boolean?</h2>
<p>
@@ -694,7 +694,7 @@
- <div class="entry">
+ <div id="javascriptFeatureSniff" class="entry">
<h2>Feature Sniff, Don't Browser Sniff</h2>
<p>
@@ -748,7 +748,7 @@
- <h1>jQuery Specific</h1>
+ <h1 id="jquerySection">jQuery Specific</h1>
@@ -756,7 +756,7 @@
- <div class="entry">
+ <div id="jqueryChain" class="entry">
<h2>Chain Like a Sick Bitch</h2>
<p>
@@ -784,7 +784,7 @@
- <div class="entry">
+ <div id="jqueryStop" class="entry">
<h2>&lsquo;.stop()&rsquo; Collaborate &amp; Listen</h2>
<p>
@@ -823,7 +823,7 @@
- <div class="entry">
+ <div id="jqueryOptimiseSelectors" class="entry">
<h2>Optimise Your Selectors</h2>
<p>
@@ -890,7 +890,7 @@
- <div class="entry">
+ <div id="jqueryForEachLoops" class="entry">
<h2>A &lsquo;for&rsquo; Loop is Always Quicker Than a &lsquo;each()&rsquo; Loop</h2>
<p>
@@ -927,7 +927,7 @@
- <h1>CSS</h1>
+ <h1 id="cssSection">CSS</h1>
@@ -935,7 +935,7 @@
- <div class="entry">
+ <div id="cssWhitespacing" class="entry">
<h2>Whitespacing</h2>
<p>
@@ -1000,7 +1000,7 @@
- <div class="entry">
+ <div id="cssShorthand" class="entry">
<h2>CSS Shorthand</h2>
<h3>Grouping Properties</h3>
@@ -1051,7 +1051,7 @@
- <div class="entry">
+ <div id="cssClearingFloats" class="entry">
<h2>Clearing Floats</h2>
<p>
@@ -1091,7 +1091,7 @@
- <div class="entry">
+ <div id="cssFeatureSniff" class="entry">
<h2>Feature Sniff, Don't Browser Sniff</h2>
<p>
@@ -1121,7 +1121,7 @@
- <div class="entry">
+ <div id="cssImportant" class="entry">
<h2>You're Not !important</h2>
<p>
@@ -1151,7 +1151,7 @@
- <div class="entry">
+ <div id="cssDegradation" class="entry">
<h2>Aggressive Degradation</h2>
<p>
@@ -1185,7 +1185,7 @@
- <h1>CSS3 &amp; HTML5</h1>
+ <h1 id="cssHtmlSection">CSS3 &amp; HTML5</h1>
@@ -1193,7 +1193,7 @@
- <div class="entry">
+ <div id="cssHtmlFeatureSniff" class="entry">
<h2>Feature Sniff with Modernizr</h2>
<p>
@@ -1208,7 +1208,7 @@
- <div class="entry">
+ <div id="cssHtmlFontFace" class="entry">
<h2>@font-face Use and Abuse</h2>
<p>
@@ -1229,7 +1229,7 @@
- <div class="entry">
+ <div id="cssHtmlDegradation" class="entry">
<h2>Degradation</h2>
<p>
@@ -1256,7 +1256,7 @@
- <h1>Resources</h1>
+ <h1 id="resourcesSection">Resources</h1>
@@ -1264,7 +1264,7 @@
- <div class="entry">
+ <div id="resourcesSupport" class="entry">
<h2>Support and Suggestions</h2>
<p>
@@ -1322,7 +1322,7 @@
- <div class="entry">
+ <div id="resourcesSuggestions" class="entry">
<h2>Support and Suggestions</h2>
<p>
Please sign in to comment.
Something went wrong with that request. Please try again.