All Tracks/lab page of playing cards/
Đang tải...
Hướng dẫn thử thách
1 / 1

Build a Page of Playing Cards

**Objective:** Fulfill the user stories below and get all the tests to pass to complete the lab. **User Stories:** 1. You should build a webpage that displays at least three playing cards. 1. You should have a `main` element with an ID of `playing-cards`. 1. Within your `#playing-cards` element, you should have at least three `div` elements, each with a class of `card`. 1. Within each `.card` element, you should have three `div` elements, the first with a class of `left`, the second with a class of `middle`, and the third with a class of `right`. 1. Your `#playing-cards` element should use flexbox to horizontally center its children, allow them to wrap, and put a `20px` space between them. 1. Each of your `.card` elements should use flexbox to justify its children using `space-between`. 1. Each of your `.left` elements should use flexbox item properties to align itself at the start of its parent container. 1. Each of your `.middle` elements should use flexbox item properties to align itself in the center of its parent container. 1. Each of your `.right` elements should use flexbox item properties to align itself at the end of its parent container. 1. Each of your `.middle` elements should use flexbox to display its children in a column. Here are some characters you can copy and paste to use in your cards if you want: `♠`, `♣`, `♥`, and `♦`.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.sh
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.