Challenge is stating to: Create a new button
element below your large kitten photo. Give it the btn
and btn-default
classes, as well as the text of “Like”.
I then code in: <button class="btn btn-button">Like</button>
Still does not pass. Here is a link to the challenge as well: https://www.freecodecamp.org/learn/front-end-libraries/bootstrap/create-a-bootstrap-button
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
“btn-button” is not the same as “btn-default”.
Im am not passing due to not completing this requirement: You should create a new button
element with the text “Like”.
When I fix the error I pointed out and put that element in the correct place, it passes all tests. You may need to share your full code. If you’re still having problems.
you should use <button class="btn btn-default">Like</button>
instead of
‘’’
<button class="btn btn-button">Like</button>
…
there’s no ‘btn-button’ class in bootstrap.