From 1f2a93b6466206aa8a366384a9d73bd0e8237b35 Mon Sep 17 00:00:00 2001
From: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Date: Mon, 23 Mar 2020 05:02:34 -0700
Subject: [PATCH] fix: added additional test for altText (#38395)
---
.../render-images-from-data-sources.english.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/render-images-from-data-sources.english.md b/curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/render-images-from-data-sources.english.md
index 58c98e3720..85afea0179 100644
--- a/curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/render-images-from-data-sources.english.md
+++ b/curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/render-images-from-data-sources.english.md
@@ -25,6 +25,8 @@ Add code to use the imageLink
and altText
properties i
tests:
- text: You should use the imageLink
property to display the images.
testString: assert(code.match(/val\.imageLink/g));
+ - text: You should use the altText
for the alt attribute values of the images.
+ testString: assert(code.match(/val\.altText/g));
```