How do you use bootstrap in notepad++? The link in the bootstrap section of the course doesn’t seem to be working.
You can use the file from a CDN (say, from BootstrapCDN). Your <link>
would look something like
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
I tested the link by trying to replicate the second challenge of the chapter (“Make Images Mobile Responsive”) which involves making a picture with cats fit the width of the page. It didn’t work. Either the link didn’t work or I did something wrong.
Here’s my code:
<!Doctype html>
<html>
<title>
Generic Website Template
</title>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>
<div id = "Header">
<img class = "img-responsive" src = "https://bit.ly/fcc-running-cats"/>
</div>
<div id = "Taskbar">
</div>
<div id = "Left">
</div>
<div id = "Right">
</div>
<div id = "Footer">
</div>
</body>
</html>
Run this in notepad++ and see the result. What have I done wrong?