New live coding question

HTML/CSS questions (difficulty: easy/hard; duration: 5-20 min)

Please read our question guidelines before submitting your question offer.

The text of the question, be clear and specific.
The candidate sees this in the coding box, provide a starting code.
Run template
For each test case you want to test, provide one test method. Limits per test case: max memory is 256MB and max time is 3sec on 2GHz CPU.
Provide a solution that passes all test cases, so we can check there is actually solution that satisfies all test cases.
Run solution
One per line.
  Close editor You hereby assign all rights, title and interest in and to the copyrights to the question to TestDome Ltd for its exclusive use and that TestDome Ltd shall be the sole and exclusive owner of copyright and other intellectual property rights in said answers and solutions.