hcp-uw / syntext

website for practicing your typing
5 stars 0 forks source link

Possible option for user text input (creating our own) #10

Closed elimelt closed 1 year ago

elimelt commented 1 year ago

Keep in mind that everything I am writing here (except using arrow functions) is just a suggestion. If you run into issues with anything I suggested, feel free to find your own workaround. If you're stuck, post a comment with your progress and the roadblock.

Create the following React.js components using arrow functions:

Letter :=

Word :=

Line :=

TextBox :=

elimelt commented 1 year ago

Implemented one possible structure of the component. Still need to finish the function that is triggered when users type, but I broke it down in comments of the different cases and discussed exactly what needed to be done.

This is a pretty approachable issue to tackle right now if anyone wants to jump in and finish what I started!

I named the component "TextArea1" so that I wouldn't have to delete the stuff Rasmus and I have already worked on.

elimelt commented 1 year ago

Resolved! We decided to stick with this implementation.