source code:
https://www.geeksforgeeks.org/how-to-make-multi-item-carousel-using-bootstrap-5/
Q1-
the odd thing is the pic can load in local computer.
when i upload the files and index.html, the pics can’t load full. only 1 of 3 can load.
pics size is below 1MB, and only bootstrap carousel partially fail.
src=
"https://media.geeksforgeeks.org/wp-content/uploads/20240122184958/images2.jpg">
@my code
<img class="img-fluid"
alt="100%x280"
src="econ_epaper33/econ70/econ70_1.jpg" >
Q2-
when i try to load the two css files in local path, insteal of http way.
css can’t work normally?
<link rel="stylesheet" type="text/css"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css"
href=
"https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
@mycode :
<link rel="stylesheet" type="text/css"
href="css2index.css" />
<link rel="stylesheet" type="text/css"
href="css3index.css"/>
i try to load pics but fail most of them
New contributor
jx chang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1