Skip to content

Commit

Permalink
import Poppins font from Google Fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
sammdu committed Dec 12, 2021
1 parent 58cedb5 commit 2bb48d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 4 additions & 1 deletion js/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2bb48d5

Please sign in to comment.