From 1e5f10cbdb30aea415ada8bf97f2e7253381ce60 Mon Sep 17 00:00:00 2001 From: Brian Daley Date: Mon, 4 Mar 2024 15:20:53 -0500 Subject: [PATCH] Update fix-the-page.js --- js/fix-the-page.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/js/fix-the-page.js b/js/fix-the-page.js index 2fe5133..bf8aac6 100644 --- a/js/fix-the-page.js +++ b/js/fix-the-page.js @@ -20,28 +20,31 @@ let resources = [ { title: "View the source CSS file of the currently-viewed design.", href: "css/style.css", - innerHTML: "View This Design’s CSS" + linkText: "View This Design’s CSS" }, { title: "Links to great sites with information on using CSS.", href: "http://www.mezzoblue.com/zengarden/resources/", - innerHTML: "CSS Resources " + linkText: "CSS Resources " }, { title: "A list of Frequently Asked Questions about the Zen Garden.", href: "http://www.mezzoblue.com/zengarden/faq/", - innerHTML: "FAQ " + linkText: "FAQ " }, { title: "Send in your own CSS file.", href: "http://www.mezzoblue.com/zengarden/submit/", - innerHTML: "Submit a Design" + linkText: "Submit a Design" }, { title: "View translated versions of this page.", href: "http://www.mezzoblue.com/zengarden/translations/", - innerHTML: "Translations" + linkText: "Translations" }, ]; +// Hint: Loop over the resources array to build each list item. +// E.g.,
  • someText
  • +