Does boostrap work in a html compiler?
Go to solution
Solved by SCHISCHKA,
6 minutes ago, JasonHS said:alrighty then:
<!DOCTYPE html>
<html><body>
<div class="row">
<div class="col-xs-2">
<a href="#"><img class="smaller-image slim-black-border image-align img-responsive" alt="First time with a deck" src="https://bit.ly/fcc-relaxing-cat"></a>
</div>
<div class="col-xs-2">
<a href="#"><img class="smaller-image slim-black-border right img-responsive" alt="First time with a deck" src="https://bit.ly/fcc-relaxing-cat"></a>
</div>
</div>
</body></html>
you are missing the scripts to run bootstrap. Need to refer back to the intro lessons on html, css, javascript.
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class="row"> <div class="col-xs-2"> <a href="#"><img class="smaller-image slim-black-border image-align img-responsive" alt="First time with a deck" src="https://bit.ly/fcc-relaxing-cat"></a> </div> <div class="col-xs-2"> <a href="#"><img class="smaller-image slim-black-border right img-responsive" alt="First time with a deck" src="https://bit.ly/fcc-relaxing-cat"></a> </div> </div> </body> </html>
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now