mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): add description for HTML snippet in Football Team Cards (#62357)
This commit is contained in:
+2
@@ -26,6 +26,8 @@ In this lab, you will build a set of football team cards. The user should be abl
|
||||
1. You should display the `headCoach`, `team` and `year` values on the page. These values should be displayed in the HTML elements with the `id` values of `head-coach`, `team` and `year`.
|
||||
1. You should display the players data on the page inside the `#player-cards` element, each player should be displayed in a `div` with class of `player-card`, and nested in it, an `h2` containing the name of the player, and `(Captain)` in case of the player being captain, and a `p` containing `Position:` and the position of the player.
|
||||
|
||||
Here is an example of how the HTML should look like:
|
||||
|
||||
```html
|
||||
<div class="player-card">
|
||||
<h2>Sergio Batista</h2>
|
||||
|
||||
Reference in New Issue
Block a user