From 7606a05ca742791beb5ee64d18bc9c8051b4b92d Mon Sep 17 00:00:00 2001 From: zxc-w <163780208+zxc-w@users.noreply.github.com> Date: Mon, 6 May 2024 19:25:53 +0300 Subject: [PATCH] fix(curriculum): prevent passing in case of element not closed (#54644) Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> --- .../5dc24073f86c76b9248c6ebb.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24073f86c76b9248c6ebb.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24073f86c76b9248c6ebb.md index 32ba8a45d2d..1dfd8dd2abc 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24073f86c76b9248c6ebb.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24073f86c76b9248c6ebb.md @@ -45,6 +45,12 @@ Although you have set the `img` element's `src` to the correct URL, it is recomm assert(!/\` or `/>`. + +```js +assert(//.test(code)); +``` + # --seed-- ## --seed-contents--