My website uses JavaScript to fetch data from WordPress API, so the final output will be some HTML, CSS, and JS files… But where should I put these files to read data from WordPress API? public_html?

[ad_1]

I'm developing a website, and it has a .js file that fetches the data from WordPress API to display them in the .html files. Right now I'm working with XAMPP, and everything works fine in localhost.

But, in the live version, I know I have to put WordPress in public_html, but where do I put the folder that contains .html, .css, and .js files? Just in public_html?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer