-
Good morning community, I'm sorry to bother you guys. I'm making my first site with Bootstrap and I have a couple of questions about the right way to do things: 1) In the code I have 2 links that appear to contain exactly the same thing. Should I keep both or can I remove either of them to save requests?
2) I also included a few lines of custom code in this file:
Is that correct or should I directly edit the bootstrap.min.css file? 3) PageSpeed Insights says I should "display images with appropriate size to save mobile data and reduce loading time." Does this mean that I should upload images of different resolutions for different devices? I thought that the "img-fluid" class saved us precisely that work. If so, is there any example code to do that? Thanks you so very much for any advice or suggestion! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @dafaher
Good Luck! |
Beta Was this translation helpful? Give feedback.
Hi @dafaher
I suggest to choose this one:
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity_no="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="./css/main.css">
<img src="image-small.jpg" srcset="image-small.jpg 600w, image-medium.j…