From 01b1b5054e88e04c2b8d5ec7db6a68ddf79b66fd Mon Sep 17 00:00:00 2001 From: Mandi Hamza Date: Fri, 8 Dec 2017 15:43:03 -0700 Subject: [PATCH] refactor(challenges): Added Integrity and crossorigin attributes best practice BREAKING CHANGE: N/A --- challenges/03-front-end-libraries/bootstrap.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/03-front-end-libraries/bootstrap.json b/challenges/03-front-end-libraries/bootstrap.json index 52d67a6249..ad718019c5 100644 --- a/challenges/03-front-end-libraries/bootstrap.json +++ b/challenges/03-front-end-libraries/bootstrap.json @@ -42,7 +42,7 @@ "Bootstrap will figure out how wide your screen is and respond by resizing your HTML elements - hence the name Responsive Design.", "With responsive design, there is no need to design a mobile version of your website. It will look good on devices with screens of any width.", "You can add Bootstrap to any app by adding the following code to the top of your HTML:", - "<link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\"/>", + "<link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" integrity=\"sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u\" crossorigin=\"anonymous\"/>", "In this case, we've already added it for you to this page behind the scenes. Note that using either > or /> to close the link tag is acceptable.", "To get started, we should nest all of our HTML (except the link tag and the style element) in a div element with the class container-fluid." ],