Some js completed examples which we have covered in the previous classes.