How to number lines in text editor | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to number lines in text editor

Someone should help me create a html js code that will enable line numberring in a text editor (like a code editor numbering when text breaks a new line is created)

21st Nov 2023, 8:52 AM
Chii machine
2 Answers
+ 3
People can help you, but the forum is to answer questions. Do you have a code that isn't working? Read the following and someone can help you (but they shouldn't write the code for you): https://www.sololearn.com/discuss/3021159/?ref=app https://code.sololearn.com/Wek0V1MyIR2r/?ref=app https://code.sololearn.com/WZ8lkR6gTex6/?ref=app https://code.sololearn.com/W0uW3Wks8UBk/?ref=app
21st Nov 2023, 9:48 AM
Ausgrindtube
Ausgrindtube - avatar
+ 2
Googling your question brings up a few solutions, try some. If they work, great! Otherwise try debugging it, lemme know what issues you're facing specifically so I can help Links in the reply by @Ausgrindtube have info on how to post code, how to search up questions like yours. Try giving it a read and implementing it for this question. Looking forward to see your code and helping you out!
21st Nov 2023, 12:55 PM
Mohammed shoaib