+ 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.
10 Respuestas
+ 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.
+ 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.
+ 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 ,
+ 2
Thanks for introducing this 💎 with me.🙏🙏
It is best editor.
+ 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).
+ 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.
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.
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.🙏
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"
0
🥰🥰🥰
Nice 👍 it's best.
One more question🙏🙏🙏
It is support auto save or i have to save from anYwhere after updating code.??