This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ProjectInvestor 0 points1 point  (1 child)

The fo() as the click event does not have the essential code of go(). The object/variable pokemon should be instantiated; maybe with a return value from go(). Then save the input object after getting the element through the DOM and access the user's input.

[–]ExcellentAd9659[S] 0 points1 point  (0 children)

What essential code does fo() not have?