could use some help with lines 80-86 showing the brandInput variable but not the result (showing flavor)
It looks like the problem is coming from the list of ramen varieties being sorted before the user has selected an input. By placing searchList()
before flavorResults()
in the event handler for nextButton, I was able to get results to appear. If you’re still having trouble with it, see if calling the sorting functions after the user selects an input helps.
1 Like