3/10 Show a description


While I had a problem in running the script, so i checked the index.hrml file.

The excercise asks us to use click method to show article in class “description” where the article is stored.

But inside index.html the article is stored inside class “description row”

And the code works only when we put ‘.description’ under children(), when there is as such no class with that name in the HTML file.


Hi Gaurav,

class="description row" means the element has two classes - description and row. It might make more sense to have classes comma (,) separated, but you’ll get used to having spaces be the separator soon :slight_smile: