Why cannot load the js/css file? [closed] - html

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I download the project in here
Then I opened the index.html, got these error. I checked, url for files are correct.
Updated: I often faced this problem, but I do not know why. I believe the url for the files are correct. I hope someone can download that project and run and let me know the reason. And how to solve the problem I have. I appreciate, so I know how to fix in the future.
I think angularJS's project do not need the localhost server, right?
I followed this tutorial: https://www.sitepoint.com/creating-crud-app-minutes-angulars-resource/

Try running a localhost server instead of directly loading the html from your file browser on your computer (in terminal run a localhost with http-simple server )see if you still get that error. also double check your code to make sure the directory pointing are correct.

Related

My folder (named Notes) which has PDF's in it is in the main folder (named Coding) When i use "a"tag() pdfs in Notes dont show [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed yesterday.
This post was edited and submitted for review yesterday.
Improve this question
First up, I am using VS CODE. The web development course that I am learning on YouTube shows that when is used, the pdfs in Notes show up. When I use nothing comes up. I tried deleting the Notes file and redoing it again, but the same thing happened. I searched for videos but nothing was of use to me. Also, I am a complete beginner.Here is where I am stuck..
I tried zipping the pdfs, deleting the folder, making a new one, searching for videos on YT, and restarting my laptop. Nothing worked. I also used "/" in front of notes ("Notes/"). Still no result. I hope you can help me.
Try using a / after Notes
for example:
as soon as you'll type Notes/, the files inside the notes folder will show up

How do I load my html code to a website, without using word press? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last year.
Improve this question
I built a website from scratch using html and other code. I bought a domain and hoasting with dreamhoasting. I want to load it on my website database but here is my problem:
I don't want to use wordpress, I just want to just run the code as I typed it. Do I need some sort of platform like wordpress to run the files or can I just stick it right in root file in my directory? And how does it work if I update my code? Do I just have to update the page in the root folder? And if anyone knows what is the root folder called? I was looking at my database files and there is one file with my websites name on it with a bunch of Word Press files. I was thinking of just deleting all the WP files in that file and uploading my code files. What do you all think?
yeah, You can put that code on your website. But if that website has no backend then it will be a static website. You won't be able to add any functionality easily.
You can use FileZilla and of course put it in your root directory. You don't need to use WordPress for this. If you want to know how to use FileZilla you can search it out on YouTube or even it is available on their site.

Can I host a HTML site on a server without php and database? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
At the moment I am working at a HTML page and I want to host it on a server, so I need a database or php for this?
Just put your file(s) in the correct directory. What's your web server ? If nothing is changed:
If you use Apache, your html goes in the directory configured in HttpConf as DocumentRoot.
In case of IIS, put your html in C:\inetpub\wwwroot
You can then access your html in a browser using http://yoururl/yourfile.html
No, you can use something like nginx for that. This is a reverse proxy but it can be used to host a directory.

Browsers can't open .php file in xampp [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I was stuck here for a couple of hours. I tried opening my .php in htdocs (localhost/users) using Internet Explorer but it redirect me to download my.php file instead of opening it. I've also tried using Chrome and Opera but it shows cannot locate the file (localhost/users ).I've other related questions here but it seems none is fitting to my question.
Don't open a PHP file directly. Navigate to the URL your web server is running on, usually http://localhost, but the port could differ depending on your configuration. If you set the web server (Apache) to run on a port other than 80, use a URL like http://localhost:1234 instead, where 1234 is the port number.

creating open source online game [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I started creating online open source game as a project in school. It will be server with n connected clients. But now I have a problem with "security". What to do if one client would used modified source code for changing some restrictions? How can I prevent it? My first idea was make client only for connection to server and server would send all necessary files but I don't like this idea very much. Can you advise me something better? Thank you.
You need to keep your validations in the server. The server should check each client move, and if it's not allowed according to the server's rules - reject it.
You should still keep validations in the client, too, so that users who don't mess with the client code can get speedier responses.