+ 2
How can I fix this?
https://code.sololearn.com/W3A1bMqBEs6Z/?ref=app It was meant to copy text from field 1 to field 2 when clicked on the button!
4 Answers
+ 1
Here's the fix, all I did to your code was remove the line breaks. Compare this fix with what you did.
https://code.sololearn.com/WOhfBACWq6Xo/?ref=app
+ 2
Remove the line breaks you have in your tags.
Example (HTML):
//This is a tag with line breaks
<input
type="text"
/>
//This is a tag without line breaks
<input type="text"/>
+ 2
Thanks
+ 1
Still it doesn't work properly!