Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

typically I like to just work through these things to get the best understanding

ID: 3554985 • Letter: T

Question

typically I like to just work through these things to get the best understanding possible. But I have been fiddling with what im sure is to be a very easy problem with some understanding for over 5 hours and I keep starting over because I'm just getting no where with it. All I'd like to know is how can I hide all of the articles listed in the HTML below besides the first one? My goal is to have the first article display with the links to the side, and when a link is clicked the article will change to the correct article. You will be one of my bestfriends if you can help.

JS and HTML answers can be posted in comments , or files can be emailed to my email is jakede1993@yahoo.com.

<!DOCTYPE html>
< html lang="en">

<head>
<meta charset="utf-8">
<title>Placeholders</title>
<link rel="stylesheet" href="index.css">
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
< script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
< script src="navigation.js"></script>
< /head>

<body>
<header>
<img src="images/town_hall_logo.gif" alt="Town Hall logo" height="80">
<hgroup>
<h1><a id="top">San Joaquin Valley Town Hall</a></h1>
< h2>Celebrating our <span class="shadow">75<sup>th</sup></span> Year</h2>
</hgroup>
</header>
<section>
<h1><a id="toobin">The Supreme Nine: Black Robed Secrets</a></h1>
<article>
<img src="images/toobin_court.jpg" alt="Jeffrey Toobin">
< h2>October<br>Jeffrey Toobin</h2>
<p>Author of the critically acclaimed best seller, The Nine: Inside the Secret World of the
Supreme Court, Jeffrey Toobin brings the inside story of one of America's most mysterious
and powerful institutions to the Saroyan stage. At the podium, Toobin is an unbiased, deeply
analytic expert on American law, politics and procedure and he provides a unique look into the
inner workings of the Supreme Court and its influence.</p>
<p>Inside the Secret World of the Supreme Court was published by Doubleday and spent more than
four months on the NY Times best-seller list, earning Toobin the 2008 J. Anthony Lukas Prize
for Nonfiction from the Columbia Graduate School of Journalism. Toobin has also written several
other best-selling books, including A Vast Conspiracy: The Real Story of the Sex Scandal that
Nearly Brought Down a President; The Run of His Life: The People vs. O.J. Simpson; and
Too Close to Call: The 36-Day Battle to Decide the 2000 Election.</p>
<p>Jeffrey Toobin joined CBB from ABC News, where, during his six-year tenure as a legal analyst,
he provided legal views on the nation's most provocative and high profile cases, including the O.J.
Simpson civil trial and the Kenneth Starr investigation of the Clinton White House. Toobin
received a 2001 Emmy Award for his coverage of the Elian Gonzales custody saga.</p>
<p>Toobin is a staff writer at The New Yorker and has been covering legal affairs for the magazine
since 1993. He has written articles on such subjects as Attorney General John Ashcroft, the 2001
dispute over Florida's votes for president, the Paula Jones sexual harassment case, and Supreme
Court Justice Clarence Thomas.</p>
< p>Currently a senior analyst for CNN Worldwide, Toobin is based in the network's New York bureau.
He graduated from Harvard magna cum laude with a Bachelor of Arts degree in 1982 and earned a
Truman scholarship. He is also a 1986 magna cum laude graduate of Harvard Law School, where he
was an editor of the Harvard Law Review.</p>
<p><a href="#top">Back to top</a></p>
</article>
<h1><a id="sorkin">The Politics of <em>Too Big to Fail</em></a></h1>
<article>
<img src="images/sorkin_desk260.jpg" alt="Andrew Ross Sorkin"/>
< h2>November<br>Andrew Ross Sorkin</h2>
< p><em>New York Times</em> columnist and author, Andrew Ross Sorkin,
has been described as &ldquo;the most famous financial journalist of his generation.&rdquo;
A leading voice on Wall Street and corporate America, his <em>New York Times</em> bestseller,
<em>Too Big to Fail: The Inside Story of How Wall Street and Washington Fought to Save
the Financial System

Explanation / Answer

Assigining id to all your articles and links ans simple jquery methods can do the trick for you. Here's how.

***********************************************yourpage.html*********************************

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Placeholders</title>
<link rel="stylesheet" href="index.css">
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="navigation.js"></script>
</head>
<body>
   <header>
       <img src="images/town_hall_logo.gif" alt="Town Hall logo" height="80">
       <hgroup>
           <h1>
               <a id="top">San Joaquin Valley Town Hall</a>
           </h1>
           <h2>
               Celebrating our <span class="shadow">75<sup>th</sup></span> Year
           </h2>
       </hgroup>
   </header>
   <section>
       <h1>
           <a id="toobin">The Supreme Nine: Black Robed Secrets</a>
       </h1>
       <article id="article1">
           <img src="images/toobin_court.jpg" alt="Jeffrey Toobin">
           <h2>
               October<br>Jeffrey Toobin
           </h2>
           <p>Author of the critically acclaimed best seller, The Nine:
               Inside the Secret World of the Supreme Court, Jeffrey Toobin brings
               the inside story of one of America's most mysterious and powerful
               institutions to the Saroyan stage. At the podium, Toobin is an
               unbiased, deeply analytic expert on American law, politics and
               procedure and he provides a unique look into the inner workings of
               the Supreme Court and its influence.</p>
           <p>Inside the Secret World of the Supreme Court was published by
               Doubleday and spent more than four months on the NY Times
               best-seller list, earning Toobin the 2008 J. Anthony Lukas Prize for
               Nonfiction from the Columbia Graduate School of Journalism. Toobin
               has also written several other best-selling books, including A Vast
               Conspiracy: The Real Story of the Sex Scandal that Nearly Brought
               Down a President; The Run of His Life: The People vs. O.J. Simpson;
               and Too Close to Call: The 36-Day Battle to Decide the 2000
               Election.</p>
           <p>Jeffrey Toobin joined CBB from ABC News, where, during his
               six-year tenure as a legal analyst, he provided legal views on the
               nation's most provocative and high profile cases, including the O.J.
               Simpson civil trial and the Kenneth Starr investigation of the
               Clinton White House. Toobin received a 2001 Emmy Award for his
               coverage of the Elian Gonzales custody saga.</p>
           <p>Toobin is a staff writer at The New Yorker and has been
               covering legal affairs for the magazine since 1993. He has written
               articles on such subjects as Attorney General John Ashcroft, the
               2001 dispute over Florida's votes for president, the Paula Jones
               sexual harassment case, and Supreme Court Justice Clarence Thomas.</p>
           <p>Currently a senior analyst for CNN Worldwide, Toobin is based
               in the network's New York bureau. He graduated from Harvard magna
               cum laude with a Bachelor of Arts degree in 1982 and earned a Truman
               scholarship. He is also a 1986 magna cum laude graduate of Harvard
               Law School, where he was an editor of the Harvard Law Review.</p>
           <p>
               <a href="#top">Back to top</a>
           </p>
       </article>
       <h1>
           <a id="sorkin">The Politics of <em>Too Big to Fail</em></a>
       </h1>
       <article id="article2">
           <img src="images/sorkin_desk260.jpg" alt="Andrew Ross Sorkin" />
           <h2>
               November<br>Andrew Ross Sorkin
           </h2>
           <p>
               <em>New York Times</em> columnist and author, Andrew Ross Sorkin,
               has been described as &ldquo;the most famous financial journalist of
               his generation.&rdquo; A leading voice on Wall Street and corporate
               America, his <em>New York Times</em> bestseller, <em>Too Big to
                   Fail: The Inside Story of How Wall Street and Washington Fought to
                   Save the Financial System