I'm trying to add a link for anyone to download my resume on my site. This is what I have
<a href="My Resume.pdf" class='download' download="Resume PDF">Download CV</a>
I believe this is the right format, but it isn't working when I click on the link. The file always attempts to download as an HTML rather than a PDF and fails. Is it because I'm still on the localhost server? Will it be fine when I go public? (I am using angular, by the way, and had to install an extension for the file to be read in VS code.)