CSS: Colors
Instructions
Tips
Loading...
Your exercise will be checked with these tests:
const { test } = require('tests');
test(({ query, expect }) => {
const element = query(document, 'span');
expect(element).to.have.class('violet');
const style = getComputedStyle(element);
expect(style).to.have.property('color', 'rgb(148, 0, 211)');
});
Teacher's solution will be available in:
20:00
