+ 1

Inputs formatting

So I've got a comments input on my website but when the text line reaches the right border of the input, instead of breaking the line it continues writing forward which I think it looks awful... I would like to know how to solve it!

15th Nov 2019, 11:30 AM
Ricardo Quintela
Ricardo Quintela - avatar
4 Respostas
+ 4
Ricardo Quintela , Sorry , I can't understand completely without watching code :) I had same problem recently with <input> tag. So I just used <textarea> instead of input. The problem occurs because with <input type="text"> you can't use `enter` key and text flows only in y-direction. (horizontally) I think it'll be good to use textarea for comment. Hope it works :D
15th Nov 2019, 12:25 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 4
Ricardo Quintela Awesome website 😊 Keep learning, very weldone! I believe <textarea> will do work. It worked for me. also I could watch your source code at view-source:http://fifcreen.epizy.com/?i=1 (including view-source in url) 😁 I'll suggest you to seperate css and js from html, it's still a good project 💪 and if you post it on sololearn you can get more reviews for improvement by other people
15th Nov 2019, 1:03 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 2
Thank you! I'll try it out, if you want to see the code just go to fifcreen.epizy.com which is my test server and watch the font code of the page!
15th Nov 2019, 12:58 PM
Ricardo Quintela
Ricardo Quintela - avatar
+ 1
Thank you!!! I actually tried to separate them but (I don't know why) the server couldn't read the link of the css 😂 Anyways thanks for the tip!!!
15th Nov 2019, 1:12 PM
Ricardo Quintela
Ricardo Quintela - avatar