Ask coding questions

← Back to all posts
Embed Repl.it
AaronZhang314 (4)

Is it possible to display the code and output side by side as opposed to one above the other?

Commentshotnewtop
fmaida (0)

I agree. When I embed a trinket.io widget, side-by-side is really a better layout IMHO.

AaronZhang314 (4)

Is there a way to prevent the code from being edited(saved in the actual file), i just found out that you could

swaffield (0)

@AaronZhang314 I, too, would like a solution to this.

AaronZhang314 (4)

@swaffield I don't know if you knew this but it forks a new repl if you are not the owner (for example if you try editing on incognito)

AaronZhang314 (4)

Also, what is the scrolling = "no" for in the iframe tag?

AaronZhang314 (4)

I thought that it was so that you couldn't scroll in the iframe but I still can

timmy_i_chen (962)

Mind if I ask why you want to put them side by side?

AaronZhang314 (4)

@timmy_i_chen Oh it is just a formatting preference :p

timmy_i_chen (962)

For embeds, this is currently not possible, sorry :(

AaronZhang314 (4)

Can anyone give me a hint on how to edit the iframe using css to accomplish this (if that's how you're supposed to do it) cuz I'm pretty new to this stuff