CSS: Text alignment
Instructions
Tips
Loading...
Your exercise will be checked with these tests:
const { test } = require('tests');
test(({ query, expect }) => {
const element = query(document, 'p');
expect(element).to.have.class('important');
const style = getComputedStyle(element);
expect(style).to.have.property('text-align', 'center');
});
Teacher's solution will be available in:
20:00
