--- id: bad87fee1348bd9acde08812 title: Make Images Mobile Responsive challengeType: 0 videoUrl: '' localeTitle: جعل الصور موبايل متجاوب --- ## Description
أولاً ، أضف صورة جديدة أسفل الصورة الحالية. تعيين السمة src الخاصة به إلى https://bit.ly/fcc-running-cats . سيكون من الرائع أن تكون هذه الصورة بالضبط شاشة شاشة الهاتف الخاصة بنا. لحسن الحظ ، مع Bootstrap ، كل ما نحتاج إليه هو إضافة فئة img-responsive إلى صورتك. افعل ذلك ، ويجب أن تتناسب الصورة تمامًا مع عرض صفحتك.
## Instructions
## Tests
```yml tests: - text: يجب أن يكون لديك ما مجموعه صورتين. testString: 'assert($("img").length === 2, "You should have a total of two images.");' - text: يجب أن تكون صورتك الجديدة أقل من صورتك القديمة وأن يكون لديك متفاعل img-responsive . testString: 'assert($("img:eq(1)").hasClass("img-responsive"), "Your new image should be below your old one and have the class img-responsive.");' - text: يجب ألا تحتوي صورتك الجديدة على صور smaller-image الفصل. testString: 'assert(!$("img:eq(1)").hasClass("smaller-image"), "Your new image should not have the class smaller-image.");' - text: 'يجب أن تحتوي صورتك الجديدة على src من https://bit.ly/fcc-running-cats .' testString: 'assert($("img:eq(1)").attr("src") === "https://bit.ly/fcc-running-cats", "Your new image should have a src of https://bit.ly/fcc-running-cats.");' - text: تأكد من أن عنصر img الجديد يحتوي على قوس زاوية إغلاق. testString: 'assert(code.match(//g).length === 2 && code.match(/img element has a closing angle bracket.");' ```
## Challenge Seed
```html

CatPhotoApp

Click here for cat photos.

A cute orange cat lying on its back.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
```
## Solution
```js // solution required ```