Problem Solving Using Javascript To Create