If and Else Statements Bug

I have been learning some basic JavaScript lately and have run into a problem. My Code looks like this: My problem is that when I run the code and enter my name the page will say this: >You LOVE BACON!!!You have not entered your name yet. My else statement appears with my if statement as well.

以上就是If and Else Statements Bug的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准