+ 3

how to embed external html file in sololearn (please we need code example)

<a href="about-us">about us</a> By clicking something and navigate you to another Html file, (WE TRY WINDOW.LOCATION="URL") but it didn't work. We need code sample!!!

1st Dec 2020, 8:43 AM
Mahlud🇳🇬
4 Respuestas
+ 2
Get your external html ready, post it in Dropbox or GoogleDrive, create a public link, copy that link, and use the same link with href= Suppose the link of that html file is xyz.efg, then you can do, <a href="xyz.efg">ABOUT</a> This is of same way as importing images in sololearn.. Hope this helps💪 Happy coding 😊 [edit] This solution isn't working. its opening the file in browser, and couldn't solve the issue.
1st Dec 2020, 9:10 AM
Charitra
Charitra - avatar
+ 2
Please is it possible for you to make it for us???
1st Dec 2020, 1:53 PM
Mahlud🇳🇬
+ 1
When I try it, it shows me the actual code https://code.sololearn.com/WTHsYxp40I0z/?ref=app
1st Dec 2020, 1:52 PM
Mahlud🇳🇬
+ 1
So, what is the solution now???
1st Dec 2020, 5:52 PM
Mahlud🇳🇬