I want to display 2 links on top of an image in the example you see below. Tried a few different things but can not get it to work. Not sure if I am confusing inline/block elements and that's why I can't display it properly. Not sure if I am miss using a href attribute along with div elements. I tried using display : grid as well but may not have used it properly. I reverted my code back to basics in hopes someone here can guide me in the right direction
img{
display: block;
margin-left: auto;
margin-right: auto;
width: 70%;
max-width: 100%;
height: auto;
}
p{
text-align: center;
font-size: 20px;
font-family: OCR A Std, monospace ;
text-decoration: none;
}
.note{
margin-top: 100px;
margin-bottom: 50px;
}
.img2{
width: 100%;
}
.button{
width: 200px;
height: 40px;
text-decoration: none;
background-color: rgba(219, 193, 142);
margin-bottom: 20px;
display: block;
margin-left: auto;
margin-right: auto;
}
.buttonint{
color: black;
text-decoration: none;
}
a:link{
text-decoration: none;
}
.block{
width: auto;
height: 20px;
background-color: rgba(219, 193, 142);
}
<img src="images/portfolioAni.gif">
<div class="font">
<p class="note">Welcome to my Portfolio, below you will find a menu of <br>
all my coding assignments I completed in school. Some basic <br>
exercices as well as entire websites using HTML, CSS, <br>
Javascript,Bootstrap and PHP.</p>
</div>
<img src="images/web.jpg" class="img2">
<a href="Project.html"><div class="button"><p class="buttonint">HTML and CSS</p></div></a>
<a href="Project.html"><div class="button"><p class="buttonint">Javascript</p></div></a>
<div class="block"></div>
