Hacker News new | ask | show | jobs
by vunderba 81 days ago
Nice job. There are a couple of these already out there:

https://www.speedcoder.net

https://typing.io

Feedback:

You really need to let people use the Tab key instead of having to insert spaces manually. Even better would be to automatically start new lines at the correct indentation level, since Tab is often intercepted by browsers.

The current layout introduces ugly horizontal scroll bars when the viewport is even modestly resized, especially because the code snippets already use a fairly large font. As a result, you can’t see all the text at once. Since the program doesn’t auto-scroll to keep the cursor in view, it becomes very difficult to use unless you run it full screen.

1 comments

Hey thanks for the feedback, the text should auto scroll, I have setup a minimum of 4 lines at the bottom, but this is maybe broken because of the overflow you talk about. I'm going to update that :)

Also, the two site you show got a shitload of cookie and login requirement. I plan to build something with no data being resold or login. Don't know if its a good idea ^^

Less cookie/login is always a plus. I've been using uBlock Origin on Firefox for so long I don't even notice stuff like that anymore.

One more bit of feedback - you left the React default favicon in the app, so you might want to change that as well.

That weird I have added a favicon last night, thanks for the feedback, I'm going to check that too
Sure. It also might just be a local caching issue - I've definitely experienced this on my apps before.