From d7880ce24e5ce389e6ac0aa88cd894c2557a276b Mon Sep 17 00:00:00 2001 From: JungLee-Dev <122341199+JungLee-Dev@users.noreply.github.com> Date: Mon, 10 Feb 2025 05:37:47 -0700 Subject: [PATCH] fix(curriculum): explicitly show case for general (#58670) --- .../lab-fcc-forum-leaderboard/673c91f0b934834bc4a3ecc2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/25-front-end-development/lab-fcc-forum-leaderboard/673c91f0b934834bc4a3ecc2.md b/curriculum/challenges/english/25-front-end-development/lab-fcc-forum-leaderboard/673c91f0b934834bc4a3ecc2.md index 55e29ad88d4..82cf478046c 100644 --- a/curriculum/challenges/english/25-front-end-development/lab-fcc-forum-leaderboard/673c91f0b934834bc4a3ecc2.md +++ b/curriculum/challenges/english/25-front-end-development/lab-fcc-forum-leaderboard/673c91f0b934834bc4a3ecc2.md @@ -26,7 +26,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab - the text of the `category` key of the selected category. - a class of `category` followed by the `className` property of the selected category. - an `href` with the value of `//`, where `` is the `className` property of the selected category and `id` is the argument passed to `forumCategory`. -1. If the `allCategories` object does not have the selected category id as its property, `className` and `category` should be indicated as `general`. +1. If the `allCategories` object does not have the selected category id as its property, `category` should be indicated as `General` and `className` should be indicated as `general`. 1. You should have a function named `avatars` that takes two arrays representing posters and users, respectively. 1. The `avatars` function should return a string made by joining `img` elements, one for each poster found inside the user array. _Hint:_ You can find users by comparing the `user_id` property of the poster with the `id` property` of the user. 1. The `avatars` function should set each avatar's size by accessing the `avatar_template` property and replacing `{size}` with `30`. @@ -240,7 +240,7 @@ assert.match( ); ``` -`forumCategory(200)` should return a string containing an anchor element with `class="category career"`. +`forumCategory(200)` should return a string containing an anchor element with `class="category general"`. ```js const actual = forumCategory(200);