+ 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!!!
4 Antworten
+ 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.
+ 2
Please is it possible for you to make it for us???
+ 1
When I try it, it shows me the actual code
https://code.sololearn.com/WTHsYxp40I0z/?ref=app
+ 1
So, what is the solution now???