Why are the icons in the footer not loading? <!DOCTYPE html> <html lang="en"> <head>…
- User
Why are the icons in the footer not loading?
<head> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script> <link href="styles.css" rel="stylesheet"> <title>My Webpage</title> <link rel="icon" href="https://news.ycombinator.com/y18.svg"> </head> <body> <!--LOGO--> <!--NAVBAR--> <nav class="navbar navbar-expand-lg" style="background-color: #ff4000"> <div class="container-fluid"> <a href="index.html"> <img src="https://news.ycombinator.com/y18.svg" width="40" height="40" style="border:1px white solid; display:block"> </a> <a class="navbar-brand" href="#">Simon's Blog</a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarNavDropdown"> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link active" aria-current="page" href="#">Home</a> </li> <li class="nav-item"> <a class="nav-link active" aria-current="page" href="blog.html">Blog</a> </li> <li class="nav-item"> <a class="nav-link active" aria-current="page" href="qanda.html">Q and A</a> </li> <li class="nav-item"> <a class="nav-link active" aria-current="page" href="projects.html">Projects I've worked on</a> </li> <li class="nav-item"> <a class="nav-link active" aria-current="page" href="contact.html">Get In Touch</a> </li> </ul> </div> </div> </nav> <!--Text--> <div class="blog"><br> <h1>The Digital Odyssey </h1> <h2>Journey through the Tech Terrain</h2> <br> <b> Hello there, fellow traveler!</b><p>I'm <PRESIDIO_ANONYMIZED_PERSON>, a curious explorer charting the vast and vibrant seas of technology. By day, I’m a software engineer stitching together code that, piece by piece, constructs the fabric of our digital reality. By night, I’m your humble host on this personal blog, The Digital Odyssey, where I share tales from the tech frontiers.</p> <b>About The Blog</b> <p>The Digital Odyssey is a reflection of my passion for all that beeps, blinks, and bytes. Here, you’ll witness the musings of a tech savant (and sometimes the rants of a caffeine-fueled coder) presented with a dash of personality and heaps of experience. Let’s embark on this journey together, through the realms of code, gadgets, and the continuously unfolding future that is technology.</p> <b>What You’ll Discover Here</b> <ul class="discover"> <li>Daily Adventures: Witness my day-to-day encounters with technology, from troubleshooting bugs to reveling in the thrill of a successful product launch.</li> <li>Tech Tips & Tricks: Benefit from my expertise with an array of how-tos, from sharpening your programming skills to optimizing your home network.</li> <li>Thought-Provoking Essays: Delve deeper as I ponder ethical dilemmas in AI development, the rise of quantum computing, or the implications of the latest data privacy regulations.</li> <li>Gadget Chronicles: Join me as I unpack, review, and dissect the latest tech to hit the market. Will it earn a permanent spot on my desk or gather dust in the drawer?</li> <li>Behind The Scenes: Get an insider’s look at the tech industry through candid stories and personal reflections on the trends shaping our digital existence.</li> <li>A Slice of Life: Because technology is not just what I do, it’s intertwined with who I am. From conference escapades to the pages of my latest sci-fi read, you’ll get it all.</li> </ul> <b>Latest Musings</b> <ul id="musings"> <li>Do Smartwatches Tick the Right Boxes? My Week Wrist-deep in Notifications</li> <li>THackathon Chronicles: Sleepless Innovation or a Caffeine Conundrum?</li> <li>The Art of Clean Code: A Brush with the Philosopher’s Codebase</li> <li>Mars Rovers and Earthly Codes: Programming Lessons from Outer Space</li> </ul> <b>Let's Connect</b> <p>While this odyssey is penned by a solitary scribe, the narrative enriches with every interaction. Comment on my posts, challenge my viewpoints, suggest topics, or share your tech experiences – I’m all ears! Don your social-media cap and follow me on my channels to keep the dialogue alive.</p> <b>Tech Musings Delivered</b> <p>Life is fast, tech is faster. Subscribe to my newsletter to keep pace with my weekly recount of tech tales and reflections. A concise dose of insight, delivered with the quirks only a true technologist can provide.</p> </div> <footer class="bg-dark text-light py-4 mt-5"> <div class="container"> <div class="row"> <!-- About the Blog --> <div class="col-md-4"> <h5>About Simon’s Blog</h5> <p>Simon’s Blog is your go-to source for insightful tech analysis, updates on the latest gadgets, and deep dives into the world of technology. Join me on my journey to demystify the vast digital landscape.</p> </div> <!-- Quick Links --> <div class="col-md-4"> <h5>Quick Links</h5> <ul class="list-unstyled"> <li><a href="index.html" class="text-light">Home</a></li> <li><a href="blog.html" class="text-light">Blog</a></li> <li><a href="qanda.html" class="text-light">Q&A</a></li> <li><a href="projects.html" class="text-light">Projects</a></li> <li><a href="contact.html" class="text-light">Contact</a></li> </ul> </div> <!-- Connect With Me --> <div class="col-md-4"> <h5>Connect With Me</h5> <p>Follow me on social media for more frequent updates and discussions:</p> <a href="https://twitter.com/OfSchaub15200" class="text-light me-2"> <i class="fa fa-twitter" aria-hidden="true"></i> </a> <a href="https://facebook.com/yourProfile" class="text-light me-2"> <i class="fa fa-facebook" aria-hidden="true"></i> </a> <a href="<PRESIDIO_ANONYMIZED_URL> class="text-light me-2"> <i class="fa fa-linkedin" aria-hidden="true"></i> </a> <a href="https://instagram.com/yourProfile" class="text-light"> <i class="fa fa-instagram" aria-hidden="true"></i> </a> </div> </div> <!-- Copyright --> <div class="text-center mt-3"> <p>© 2023 Simon’s Blog | All rights reserved.</p> </div> </div> </footer> </body> </html> - Assistant
- User
Fix it!
- Assistant
After reviewing your code snippet, I noticed that the Font Awesome classes being used are prefixed with "fa" instead of "fab", "fas", or "far", which are the convention used for brand icons, solid icons, and regular icons, respectively, in the newer versions of Font Awesome.
Let's fix the class prefixes first. Here's how you should update your social media links in the footer:
<a href="https://twitter.com/OfSchaub15200" class="text-light me-2"> <i class="fab fa-twitter" aria-hidden="true"></i> </a> <a href="https://facebook.com/yourProfile" class="text-light me-2"> <i class="fab fa-facebook-f" aria-hidden="true"></i> </a> <a href="<PRESIDIO_ANONYMIZED_URL> class="text-light me-2"> <i class="fab fa-linkedin-in" aria-hidden="true"></i> </a> <a href="https://instagram.com/yourProfile" class="text-light"> <i class="fab fa-instagram" aria-hidden="true"></i> </a>