###[Q] More than one question asked It is preferred if you can post separate questions instead of combining your questions into one. That way, it helps the people answering your question and also others hunting for at least one of your questions. Thanks!
###[Q] No MCVE
Please [edit] your question to include a [mcve]. Please read that link and make sure that the code you post in your question is minimal (only bare minimum of code necessary to reproduce), complete (all of the code necessary to reproduce) and verifiable (we can reproduce the issue using only the code in your question). JsFiddle links don't count as an MCVE. Without an MCVE in your question, this question is off-topic for
###[Q] Working code that needs a review It seems that your code currently works, and you are looking to improve it. Generally these questions are too opinionated for this site, but you might find better luck at the Code Review Stack Exchange. Remember to read their requirements as they are a bit more strict than this site.
###[Q] Looking for a software recommendation Unfortunately, questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic here. However, you may find better luck at Software Recommendations SE. Remember to read their question requirements as they are more strict than this site.
###[A] Nothing but a URL (and isn't spam) Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. This becomes important in the future, as links tend to rot away which leaves the rest of your answer to provide the information.
###[A] Answers without explanations While this answer is probably correct and useful, it is preferred if you include some explanation along with it to explain how it helps to solve the problem. This becomes especially useful in the future, if there is a change (possibly unrelated) that causes it to stop working and users need to understand how it once worked.
###[A] Answer on VLQ Question Please don't post answers on obviously off topic / bad questions! See: Should one advise on off topic questions?
###[A] Answers pointing to other answers
If you feel that this question is a duplicate, it should be marked as such. Please refrain from posting links to other
###[C] Legal or licensing
I'm voting to close this question as off-topic because it is about licensing or legal issues, not programming or software development. Legal and licensing questions are off-topic on
###[C] Customer support I'm voting to close this question as off-topic because we are not customer support for your favorite company.
###[C] Not a programming question I'm voting to close this question as off-topic because this is not a programming question as defined in the help].