+ 1

Why this code is not working? I can't see any difference in o/p.

<!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="https://maxcdn.bootstrapcdn.com/bootstrap/5.3.0/css/bootstrap.min.css"> <title>Bootstrap Typography Example</title> </head> <body> <div class="container mt-5"> <h1 class="display-4">Welcome to Our Website</h1> <h2 class="text-primary">About Us</h2> <p class="lead"> We are a team of passionate developers dedicated to building beautiful and functional web applications. </p> <p class="text-muted"> Our goal is to provide the best user experience and help our clients achieve their online objectives. </p> <h3 class="text-success">Our Services</h3> <p> From website design to development, we offer a wide range of services tailored to meet your needs. </p> </div> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/5.

28th Oct 2024, 10:46 AM
Martin
Martin - avatar
6 Réponses
+ 1
<script src="https://maxcdn .bootstrapcdn.com/bootstrap/5.3.0/js /bootstrap.bundle.min.js"></script> </body> </html> It is the balance code...I can't insert full codes in it
28th Oct 2024, 11:20 AM
Martin
Martin - avatar
+ 3
Yeah,Thank you Mr.Bob_Li and Mr.Hamid Ahmad Amini
29th Oct 2024, 3:07 PM
Martin
Martin - avatar
0
this code is not full. try attaching the full code from the playground. that's the preferred way
28th Oct 2024, 10:55 AM
Mihaly Nyilas
Mihaly Nyilas - avatar
0
Martin for cdn, put the link in the header, script in the body. There are example templates in the bootstrap site. https://sololearn.com/compiler-playground/WWN6xBRJD0iu/?ref=app
28th Oct 2024, 11:28 AM
Bob_Li
Bob_Li - avatar
0
Yeah,Now it's working...Thank you Mihaly Nyilas😊
28th Oct 2024, 11:40 AM
Martin
Martin - avatar
0
Complete the <script> URL as follows: <script src="https://maxcdn.bootstrapcdn.com/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script> This should fix the issue.
29th Oct 2024, 3:03 PM
Hamid Ahmad Amini
Hamid Ahmad Amini - avatar