From 2bb48d5779fe167e3e8ac38f76b38b616e48ebdc Mon Sep 17 00:00:00 2001 From: Samm Du Date: Sun, 12 Dec 2021 01:40:56 -0500 Subject: [PATCH] import Poppins font from Google Fonts --- css/main.css | 3 +++ js/api.js | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/css/main.css b/css/main.css index 154aa29..b8df922 100644 --- a/css/main.css +++ b/css/main.css @@ -14,6 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. */ +/* import the Poppins font from Google Fonts */ +@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap'); + html, body { background-color: #f6fbfd; color: #1d2345; diff --git a/js/api.js b/js/api.js index c957b1a..a1d6ba0 100644 --- a/js/api.js +++ b/js/api.js @@ -131,7 +131,10 @@ var api = { return results; } else if (response.status == 406) { - return {'error': 'New principal does not result in a loan offer!'}; + return { + 'error': 'New loan principal does not result in a loan offer! ' + + 'Please try a lower amount.' + }; } else { console.log(response);