From 35ce56580779cf4548dc539ad01caa6dfc9ced46 Mon Sep 17 00:00:00 2001 From: Vivaan Teotia <60779432+dragon-slayer27@users.noreply.github.com> Date: Wed, 23 Jul 2025 09:17:12 +0530 Subject: [PATCH] fix(curriculum): update description and hints of lab-football-team-cards (#61437) --- .../66e7ee20b79186306fc12da5.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/curriculum/challenges/english/25-front-end-development/lab-football-team-cards/66e7ee20b79186306fc12da5.md b/curriculum/challenges/english/25-front-end-development/lab-football-team-cards/66e7ee20b79186306fc12da5.md index eb9d6b6ace4..e9965a131fc 100644 --- a/curriculum/challenges/english/25-front-end-development/lab-football-team-cards/66e7ee20b79186306fc12da5.md +++ b/curriculum/challenges/english/25-front-end-development/lab-football-team-cards/66e7ee20b79186306fc12da5.md @@ -37,7 +37,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab ``` -1. When the dropdown menu is used to select one of the positions, only players of that position should be shown. If the `"All Players"` option is selected, then all of the players should display on the page. +1. When the dropdown menu is used to select one of the positions, only the `.player-card` elements for players of that position should be present. If the `"All Players"` option is selected, then all of the players should display on the page. # --hints-- @@ -117,7 +117,7 @@ assert.equal(yearElement?.innerText.trim(), footballTeam.year); assert.equal(headCoachElement?.innerText.trim(), footballTeam.headCoach); ``` -When the option `All Players` is selected, all players should be shown within `#player-cards`. +When the option `All Players` is selected, all players should be present within `#player-cards`. ```js const select = document.querySelector('#players') @@ -133,7 +133,7 @@ const arrayFromPage = Array.from(playerCards).map(el => ({ assert.sameDeepMembers(arrayFromPage, footballTeam.players); ``` -When the option `Position Forward` is selected, only forward players should be shown within `#player-cards`. +When the option `Position Forward` is selected, only forward players should be present within `#player-cards`. ```js const forwards = footballTeam.players.filter(({position}) => position === 'forward') @@ -150,7 +150,7 @@ const arrayFromPage = Array.from(playerCards).map(el => ({ assert.sameDeepMembers(arrayFromPage, forwards); ``` -When the option `Position Midfielder` is selected, only midfielder players should be shown within `#player-cards`. +When the option `Position Midfielder` is selected, only midfielder players should be present within `#player-cards`. ```js const midfielders = footballTeam.players.filter(({position}) => position === 'midfielder') @@ -167,7 +167,7 @@ const arrayFromPage = Array.from(playerCards).map(el => ({ assert.sameDeepMembers(arrayFromPage, midfielders); ``` -When the option `Position Defender` is selected, only defender players should be shown within `#player-cards`. +When the option `Position Defender` is selected, only defender players should be present within `#player-cards`. ```js const defenders = footballTeam.players.filter(({position}) => position === 'defender') @@ -184,7 +184,7 @@ const arrayFromPage = Array.from(playerCards).map(el => ({ assert.sameDeepMembers(arrayFromPage, defenders); ``` -When the option `Position Goalkeeper` is selected, only goalkeeper players should be shown. +When the option `Position Goalkeeper` is selected, only goalkeeper players should be present. ```js const goalkeepers = footballTeam.players.filter(({position}) => position === 'goalkeeper')