Skip to content

Commit

Permalink
Merge pull request #1 from ShadBalti/main
Browse files Browse the repository at this point in the history
Bug: Fixed image path HTML and CSS.
  • Loading branch information
sarwarDev authored Jan 3, 2024
2 parents 4ac2d13 + f5a8a50 commit 24f3efb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h3>Sarwar Hussain</h6>
</div>
<div class="main-container container2">
<div id="card2" class="card2">
<img src="/img.jpg">
<img src="img.jpg">
<p id="pcard2">
Sarwar Hussain
Designer
Expand All @@ -37,4 +37,4 @@ <h3>Sarwar Hussain</h6>
</div>
<script src="main.js"></script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ body{
align-items: center;
}
.main-container{
background-image: url(/img.jpg);
background-image: url('img.jpg');
height: 90vh;
width: 100%;
}
Expand Down

0 comments on commit 24f3efb

Please sign in to comment.