Challenge Taste the Bootstrap Button Color Rainbow has an issue.
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0.

I think, 'class' should be used instead of 'color' in the first line.
I think the issue is a bit more complex than that. The text is trying to convey that the btn-primary class in Bootstrap applies a style (including color) to a button that helps the user to see it as an action they can take, but it isn't written clearly. Obviously that blue color isn't the main color of the app.
Also it looks like users can pass the test by adding the btn, btn-block, and btn-primary classes to the submit button at the bottom of the code and ignoring the first button (which already has the btn and btn-block classes mentioned in the instructions), and so the instructions are not entirely clear in that regard either.
Here's a suggested edit to the instructions:
The
btn-primaryclass styles app elements you apply it to in order to indicate the primary action on a page. It essentially highlights actions you want your user to take.Add Bootstrap's
btn-primaryclass to yourLikebutton.Note that the
Likebutton will still need thebtnandbtn-blockclasses.
The tests should be changed a little too so it can look for the correct button.
@erictleung @BKinahan
I was trying to fix this issue but if I applied any conditions to check for parents or siblings or any other thing, it was still looking at both the buttons and thus by changing any of the buttons, it was passing the tests. If I change the challenge seed to indicate which line has to be changed by using comments and modify the challenge description as discussed above, would this be accepted as a reasonable fix?
Most helpful comment
I think the issue is a bit more complex than that. The text is trying to convey that the
btn-primaryclass in Bootstrap applies a style (including color) to a button that helps the user to see it as an action they can take, but it isn't written clearly. Obviously that blue color isn't the main color of the app.Also it looks like users can pass the test by adding the
btn,btn-block, andbtn-primaryclasses to the submit button at the bottom of the code and ignoring the first button (which already has thebtnandbtn-blockclasses mentioned in the instructions), and so the instructions are not entirely clear in that regard either.