External css and js linking error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

External css and js linking error

I had learnt html css and js on sololearn so fount no problem in linking external files here. But now i want to do some original so i tried coding with Droidedit editor on android. I created test.html and style.css in same folder and use the link as <link rel="stylesheet" href="style.css" > in test.html head tag ๐Ÿ˜”๐Ÿ˜”but it's not working๐Ÿ˜”๐Ÿ˜” When i cut/paste that code as internal css it working very well.it means there is a linking problem. So I'm here to ask to anyone who had tried external css/js link on android about hiw to fix it. Plz ๐Ÿ™ share tips if someone had successfully try external css/js linking on android.

25th Sep 2020, 11:50 AM
Divya Mohan
Divya Mohan - avatar
10 Answers
+ 2
Divya Mohan , I haven't tried DroidEdit. Spck works for me. Just click on 3 lines at top left corner and it'll open file tree view. You can add new files simply by using + button. Linking files is same as you did in you question.
25th Sep 2020, 12:52 PM
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰ - avatar
+ 2
Divya Mohan , Check if both files are in same folder using file explorer. I'll suggest using spck editor. It's best ide for web on android and also includes live-server, dev-tools,git vcs.
25th Sep 2020, 12:34 PM
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰ - avatar
+ 2
In Droidedit I can't even save a file ,I use acode editor tho ,I just tried linking Hello.css which in is in internal storage to my html file which is in internal storage as well like /storage/emulated/0/Hello.css doesn't works for me as well ,
25th Sep 2020, 12:42 PM
Abhay
Abhay - avatar
+ 2
Thanks for introducing this ๐Ÿ’Ž with me.๐Ÿ™๐Ÿ™ It is best editor.
25th Sep 2020, 1:40 PM
Divya Mohan
Divya Mohan - avatar
+ 1
Hey ๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰ I have just tried spck It has same concept as sololearn every thing is already linked but what i like is it has been done using link tag which i want to see. But just clear me a doubt: I can't open sololearn file on cheome independently (means it open in sololearn website). ๐Ÿ‘‰๐Ÿ‘‰How can i open the project of spck editor on chrome independently. (Not in preview of spck).
25th Sep 2020, 1:16 PM
Divya Mohan
Divya Mohan - avatar
+ 1
It has autosave feature but deleting the app will remove all app related data including files, projects. Use vcs to keep backup of your data and avoid accidental data loss. You can add your Github, Bitbucket or Gitlab account from settings.
25th Sep 2020, 1:37 PM
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰ - avatar
0
โ˜† Akash โ˜† Code is working perfectly fine with internal css. And even html code is showing image is also without css effect. U can see code here https://www.sololearn.com/post/612522/?ref=app By the way it is same code "3d-cube using css only" in my code bits.
25th Sep 2020, 12:19 PM
Divya Mohan
Divya Mohan - avatar
0
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰ have you tried external css/js file linking in spck editor. Bcz i don't have problem with editor.i don't have technique to link external file to html. What the benefit if i used spec but i can't link files there so i want to clear if you have tried it successfully there. And if yes plz share that tech also.๐Ÿ™
25th Sep 2020, 12:48 PM
Divya Mohan
Divya Mohan - avatar
0
To open project in chrome : 1. press green play button in top right corner. It'll open preview. 2.While you are in preview mode click on 3 dots at top right corner. Here you'll get option "Open in browser"
25th Sep 2020, 1:22 PM
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰ - avatar
0
๐Ÿฅฐ๐Ÿฅฐ๐Ÿฅฐ Nice ๐Ÿ‘ it's best. One more question๐Ÿ™๐Ÿ™๐Ÿ™ It is support auto save or i have to save from anYwhere after updating code.??
25th Sep 2020, 1:25 PM
Divya Mohan
Divya Mohan - avatar