#3 create a new post; selecting classes


#1

The instructions state to use 'status-box' class yet I only see class='form-control status-box' in the html file. Also, it states to use 'btn' class, yet I only see class='btn btn-primary' in the html file.I have also seen this problem (for me) in the previous exercises. an exact match


#2

Hi Jafurlong,

A space between two words in class="" creates two different classes. So with <button class="btn btn-primary">Post</button>, you could select it EITHER with:

$('.btn') // the `btn` class

OR with:

$('.btn-primary') // the `btn-primary` class

It would kind of make more sense to have classes comma (,) separated, but you'll get used to having them the way they are eventually :)