Images as buttons?

Hello, I’m trying to use an image as a button. in html I would use :

<a href="/_projects/blog-site-project.html">
        <img src="/assets/img/img_5terre.jpg" alt="Cinque Terre" width="600" height="400">
    </a>

but this is not working, I’m getting a “page doesn’t exist” error when clicking the image. Is there some other way to do this in jekyll? I was under the assumption that html would work as normal. if you want to look at my code, I can paste the whole html here or here’s the link to the offending page where I’m trying to put the code:

also a link to my site:
www.andevr.dev

Thank you.

Change

href="/_projects/blog-site-project.html">

Into

href="/projects/blog-site-project.html">