diff --git a/api-server/server/utils/commit.json b/api-server/server/utils/commit.json index 03dbed622a..3fa35468fa 100644 --- a/api-server/server/utils/commit.json +++ b/api-server/server/utils/commit.json @@ -5,7 +5,7 @@ "donateUrl": "https://www.girldevelopit.com/donate", "description": "Girl Develop It provides in-person classes for women to learn to code.", "imgAlt": "Girl Develop It participants coding at tables.", - "imgUrl": "https://i.imgur.com/U1CyEuA.jpg" + "imgUrl": "https://cdn-media-1.freecodecamp.org/imgr/U1CyEuA.jpg" }, { "name": "black girls code", @@ -13,7 +13,7 @@ "donateUrl": "http://www.blackgirlscode.com/", "description": "Black Girls CODE is devoted to showing the world that black girls can code, and do so much more.", "imgAlt": "Girls developing code with instructor", - "imgUrl": "https://i.imgur.com/HBVrdaj.jpg" + "imgUrl": "https://cdn-media-1.freecodecamp.org/imgr/HBVrdaj.jpg" }, { "name": "coderdojo", @@ -21,7 +21,7 @@ "donateUrl": "https://www.globalgiving.org/projects/coderdojo-start-a-dojo-support/", "description": "CoderDojo is the global network of free computer programming clubs for young people.", "imgAlt": "Two adults help several kids program on their laptops.", - "imgUrl": "https://i.imgur.com/701RLfV.jpg" + "imgUrl": "https://cdn-media-1.freecodecamp.org/imgr/701RLfV.jpg" }, { "name": "women who code", @@ -29,7 +29,7 @@ "donateUrl": "https://www.womenwhocode.com/donate", "description": "Women Who Code (WWCode) is a global leader in propelling women in the tech industry.", "imgAlt": "Four women sitting in a classroom together learning to code.", - "imgUrl": "https://i.imgur.com/tKUi6Rf.jpg" + "imgUrl": "https://cdn-media-1.freecodecamp.org/imgr/tKUi6Rf.jpg" }, { "name": "girls who code", @@ -37,7 +37,7 @@ "donateUrl": "http://girlswhocode.com/", "description": "Girls Who Code programs work to inspire, educate, and equip girls with the computing skills to pursue 21st century opportunities.", "imgAlt": "Three women smiling while they code on a computer together.", - "imgUrl": "https://i.imgur.com/op8BVph.jpg" + "imgUrl": "https://cdn-media-1.freecodecamp.org/imgr/op8BVph.jpg" }, { "name": "hack club", @@ -45,6 +45,6 @@ "donateUrl": "https://hackclub.com/donate", "description": "Hack Club helps high schoolers start after-school coding clubs.", "imgAlt": "A bunch of high school students posing for a photo in their Hack Club.", - "imgUrl": "https://i.imgur.com/G2YvPHf.jpg" + "imgUrl": "https://cdn-media-1.freecodecamp.org/imgr/G2YvPHf.jpg" } ] diff --git a/api-server/server/views/commit/pledge.jade b/api-server/server/views/commit/pledge.jade index 635339a00d..b787551c97 100644 --- a/api-server/server/views/commit/pledge.jade +++ b/api-server/server/views/commit/pledge.jade @@ -11,5 +11,5 @@ block content | of completing your #{goal} .row .col-xs-12.col-sm-6.col-sm-offset-3 - img.img-responsive(src='//i.imgur.com/U1CyEuA.jpg' alt="Girl Develop It participants coding at tables.") + img.img-responsive(src='https://cdn-media-1.freecodecamp.org/imgr/U1CyEuA.jpg' alt="Girl Develop It participants coding at tables.") p Girl Develop It is a nonprofit that provides in-person classes for women to learn to code. diff --git a/client/src/pages/index.js b/client/src/pages/index.js index 9f032c3be4..2f4f6cd6ce 100644 --- a/client/src/pages/index.js +++ b/client/src/pages/index.js @@ -103,7 +103,7 @@ const IndexPage = () => ( alt="Meta's testimonial image" className='testimonial-image img-center' responsive={true} - src='https://i.imgur.com/nsvNixW.jpg' + src='https://cdn-media-1.freecodecamp.org/imgr/nsvNixW.jpg' />
Through freeCodeCamp, I built a robust and highly functional web app @@ -116,7 +116,7 @@ const IndexPage = () => ( alt="Brian's testimonial image" className='testimonial-image img-center' responsive={true} - src='https://i.imgur.com/QPpjPac.jpg' + src='https://cdn-media-1.freecodecamp.org/imgr/QPpjPac.jpg' />
freeCodeCamp is a great way for disabled veterans like me to @@ -129,7 +129,7 @@ const IndexPage = () => ( alt="Maxim Orlov's testimonial image" className='testimonial-image img-center' responsive={true} - src='https://i.imgur.com/wjlDigg.jpg' + src='https://cdn-media-1.freecodecamp.org/imgr/wjlDigg.jpg' />
I joined freeCodeCamp with zero knowledge of web development. 6
diff --git a/curriculum/challenges/arabic/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.arabic.md b/curriculum/challenges/arabic/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.arabic.md
index 98fa600929..68bfe218c6 100644
--- a/curriculum/challenges/arabic/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.arabic.md
+++ b/curriculum/challenges/arabic/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.arabic.md
@@ -10,7 +10,7 @@ localeTitle: خلق نسيج عن طريق إضافة نمط دقيق كخلفي
通过给定的 通过给定的 Quantas dessas rotas estão lá através de um determinado Quantas dessas rotas estão lá através de um determinado ¿Cuántas de estas rutas hay a través de un ¿Cuántas de estas rutas hay a través de un background
وظيفة url()
للربط بصورة للنسيج أو النمط المختار. يتم التفاف عنوان الارتباط بين علامات اقتباس داخل الأقواس. https://i.imgur.com/MJAkxbh.png
، تعيين background
من صفحة كاملة مع body
محدد. https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png
، تعيين background
من صفحة كاملة مع body
محدد. body
الخاص بك خاصية background
معيّنة إلى url()
بالرابط المحدد.
- testString: 'assert(code.match(/background:\s*?url\(\s*("|"|)https:\/\/i\.imgur\.com\/MJAkxbh\.png\1\s*\)/gi), "Your body
element should have a background
property set to a url()
with the given link.");'
+ testString: 'assert(code.match(/background:\s*?url\(\s*("|"|)https:\/\/cdn-media-1\.freecodecamp\.org\/imgr\/MJAkxbh\.png\1\s*\)/gi), "Your body
element should have a background
property set to a url()
with the given link.");'
```
diff --git a/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-15-lattice-paths.chinese.md b/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-15-lattice-paths.chinese.md
index 25a23e1dc7..508d6125e3 100644
--- a/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-15-lattice-paths.chinese.md
+++ b/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-15-lattice-paths.chinese.md
@@ -7,7 +7,7 @@ localeTitle: 问题15:格子路径
---
## Description
-gridSize
有多少这样的路由? gridSize
有多少这样的路由? https://i.imgur.com/MJAkxbh.png
, set the background
of the whole page with the body
selector.
+Using the url of https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png
, set the background
of the whole page with the body
selector.
https://i.imgur.com/MJAkxbh.png
, set the bac
```yml
tests:
- text: Your
body
element should have a background
property set to a url()
with the given link.
- testString: assert(code.match(/background:\s*?url\(\s*("|'|)https:\/\/i\.imgur\.com\/MJAkxbh\.png\1\s*\)/gi), 'Your body
element should have a background
property set to a url()
with the given link.');
+ testString: assert(code.match(/background:\s*?url\(\s*("|'|)https:\/\/cdn-media-1\.freecodecamp\.org\/imgr\/MJAkxbh\.png\1\s*\)/gi), 'Your body
element should have a background
property set to a url()
with the given link.');
```
@@ -52,7 +52,7 @@ tests:
```html
```
diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/move-a-relatively-positioned-element-with-css-offsets.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/move-a-relatively-positioned-element-with-css-offsets.english.md
index a9ca4b215e..47e88b1000 100644
--- a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/move-a-relatively-positioned-element-with-css-offsets.english.md
+++ b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/move-a-relatively-positioned-element-with-css-offsets.english.md
@@ -8,7 +8,7 @@ videoUrl: 'https://scrimba.com/c/c9bQEA4'
## Description
top
or bottom
, and left
or right
tell the browser how far to offset an item relative to where it would sit in the normal flow of the document. You're offsetting an element away from a given spot, which moves the element away from the referenced side (effectively, the opposite direction). As you saw in the last challenge, using the top offset moved the h2
downwards. Likewise, using a left offset moves an item to the right.
-
+
+
How many such routes are there through a given
gridSize
?
background
suporta a função url()
para vincular a uma imagem da textura ou padrão escolhido. O endereço do link é colocado entre aspas entre parênteses. https://i.imgur.com/MJAkxbh.png
, defina o background
de toda a página com o seletor de body
. https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png
, defina o background
de toda a página com o seletor de body
. body
deve ter uma propriedade background
definida como url()
com o link fornecido.
- testString: 'assert(code.match(/background:\s*?url\(\s*("|"|)https:\/\/i\.imgur\.com\/MJAkxbh\.png\1\s*\)/gi), "Your body
element should have a background
property set to a url()
with the given link.");'
+ testString: 'assert(code.match(/background:\s*?url\(\s*("|"|)https:\/\/cdn-media-1\.freecodecamp\.org\/imgr\/MJAkxbh\.png\1\s*\)/gi), "Your body
element should have a background
property set to a url()
with the given link.");'
```
diff --git a/curriculum/challenges/portuguese/08-coding-interview-prep/project-euler/problem-15-lattice-paths.portuguese.md b/curriculum/challenges/portuguese/08-coding-interview-prep/project-euler/problem-15-lattice-paths.portuguese.md
index 9ca86a108d..4fd6e61000 100644
--- a/curriculum/challenges/portuguese/08-coding-interview-prep/project-euler/problem-15-lattice-paths.portuguese.md
+++ b/curriculum/challenges/portuguese/08-coding-interview-prep/project-euler/problem-15-lattice-paths.portuguese.md
@@ -7,7 +7,7 @@ localeTitle: 'Problema 15: caminhos da rede'
---
## Description
-gridSize
? gridSize
? background
compatible con la función url()
para enlazar a una imagen de la textura o patrón elegido. La dirección del enlace está entre comillas dentro de los paréntesis. https://i.imgur.com/MJAkxbh.png
, establezca el background
de toda la página con el selector de body
. https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png
, establezca el background
de toda la página con el selector de body
. body
debe tener una propiedad de background
establecida en una url()
con el enlace dado.
- testString: 'assert(code.match(/background:\s*?url\(\s*("|"|)https:\/\/i\.imgur\.com\/MJAkxbh\.png\1\s*\)/gi), "Your body
element should have a background
property set to a url()
with the given link.");'
+ testString: 'assert(code.match(/background:\s*?url\(\s*("|"|)https:\/\/cdn-media-1\.freecodecamp\.org\/imgr\/MJAkxbh\.png\1\s*\)/gi), "Your body
element should have a background
property set to a url()
with the given link.");'
```
diff --git a/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-15-lattice-paths.spanish.md b/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-15-lattice-paths.spanish.md
index cbb55645e5..77888637f8 100644
--- a/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-15-lattice-paths.spanish.md
+++ b/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-15-lattice-paths.spanish.md
@@ -7,7 +7,7 @@ localeTitle: 'Problema 15: caminos de celosía'
---
## Description
-gridSize
dado? gridSize
dado?