Complete the code to add Bootstrap CSS from a CDN in the <head> section.
<head> <link rel="stylesheet" href="[1]"> </head>
The correct link is the official Bootstrap CSS CDN URL to load Bootstrap styles.
Complete the code to add Bootstrap JavaScript bundle from a CDN before the closing tag.
<body> <!-- page content --> <script src="[1]"></script> </body>
The Bootstrap JavaScript bundle includes necessary JS and Popper.js for components to work.
Fix the error in the code to correctly import Bootstrap CSS in the <head>.
<head> <link rel="stylesheet" href=[1]> </head>
The href attribute value must be inside quotes for valid HTML syntax.
Fill both blanks to correctly import Bootstrap CSS and JS from CDN in a minimal HTML page.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="[1]"> <title>Bootstrap Test</title> </head> <body> <h1>Hello, Bootstrap!</h1> <script src="[2]"></script> </body> </html>
The CSS link and JS script must use the official Bootstrap CDN URLs for proper loading.
Fill all three blanks to create a responsive Bootstrap button with correct imports.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="[1]"> <title>Bootstrap Button</title> </head> <body> <button type="button" class="btn btn-[2]">Click me</button> <script src="[3]"></script> </body> </html>
The CSS and JS URLs must be the official Bootstrap CDN links. The button color class btn-primary is a common Bootstrap style.