How to create extension such as index. html from folder with this app | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to create extension such as index. html from folder with this app

4th Mar 2020, 3:23 AM
Dennis Njuguna
Dennis Njuguna - avatar
3 Answers
+ 2
You mean problem with hyperlinks in your code? The hyperlink should work if you set the 'href' to a public URL. But of course you can't link to a resource just by giving the filename. If you use a link of a code (saved in SoloLearn) in hyperlink, then the link will redirect to SoloLearn code editor, with the said code loaded. But you'd have to run the code to see the real page.
4th Mar 2020, 3:51 AM
Ipang
+ 1
Codes saved in SoloLearn are not physical files. You can name them as you like, but they are actually just data stored in SoloLearn's database. You can however, copy the codes and save them in your device with a name of your choice. That way they become physical files, for which, file extension matters : )
4th Mar 2020, 3:34 AM
Ipang
+ 1
I get stuck when i want to link different pages. The app i find it not easy doing that. Assistance pllis
4th Mar 2020, 3:42 AM
Dennis Njuguna
Dennis Njuguna - avatar