3
I’m creating a web game where a user types a code in HTML and the result is shown beside. I want to change the cursor that appears in the text area or make it look like a rectangle (like the Linux terminal) and I couldn’t make it work. The following screen shows what I want:
On the screen appears the cursor and it needs to move when the user type something in the text area. I would like to know how to do this in Angularjs or Javascript. I imagine it would be interesting to make the text input be small with the cursor on the right and then, as the user type, the input size increases to the right taking the course along.
This will only make the cursor disappear! And how will you put the custom courses like the terminal as he said? And how are you going to do these courses walk along with the text while he type?
– hugocsl