Test Card List Test Suite Conclusion
In the following section, we will test some information displayed in the DOM. First, we will cover the following statements:
CSS :first-child Selector
Select and style every element that is the first child of its parent:
HTML DOM textContent Property
Get the text content of an element:
Once we have understood these two statements one for CSS and the other for DOM we can now test the results we should expect in our test case.
In our HTML file we can check the following:
Let's cover a couple of things as well, we should know that if we are don't have a class we can write the proper HTML element like follows:
Last updated
Was this helpful?