Click here to view more cat photos.
-
Things cats love:
@@ -160,7 +160,7 @@ assert($('img').css('border-left-color') === 'rgb(0, 128, 0)');Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.md index aee5ef27318..3e24a525849 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.md @@ -71,7 +71,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
@@ -134,7 +134,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/change-the-color-of-text.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/change-the-color-of-text.md index cb1529dddb8..7057023cd31 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/change-the-color-of-text.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/change-the-color-of-text.md @@ -56,7 +56,7 @@ assert($('h2').attr('style') && $('h2').attr('style').endsWith(';'));Click here to view more cat photos.
-
Things cats love:
@@ -92,7 +92,7 @@ assert($('h2').attr('style') && $('h2').attr('style').endsWith(';'));Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/change-the-font-size-of-an-element.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/change-the-font-size-of-an-element.md index 93152eeae64..bbd64626de7 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/change-the-font-size-of-an-element.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/change-the-font-size-of-an-element.md @@ -44,7 +44,7 @@ assert(code.match(/p\s*{\s*font-size\s*:\s*16\s*px\s*;\s*}/i));Click here to view more cat photos.
-
Things cats love:
@@ -89,7 +89,7 @@ assert(code.match(/p\s*{\s*font-size\s*:\s*16\s*px\s*;\s*}/i));Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/give-a-background-color-to-a-div-element.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/give-a-background-color-to-a-div-element.md index 9b29ee1a868..aad5fc61870 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/give-a-background-color-to-a-div-element.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/give-a-background-color-to-a-div-element.md @@ -79,7 +79,7 @@ assert(code.match(/\.silver-background\s*{\s*background-color\s*:\s*silver\s*;?\Click here to view more cat photos.
-
Things cats love:
@@ -146,7 +146,7 @@ assert(code.match(/\.silver-background\s*{\s*background-color\s*:\s*silver\s*;?\Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md index a946db23935..9bdc354ce17 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.md @@ -93,7 +93,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
@@ -145,7 +145,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/make-circular-images-with-a-border-radius.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/make-circular-images-with-a-border-radius.md index 8798810955e..a419b2eb155 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/make-circular-images-with-a-border-radius.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/make-circular-images-with-a-border-radius.md @@ -65,7 +65,7 @@ assert(code.match(/50%/g));Click here to view more cat photos.
-
Things cats love:
@@ -129,7 +129,7 @@ assert(code.match(/50%/g));Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/set-the-font-family-of-an-element.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/set-the-font-family-of-an-element.md index 5e221db5467..83f4a8e1db8 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/set-the-font-family-of-an-element.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/set-the-font-family-of-an-element.md @@ -55,7 +55,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
@@ -102,7 +102,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/set-the-id-of-an-element.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/set-the-id-of-an-element.md index 933ce15b194..88b3ecbc661 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/set-the-id-of-an-element.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/set-the-id-of-an-element.md @@ -73,7 +73,7 @@ assert($('form').attr('id') === 'cat-photo-form');Click here to view more cat photos.
-
Things cats love:
@@ -140,7 +140,7 @@ assert($('form').attr('id') === 'cat-photo-form');Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/size-your-images.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/size-your-images.md index c1e7b85f02b..6d2d130816b 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/size-your-images.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/size-your-images.md @@ -31,7 +31,7 @@ Your `img` element should have the class `smaller-image`. ```js assert( - $("img[src='https://bit.ly/fcc-relaxing-cat']").attr('class') + $("img[src='https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg']").attr('class') .trim().split(/\s+/g).includes('smaller-image') ); ``` @@ -70,7 +70,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
@@ -126,7 +126,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/specify-how-fonts-should-degrade.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/specify-how-fonts-should-degrade.md index 963681932a7..955b5f81a23 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/specify-how-fonts-should-degrade.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/specify-how-fonts-should-degrade.md @@ -90,7 +90,7 @@ assert(new RegExp('[^fc]-->', 'gi').test(code));Click here to view more cat photos.
-
Things cats love:
@@ -142,7 +142,7 @@ assert(new RegExp('[^fc]-->', 'gi').test(code));Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/style-multiple-elements-with-a-css-class.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/style-multiple-elements-with-a-css-class.md index 0db1bcf0bf0..d474e349f00 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/style-multiple-elements-with-a-css-class.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/style-multiple-elements-with-a-css-class.md @@ -61,7 +61,7 @@ assert($('p:eq(0)').hasClass('red-text'));Click here to view more cat photos.
-
Things cats love:
@@ -103,7 +103,7 @@ assert($('p:eq(0)').hasClass('red-text'));Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-a-css-class-to-style-an-element.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-a-css-class-to-style-an-element.md index 04afa43ecd9..4fbfab5018c 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-a-css-class-to-style-an-element.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-a-css-class-to-style-an-element.md @@ -70,7 +70,7 @@ assert($('h2').attr('style') === undefined);Click here to view more cat photos.
-
Things cats love:
@@ -112,7 +112,7 @@ assert($('h2').attr('style') === undefined);Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-an-id-attribute-to-style-an-element.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-an-id-attribute-to-style-an-element.md index 9523b540b60..edb06ec2ec8 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-an-id-attribute-to-style-an-element.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-an-id-attribute-to-style-an-element.md @@ -96,7 +96,7 @@ assert(!code.match(/Click here to view more cat photos.
-
Things cats love:
@@ -167,7 +167,7 @@ assert(!code.match(/Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-attribute-selectors-to-style-elements.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-attribute-selectors-to-style-elements.md index 168cb6005c9..50de46dd43f 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-attribute-selectors-to-style-elements.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-attribute-selectors-to-style-elements.md @@ -109,7 +109,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
@@ -180,7 +180,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-css-selectors-to-style-elements.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-css-selectors-to-style-elements.md index da7162df0f5..a56e9494f24 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-css-selectors-to-style-elements.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-css-selectors-to-style-elements.md @@ -87,7 +87,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
@@ -128,7 +128,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form.md index d5e3e499c26..25f446b403d 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form.md @@ -64,7 +64,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
-
@@ -91,7 +91,7 @@ assert(
- milk diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-form-element.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-form-element.md index 88e90bf4c82..bd686cbc4bb 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-form-element.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-form-element.md @@ -60,7 +60,7 @@ assert(
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-images-to-your-website.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-images-to-your-website.md
index f018d4eb2f1..620cda1a2b9 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-images-to-your-website.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/add-images-to-your-website.md
@@ -37,7 +37,7 @@ Let's try to add an image to our website:
Within the existing `main` element, insert an `img` element before the existing `p` elements.
-Now set the `src` attribute so that it points to the url `https://www.bit.ly/fcc-relaxing-cat`
+Now set the `src` attribute so that it points to the url `https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg`
Finally, don't forget to give your `img` element an `alt` attribute with applicable text.
@@ -52,7 +52,7 @@ assert($('img').length);
Your image should have a `src` attribute that points to the kitten image.
```js
-assert(/^https:\/\/(www\.)?bit\.ly\/fcc-relaxing-cat$/i.test($('img').attr('src')));
+assert(/^https:\/\/cdn\.freecodecamp\.org\/curriculum\/cat-photo-app\/relaxing-cat\.jpg$/i.test($('img').attr('src')));
```
Your image element's `alt` attribute should not be empty.
@@ -86,7 +86,7 @@ assert(
```html
CatPhotoApp
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
Click here to view more cat photos.
-
Things cats love:
-
@@ -89,7 +89,7 @@ assert($('input[type=text]').length > 0);
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/check-radio-buttons-and-checkboxes-by-default.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/check-radio-buttons-and-checkboxes-by-default.md
index 1e631cee5b4..4767266d490 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/check-radio-buttons-and-checkboxes-by-default.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/check-radio-buttons-and-checkboxes-by-default.md
@@ -44,7 +44,7 @@ assert($('input[type="checkbox"]').prop('checked'));
Click here to view more cat photos.
-
Things cats love:
-
@@ -77,7 +77,7 @@ assert($('input[type="checkbox"]').prop('checked'));
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.md
index d0bab4b10e0..c625011ae19 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.md
@@ -77,7 +77,7 @@ assert($('ul li').filter((_, item) => !$(item).text().trim()).length === 0);
Click here to view more cat photos.
-
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
@@ -91,7 +91,7 @@ assert($('ul li').filter((_, item) => !$(item).text().trim()).length === 0);Click here to view more cat photos.
-
Click here to view more cat photos.
-
Things cats love:
-
@@ -85,7 +85,7 @@ assert(
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-checkboxes.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-checkboxes.md
index 689ee5b4652..133795f0326 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-checkboxes.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-checkboxes.md
@@ -76,7 +76,7 @@ assert($('label').parent().get(0).tagName.match('FORM'));
Click here to view more cat photos.
-
Things cats love:
-
@@ -106,7 +106,7 @@ assert($('label').parent().get(0).tagName.match('FORM'));
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons.md
index 7f18d4cd69d..be47130db34 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons.md
@@ -108,7 +108,7 @@ assert($('label').parent().get(0).tagName.match('FORM'));
Click here to view more cat photos.
-
Things cats love:
-
@@ -136,7 +136,7 @@ assert($('label').parent().get(0).tagName.match('FORM'));
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-text-field.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-text-field.md
index e35075697a0..27b4210292e 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-text-field.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-text-field.md
@@ -42,7 +42,7 @@ assert($('input[type=text]').length > 0);
Click here to view more cat photos.
-
Things cats love:
-
@@ -68,7 +68,7 @@ assert($('input[type=text]').length > 0);
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-an-ordered-list.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-an-ordered-list.md
index 3cace587127..2684bfe9035 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-an-ordered-list.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-an-ordered-list.md
@@ -119,7 +119,7 @@ $('ol li').each((i, val) =>
Click here to view more cat photos.
-
Things cats love:
-
@@ -139,7 +139,7 @@ $('ol li').each((i, val) =>
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements.md
index de03963417d..d21efdc86f8 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements.md
@@ -56,7 +56,7 @@ assert(
-
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
@@ -69,7 +69,7 @@ assert(CatPhotoApp
cat photos
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/link-to-internal-sections-of-a-page-with-anchor-elements.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/link-to-internal-sections-of-a-page-with-anchor-elements.md index c5a2c912289..814e2867139 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/link-to-internal-sections-of-a-page-with-anchor-elements.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/link-to-internal-sections-of-a-page-with-anchor-elements.md @@ -87,7 +87,7 @@ assert($('footer').eq(0).attr('id') == 'footer'); cat photos -
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff. Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff. Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
@@ -107,7 +107,7 @@ assert($('footer').eq(0).attr('id') == 'footer'); Jump to Bottom -
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff. Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff. Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/make-dead-links-using-the-hash-symbol.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/make-dead-links-using-the-hash-symbol.md index 1858de30427..4408a309a56 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/make-dead-links-using-the-hash-symbol.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/make-dead-links-using-the-hash-symbol.md @@ -36,7 +36,7 @@ assert($('a').attr('href') === '#');Click here to view more cat photos.
-
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
@@ -50,7 +50,7 @@ assert($('a').attr('href') === '#');Click here to view more cat photos.
-
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md index 8b641a9e848..2006c224b32 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md @@ -141,7 +141,7 @@ assert( cat photos -
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
@@ -155,7 +155,7 @@ assert(View more cat photos
-
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-many-elements-within-a-single-div-element.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-many-elements-within-a-single-div-element.md index 730b9924824..3458df10681 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-many-elements-within-a-single-div-element.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-many-elements-within-a-single-div-element.md @@ -59,7 +59,7 @@ assert(Click here to view more cat photos.
-
Things cats love:
-
@@ -93,7 +93,7 @@ assert(
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md
index 619ef43d1b7..bf5a53ebe44 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md
@@ -14,7 +14,7 @@ You can make elements into links by nesting them within an `a` element.
Nest your image within an `a` element. Here's an example:
```html
-
```
Remember to use `#` as your `a` element's `href` property in order to turn it into a dead link.
@@ -58,7 +58,7 @@ assert(
Click here to view more cat photos.
-
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
@@ -72,7 +72,7 @@ assert(Click here to view more cat photos.
-
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/use-html5-to-require-a-field.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/use-html5-to-require-a-field.md index a2492bbbb48..94c726f268f 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/use-html5-to-require-a-field.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/use-html5-to-require-a-field.md @@ -36,7 +36,7 @@ assert($('input').prop('required'));Click here to view more cat photos.
-
Things cats love:
-
@@ -64,7 +64,7 @@ assert($('input').prop('required'));
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes.md
index cc72be0a8e8..79dbae43b43 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes.md
@@ -88,7 +88,7 @@ assert(
Click here to view more cat photos.
-
Things cats love:
-
@@ -121,7 +121,7 @@ assert(
Click here to view more cat photos.
-
Things cats love:
-
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-cat-photo-app/part-008.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-cat-photo-app/part-008.md
index 85133ca8482..42f095135f6 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-html-cat-photo-app/part-008.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-cat-photo-app/part-008.md
@@ -9,7 +9,7 @@ dashedName: part-8
HTML attributes are special words used inside the opening tag of an element to control the element's behavior. The `src` attribute in an `img` element specifies the image's URL (where the image is located). An example of an `img` element using an `src` attribute: `
`.
-Add an `src` attribute to the existing `img` element that is set to the following URL: `https://bit.ly/fcc-relaxing-cat`.
+Add an `src` attribute to the existing `img` element that is set to the following URL: `https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg`.
# --hints--
@@ -25,16 +25,16 @@ Your `img` element should have an `src` attribute. You have either omitted the a
assert(document.querySelector('img').src);
```
-Your `img` element's `src` attribute should be set to '`https://bit.ly/fcc-relaxing-cat`'. You have either omitted the URL or have a typo. The case of the URL is important.
+Your `img` element's `src` attribute should be set to '`https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg`'. You have either omitted the URL or have a typo. The case of the URL is important.
```js
-assert(document.querySelector('img').src === 'https://bit.ly/fcc-relaxing-cat');
+assert(document.querySelector('img').src === 'https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg');
```
Although you have set the `img` element's `src` to the correct URL, it is recommended to always surround the value of an attribute with quotation marks.
```js
-assert(!/\Click here to view more cat photos.
--fcc-editable-region-- -
--fcc-editable-region--
```
# --instructions--
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/add-borders-around-your-elements.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/add-borders-around-your-elements.md
index d8cd9ce2f30..0aa95c6af1f 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-css/add-borders-around-your-elements.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/add-borders-around-your-elements.md
@@ -98,7 +98,7 @@ assert($('img').css('border-left-color') === 'rgb(0, 128, 0)');