From 8a786cd5e599e46703acecac968e003da7bde916 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Sat, 6 Aug 2016 15:24:00 -0700 Subject: [PATCH] Fix(challenges): Add font-awesome --- .../bootstrap.json | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/challenges/01-front-end-development-certification/bootstrap.json b/challenges/01-front-end-development-certification/bootstrap.json index 182bba334cd..08e25c1d5e0 100644 --- a/challenges/01-front-end-development-certification/bootstrap.json +++ b/challenges/01-front-end-development-certification/bootstrap.json @@ -1222,6 +1222,12 @@ { "id": "bad87fee1348bd9aedd08845", "title": "Add Font Awesome Icons to our Buttons", + "required": [ + { + "link": "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css", + "raw": true + } + ], "description": [ "Font Awesome is a convenient library of icons. These icons are vector graphics, stored in the .svg file format. These icons are treated just like fonts. You can specify their size using pixels, and they will assume the font size of their parent HTML elements.", "You can add Font Awesome to any app just by including it by adding the following code to the top of your HTML:", @@ -1328,6 +1334,12 @@ { "id": "bad87fee1348bd9aedc08845", "title": "Add Font Awesome Icons to all of our Buttons", + "required": [ + { + "link": "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css", + "raw": true + } + ], "description": [ "Font Awesome is a convenient library of icons. These icons are vector graphics, stored in the .svg file format. These icons are treated just like fonts. You can specify their size using pixels, and they will assume the font size of their parent HTML elements.", "Use Font Awesome to add an info-circle icon to your info button and a trash icon to your delete button." @@ -1418,6 +1430,12 @@ { "id": "bad87fee1348bd9aedb08845", "title": "Responsively Style Radio Buttons", + "required": [ + { + "link": "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css", + "raw": true + } + ], "description": [ "You can use Bootstrap's col-xs-* classes on form elements, too! This way, our radio buttons will be evenly spread out across the page, regardless of how wide the screen resolution is.", "Nest all of your radio buttons within a <div class=\"row\"> element. Then nest each of them within a <div class=\"col-xs-6\"> element." @@ -1508,6 +1526,12 @@ { "id": "bad87fee1348bd9aeda08845", "title": "Responsively Style Checkboxes", + "required": [ + { + "link": "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css", + "raw": true + } + ], "description": [ "You can use Bootstrap's col-xs-* classes on form elements, too! This way, our checkboxes will be evenly spread out across the page, regardless of how wide the screen resolution is.", "Nest all your checkboxes in a <div class=\"row\"> element. Then nest each of them in a <div class=\"col-xs-4\"> element." @@ -1606,6 +1630,12 @@ { "id": "bad87fee1348bd9aed908845", "title": "Style Text Inputs as Form Controls", + "required": [ + { + "link": "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css", + "raw": true + } + ], "description": [ "You can add the fa-paper-plane Font Awesome icon by adding <i class=\"fa fa-paper-plane\"></i> within your submit button element.", "Give your form's text input field a class of form-control. Give your form's submit button the classes btn btn-primary. Also give this button the Font Awesome icon of fa-paper-plane." @@ -1712,6 +1742,12 @@ { "id": "bad87fee1348bd9aec908845", "title": "Line up Form Elements Responsively with Bootstrap", + "required": [ + { + "link": "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css", + "raw": true + } + ], "description": [ "Now let's get your form input and your submission button on the same line. We'll do this the same way we have previously: by using a div element with the class row, and other div elements within it using the col-xs-* class.", "Nest both your form's text input and submit button within a div with the class row. Nest your form's text input within a div with the class of col-xs-7. Nest your form's submit button in a div with the class col-xs-5.",