Creating an output using two text fields | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Creating an output using two text fields

Need the output to be this for example- jSmith After user types in their first and last names into a form's text boxes, the JavaScript will convert their name to look like the example above. I've included the code I've done so far. Appreciate the help https://code.sololearn.com/WoFqOlkaHYcu/?ref=app

26th Feb 2018, 3:11 PM
Jamie Alexander Blair
Jamie Alexander Blair - avatar
1 Answer
+ 4
res variable is repeated two times and to take the value from html it should only be written "form name.any name.value" avoid writing document.
26th Feb 2018, 4:02 PM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar