btn-info
للفت الانتباه إلى الإجراءات الاختيارية التي يمكن للمستخدم اتخاذها. قم بإنشاء زر Bootstrap جديد على مستوى الكتلة أسفل الزر "أعجبني" مع النص "Info" ، وأضف تصنيفات btn-info
و btn-block
إلى Bootstrap. لاحظ أن هذه الأزرار لا تزال بحاجة إلى فئات btn
و btn-block
. button
جديد مع النص "معلومات".
testString: 'assert(new RegExp("info","gi").test($("button").text()), "Create a new button
element with the text "Info".");'
- text: ''
testString: 'assert($("button.btn-block.btn").length > 1, "Both of your Bootstrap buttons should have the btn
and btn-block
classes.");'
- text: ''
testString: 'assert($("button").hasClass("btn-info"), "Your new button should have the class btn-info
.");'
- text: تأكد من أن جميع عناصر button
لديك بها علامة إغلاق.
testString: 'assert(code.match(/<\/button>/g) && code.match(/Click here for cat photos.
Things cats love:
Top 3 things cats hate: