From 78a9ffb0bb80a6ce18640e4654195486008fe5bf Mon Sep 17 00:00:00 2001 From: Alastair Campbell Date: Mon, 10 Jun 2019 11:38:25 +0100 Subject: [PATCH 1/4] Updating 3rd example --- techniques/html/H80.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/techniques/html/H80.html b/techniques/html/H80.html index 61d27c779b..37cc7b3dda 100644 --- a/techniques/html/H80.html +++ b/techniques/html/H80.html @@ -48,9 +48,11 @@

A document provided in three formats

Newspaper Web site

-
<h2><a href="Stockmarket_05052007.htm>Stock market soars as bullishness prevails</a></h2>
-<p>this week was a stellar week for the stock market as investing in gold rose 2%. 
-<a href="Stockmarket_05052007.htm>More here</a></p>     
+
<div class="card-link">
+   <h2><a href="Stockmarket_05052007.htm>Stock market soars as bullishness prevails</a></h2>
+   <p>this week was a stellar week for the stock market as investing in gold rose 2%. 
+</div>
+

A script is used to find each element with a class of card-link and append a "Read more" link at the end of the box that goes to the same location as the link in the heading.

Tests

Procedure

From 1405a037ca0483af7e423fc61fef74341cbdc525 Mon Sep 17 00:00:00 2001 From: Alastair Campbell Date: Mon, 10 Jun 2019 14:16:28 +0100 Subject: [PATCH 2/4] Clarifying where the link is added. --- techniques/html/H80.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/techniques/html/H80.html b/techniques/html/H80.html index 37cc7b3dda..df95f237b1 100644 --- a/techniques/html/H80.html +++ b/techniques/html/H80.html @@ -52,7 +52,7 @@

Newspaper Web site

<h2><a href="Stockmarket_05052007.htm>Stock market soars as bullishness prevails</a></h2> <p>this week was a stellar week for the stock market as investing in gold rose 2%. </div> -

A script is used to find each element with a class of card-link and append a "Read more" link at the end of the box that goes to the same location as the link in the heading.

+

A script is used to find each element with a class of card-link and append a "Read more" link at the end of the box (after the paragraph) that goes to the same location as the link in the heading.

Tests

Procedure

From dce18feda1ee099d2925a27fa0bf71566555d776 Mon Sep 17 00:00:00 2001 From: Alastair Campbell Date: Mon, 29 Jul 2019 17:05:49 +0100 Subject: [PATCH 3/4] Missing closing p in example --- techniques/html/H80.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/techniques/html/H80.html b/techniques/html/H80.html index df95f237b1..38d0c36b5c 100644 --- a/techniques/html/H80.html +++ b/techniques/html/H80.html @@ -50,7 +50,7 @@

A document provided in three formats

Newspaper Web site

<div class="card-link">
    <h2><a href="Stockmarket_05052007.htm>Stock market soars as bullishness prevails</a></h2>
-   <p>this week was a stellar week for the stock market as investing in gold rose 2%. 
+   <p>this week was a stellar week for the stock market as investing in gold rose 2%.</p>
 </div>

A script is used to find each element with a class of card-link and append a "Read more" link at the end of the box (after the paragraph) that goes to the same location as the link in the heading.

@@ -77,4 +77,4 @@

Newspaper Web site

  • H78
  • H79
  • H81
  • -

    Resources

    \ No newline at end of file +

    Resources

    From 25fc41a77742345d0395c6ffb0fa09a136f7c8bf Mon Sep 17 00:00:00 2001 From: Alastair Campbell Date: Tue, 30 Jul 2019 17:34:43 +0100 Subject: [PATCH 4/4] Updates from call --- techniques/html/H80.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/techniques/html/H80.html b/techniques/html/H80.html index 38d0c36b5c..b10227caa7 100644 --- a/techniques/html/H80.html +++ b/techniques/html/H80.html @@ -52,7 +52,7 @@

    Newspaper Web site

    <h2><a href="Stockmarket_05052007.htm>Stock market soars as bullishness prevails</a></h2> <p>this week was a stellar week for the stock market as investing in gold rose 2%.</p> </div> -

    A script is used to find each element with a class of card-link and append a "Read more" link at the end of the box (after the paragraph) that goes to the same location as the link in the heading.

    +

    A script is used to find each element with a class of card-link and append an additional paragraph with a "Read more" link at the end of the div with the class .card-link that goes to the same location as the link in the heading.

    Tests

    Procedure