src
الخاصة به إلى https://bit.ly/fcc-running-cats
. سيكون من الرائع أن تكون هذه الصورة بالضبط شاشة شاشة الهاتف الخاصة بنا. لحسن الحظ ، مع Bootstrap ، كل ما نحتاج إليه هو إضافة فئة img-responsive
إلى صورتك. افعل ذلك ، ويجب أن تتناسب الصورة تمامًا مع عرض صفحتك. 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.");'
```
Click here for cat photos.
Things cats love:
Top 3 things cats hate: