I am trying to deploy a simple portfolio website built with HTML, SCSS and JS on Netlify but getting a page not found error after deployment. I have 3 folders,
Now, when I deploy a website and visit a link, I get page not found error. But when I add /pages to the link, my site works. I tried putting /pages in the base directory but then I only see the html page without any css. I also tried putting everything in files/ folder, but the problem is still the same.
Can someone please help me resolve this issue? I shall be thankful to you.