HELP!! Easy wix code question-

I just watched “Redirect users using Dropdowns in Wix Code” on youtube. I wanted to know how I can separate the lines of code so I can add two dropdown menus with code. What do I do with the api? Right now, when I try to add more than one its faulty.

I guess most of the people here have never watched this specific video and therefore can’t refer to it.
I suggest you’ll try to write the code for it as you understand, and when you get stuck, you should post your code and ask.