0
Web project execution?
Hello guys, I made a chat boat using HTML CSS and JS. It runs on this app correctly. But I want to see my project in my browser, so how can I save this all three files together and run it properly? I have tried it but I don't found the "save to device" option in this app. I want to save my project on my device and run it. I want to see everything with HTML like CSS style and JS commands also. I have copied all code and pasted on other code editor app, then I have saved it. When I try to run the file, it only runs HTML file on Chrome browser. CSS style JavaScript are not includes in it. So how can I run everything? how can I see my all project? Please guide me. Thank you...
1 ответ
+ 2
If you want to work with multiple documents.
Include this in your index.html document.
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<script src="script.js"></script>
</body>
Now, create two separate documents: Save as
style.css: Here, you put your CSS code.
script.js: Here, you put your JavaScript code.
Now, put all 3 documents in the same folder.
Open the index.html in your browser.