.rowHeight{
height: 100px;
}
.padding-0
{
padding-right: 0px;
paddig-left: 0px;
margin-left: 0px;
margin-right: 0px;
}
.cart{
height:42px;
width: 42px;
}
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>S-MART | WELCOME</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="syles/style.css">
</head>
<body>
<div class="container">
<div class="row rowHeight justify-content-center">
<div class="col-md-10 padding-0">
<h1 class="header">S-MART</h1>
</div>
<div class="col-md-2 padding-0">
<img src="images/shopping_cart_PNG58.png" class="cart" alt="Shoppingcart" align="center"> </img>
</div>
</div>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
I would like to eliminate the gap between the heading and the image, so it appears as "S-MART(IMAGE)". As a beginner in this field, I have been encountering similar issues, so any guidance or advice would be greatly appreciated.