HTML: Text in HTML
Instructions
Loading...
Your exercise will be checked with these tests:
const { test } = require('tests');
test(({ query, querySelectorAll, expect }) => {
query(document, 'p', HTMLParagraphElement);
const elements = querySelectorAll(document, 'p', HTMLParagraphElement);
expect(elements).to.have.length(2)
// expect(elements).to.contain.text(['surveyed', 'studied'])
});
Teacher's solution will be available in:
20:00
