Can I show another code/page that is my another code bit in this app by using <a> tag . | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Can I show another code/page that is my another code bit in this app by using <a> tag .

I wrote a code where I linked my another code that is in sololearn . But I clicked it wants to open in browser! Why it is not open in the sololearn compiler ?

31st Dec 2022, 6:22 AM
RD:programmer
RD:programmer - avatar
3 Antworten
+ 3
This is here not possible. For that you had to rent a server.
31st Dec 2022, 7:16 AM
JaScript
JaScript - avatar
+ 3
It is not possible(at least I don't know it is, it show error when I try, even with iframe), you can use pages hosted online inside iframe tag but code inside sololearn no. If you wanna practice this part, do it on pc, or if you can't download some editor for phone. You can also use some web editors, some of them support file managing, but for me it is really hard to code from phone on web editors. Here you can, make full website with all pages, hide all except home page by default, when user click at a tag, hide current page and display selected page, but for this you need javascript
31st Dec 2022, 8:46 AM
PanicS
PanicS - avatar
+ 2
Open link in an iframe instead. https://code.sololearn.com/W4VyW45CuHBo/?ref=app
31st Dec 2022, 7:25 AM
Calviղ
Calviղ - avatar