HTML: HTML Attributes
Instructions
Tips
Loading...
Your exercise will be checked with these tests:
const { test } = require('tests');
test(({ query, expect }) => {
const elements = query(document, 'p', HTMLElement);
expect(elements).to.have.attr('title').match(/,*/);
expect(elements).to.have.attr('class', 'hexlet');
});
Teacher's solution will be available in:
20:00
