I've been stuck on these two basic javascript assignments for an embarrassingly long time. The teacher refuses to help me and the material I've been provided doesn't help me. I just need these two assignments done so I don't fail the class (like I currently am). I appreciate any help you can give

