skip to Main Content

I’m practicing making a website through a tutorial, as I’m still learning front-end. However, my sixth list item (an icon) won’t show up no matter what I do to it, nor will my code change in the terminal once I run it in any browser.
I have tried taking the icon out, I’ve tried FontAwesome and its alternatives, but still the icon and/or change doesn’t show, no matter which browser I use.
As you can see in the pictures, there’s the code I wrote, the code in the terminal, and what my final product looks like. Even my CSS updates won’t show.
Any help will be appreciated, as I am still learning and can provide snippets of my CSS code if needed.

This is the code that I wrote, saved and changed.
This is the terminal in my browser, even after changes were made to the code.
This is my final product, and no matter what I try, no icons show up and nor does my last list item

I tried taking out the CDN, installing extensions to help, alternatives to FontAwesome and their CDNs, as well as taking out the icon tag and trying to write a short word like "Buy", which still doesn’t show.
I also cleared my all browser caches to see if that will help with the changes, as I read that that often helps, but alas, it hasn’t. I closed my browser, restarted my laptop, resaved my files, and still nothing will change. My effects in CSS don’t show, but I suppose that will be coming up in my tutorial soon enough.

2

Answers


  1. Chosen as BEST ANSWER

    Okay, so, I was probably a bit silly and rushed into yelling wolf when the simple answer was in front of me. I did a run and debug, instead of using the live server, and everything was fixed. What a waste of time that was, and very silly of me. Rookie mistake, lesson learned


  2. it looks like you made a typo, replace this line code code

    <li><a href="cart.html"><i class="fas fa-shopping-cart" aria-hidden="true"></i>Cart</a></li>
    

    with this code:

    <li><a href="cart.html"><i class="fa fa-shopping-cart" aria-hidden="true"></i>Cart</a></li>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search