Chaining variables issue 54-8

Screen Link: https://app.dataquest.io/m/54/web-scraping/8/using-css-selectors

After checking the solution I am surprised that my code does not work. The only difference is that I have chained a variable.

outer_items = parser.select(".outer_text")
first_outer_text = outer_items[0].text

second = parser.select("#second")[0]
second_text = second.text

What actually happened:

IndexErrorTraceback (most recent call last)
<ipython-input-1-7f4174e61d11> in <module>()
     11 
     12 outer_items = parser.select(".outer_text")
---> 13 first_outer_text = outer_items[0].text
     14 
     15 second = parser.select("#second")[0]

IndexError: list index out of ranger

the class should be .outer-text and not .outer_text, you replaced hyphen with an underscore