Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating 3rd example in H80 #775

Merged
merged 6 commits into from
Jul 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions techniques/html/H80.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ <h3>A document provided in three formats</h3>
</section>
<section class="example">
<h3>Newspaper Web site</h3>
<pre xml:space="preserve">&lt;h2&gt;&lt;a href="Stockmarket_05052007.htm&gt;Stock market soars as bullishness prevails&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;this week was a stellar week for the stock market as investing in gold rose 2%.
&lt;a href="Stockmarket_05052007.htm&gt;More here&lt;/a&gt;&lt;/p&gt; </pre>
<pre xml:space="preserve">&lt;div class=&quot;card-link&quot;&gt;
&lt;h2&gt;&lt;a href="Stockmarket_05052007.htm&gt;Stock market soars as bullishness prevails&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;this week was a stellar week for the stock market as investing in gold rose 2%.&lt;/p&gt;
&lt;/div&gt;</pre>
<p>A script is used to find each element with a class of <code>card-link</code> and append an additional paragraph with a &quot;Read more&quot; link at the end of the div with the class <code>.card-link</code> that goes to the same location as the link in the heading.</p>
</section>
</section><section id="tests"><h2>Tests</h2>
<section class="procedure"><h3>Procedure</h3>
Expand All @@ -75,4 +77,4 @@ <h3>Newspaper Web site</h3>
<li><a href="../html/H78">H78</a></li>
<li><a href="../html/H79">H79</a></li>
<li><a href="../html/H81">H81</a></li>
</ul></section><section id="resources"><h2>Resources</h2></section></body></html>
</ul></section><section id="resources"><h2>Resources</h2></section></body></html>