Once you have registered a domain name and Hosting, You will get FTP details from your hosting provider.

Use that login details to connect with your server. You will need an FTP Software for this such as FileZilla.

Connect with your server and open /public_html folder in your server.

Then copy all HTML, CSS and JS files from your local machine to your root /public_html folder in your server.

Please note the HTML files should be in the Server’s root folder. If your local project is in /your-folder/ Do not upload the folder directly. Instead, open the folder and select all HTML files and CSS, JS folders, and upload.