From f2e0246cc01941d243b8ca20ff5ee044800fd21b Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Sat, 24 Jun 2017 17:14:23 -0400 Subject: [PATCH] feedback to user --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index c108200..c249035 100644 --- a/index.html +++ b/index.html @@ -115,9 +115,9 @@ }).then((data)=>{ console.log(JSON.parse(data)); if(JSON.parse(data).status == 200){ - console.log('yay'); + $('#submit').parent().text('Your message has been sent! Please wait to hear back from us.'); } else { - console.log('boo'); + $('#submit').val('Some thing went wrong. Try again').addClass('special'); } }); })