Is there any other way of embedding external css with android device?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there any other way of embedding external css with android device??

I just downloaded a web master text editor with my Android device, the html part is working fine but whenever I embed an external css or js it doesn't work here's the structure <!DOCTYPE html> <html> <head> <title>Stop watch</title> <meta charset="UTF-8"/> <link rel="stylesheet" href="styles.css" type="text/css"/> </head> <body> <h1 id="timer"> 00:00.000 </hi><br /> <button id="toggle">Start</button> <button id="reset">Rest</button> </body> </html> //the css is saved as styles.css

16th Nov 2018, 2:37 PM
Ibiam Godfavour Chukwuemeka
Ibiam Godfavour Chukwuemeka - avatar
7 Answers
+ 1
Can you show us your code and file structure ?
16th Nov 2018, 2:44 PM
Taste
Taste - avatar
+ 1
Is it in the same folder ? Did your browser has a storage access permissiom ? Wht does the url looks like ?
16th Nov 2018, 4:21 PM
Taste
Taste - avatar
+ 1
Your code are fine, the problem probably in you os or your browser. (thats why i ask your browser permission) You can try to use full path instead of relative path Or use http server app to run the code
16th Nov 2018, 7:38 PM
Taste
Taste - avatar
0
I have edited the post and insert my code
16th Nov 2018, 4:11 PM
Ibiam Godfavour Chukwuemeka
Ibiam Godfavour Chukwuemeka - avatar
0
I saved both the html and css part in a particular folder. the browser opens the html but the external css won't display but internal css always display
16th Nov 2018, 7:16 PM
Ibiam Godfavour Chukwuemeka
Ibiam Godfavour Chukwuemeka - avatar
0
or maybe you can just tell me how to embed external css with android device
16th Nov 2018, 7:27 PM
Ibiam Godfavour Chukwuemeka
Ibiam Godfavour Chukwuemeka - avatar
0
Thanks lemme check it out
17th Nov 2018, 8:56 AM
Ibiam Godfavour Chukwuemeka
Ibiam Godfavour Chukwuemeka - avatar