Files
Randell Dawson 1494a50123 fix(guide): restructure curriculum guide articles (#36501)
* fix: restructure certifications guide articles
* fix: added 3 dashes line before prob expl
* fix: added 3 dashes line before hints
* fix: added 3 dashes line before solutions
2019-07-24 13:29:27 +05:30

728 B

title
title
Make Links Navigatable with HTML Access Keys

Make Links Navigatable with HTML Access Keys


Solutions

Solution 1 (Click to Show/Hide)

Following the instructions: Add an accesskey attribute to both links and set the first one to "g" (for Garfield) and the second one to "c" (for Chuck Norris). the lines 8 and 16 become:

<h2><a id="first" accesskey="g" href="">The Garfield Files: Lasagna as Training Fuel?</a></h2>
<h2><a id="second" accesskey="c" href="">Is Chuck Norris a Cat Person?</a></h2>

In this way the links around the two blog article titles to have keyboard shortcuts so his site's users can quickly navigate to the full story.