Student is looking for a way to filter the data in a column by a range of dates (eg. 1980-1989) rather than by a single value (eg. 1980). Is there a simple way of doing this?
The student is trying to create a conditional to do the task, but this is not working. I can see that there is a disconnect between the input variable (line 12) and the filtering of lists beginning on line 23, but I’m not sure how to help him resolve the issue and accomplish the filtering goal.
Thank you
I’d recommend Array.prototype.sort
or [].sort()
for short you can find documentation about the specifics here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort feel free to update the thread if you still are not able to resolve it even with the documentation i have given you
Varrience
Please confirm that this project is not part of the Create PT submission. As you know students cannot get any help on their Create PT except from a collaborative partner. Once you confirm, I can give some suggestions on how to approach the problem.