fix: imgur to s3 for various files without conflict (#36057)
This commit is contained in:
committed by
Parth Parth
parent
a16539becf
commit
8b4fb5a452
@@ -10,7 +10,7 @@ localeTitle: خلق نسيج عن طريق إضافة نمط دقيق كخلفي
|
||||
<section id="description"> إحدى الطرق لإضافة الملمس والاهتمام إلى الخلفية وجعلها تبرز أكثر هي إضافة نمط دقيق. المفتاح هو التوازن ، لأنك لا تريد أن تبرز الخلفية أكثر من اللازم ، وأن تأخذها بعيدًا عن المقدمة. تدعم خاصية <code>background</code> وظيفة <code>url()</code> للربط بصورة للنسيج أو النمط المختار. يتم التفاف عنوان الارتباط بين علامات اقتباس داخل الأقواس. </section>
|
||||
|
||||
## Instructions
|
||||
<section id="instructions"> باستخدام رابط من <code>https://i.imgur.com/MJAkxbh.png</code> ، تعيين <code>background</code> من صفحة كاملة مع <code>body</code> محدد. </section>
|
||||
<section id="instructions"> باستخدام رابط من <code>https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png</code> ، تعيين <code>background</code> من صفحة كاملة مع <code>body</code> محدد. </section>
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
@@ -18,7 +18,7 @@ localeTitle: خلق نسيج عن طريق إضافة نمط دقيق كخلفي
|
||||
```yml
|
||||
tests:
|
||||
- text: يجب أن يكون لعنصر <code>body</code> الخاص بك خاصية <code>background</code> معيّنة إلى <code>url()</code> بالرابط المحدد.
|
||||
testString: 'assert(code.match(/background:\s*?url\(\s*("|"|)https:\/\/i\.imgur\.com\/MJAkxbh\.png\1\s*\)/gi), "Your <code>body</code> element should have a <code>background</code> property set to a <code>url()</code> 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 <code>body</code> element should have a <code>background</code> property set to a <code>url()</code> with the given link.");'
|
||||
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user