diff --git a/subjects/gossip-grid/README.md b/subjects/gossip-grid/README.md index f7acd4496..745451840 100644 --- a/subjects/gossip-grid/README.md +++ b/subjects/gossip-grid/README.md @@ -2,37 +2,37 @@ ### Instructions -Good information is the pillar of society, that's why you've decided to dedicate your time to reveal the powerful truth to the world and deliver essential and strong news: you're launching a gossip grid. - Create the function `grid` which displays all the `gossips`, provided in the data file below, as cards on a grid (in the same order). -They must be `div` with the `gossip` class. - -The first `gossip` card must be a `form` with a `textarea` and a submit button with the text `Share gossip!` that allows to add a new gossip to the list. -Create 3 `type="range"` inputs with the class `range`, all wrapped in a `div` with the class `ranges`: +They will each be represented as a `div` with the `gossip` class. -- one with `id="width"` that control the width of cards _(from 200 to 800 pixels)_ -- one with `id="fontSize"` that control the font size _(from 20 to 40 pixels)_ -- one with `id="background"` that control the background lightness _(from 20% to 75%)_ +The first `gossip` card must be a `form`. It will need a `textarea`, and a submit button with the text `"Share gossip!"`. It will add new gossip to the list. -> _tips:_ use `hsl` for colors - -### Notions +Create 3 `type="range"` inputs with the class `range`, all wrapped in a `div` with the class `ranges`. +- `id="width"`: that controls the width of cards from 200 to 800 pixels. +- `id="fontSize"`: that controls the font size from 20 to 40 pixels. +- `id="background"`: that control the background lightness from 20% to 75%. -- [`