It would probably take an hour or so to explain this, and much longer to master this
But I take it, that you are having problems with understanding the record-collection problem. Care to give us a little more detail on what you’re hung up on?
this is a good start, once you fix the syntax: you never close the if statement so having an else statement there is giving syntax errors
check again how you write an if/else if/else chain, fixing where you put the parenthesis and you will see that you will start completing a good number of tests
are you trying to use the push method? I sggest you review how it works, because what you are doing here is creating a new property of the collection object