left-well
должен иметь красный фон.
testString: 'assert($("#left-well").css("background-color") === "red" || $("#left-well").css("background-color") === "rgb(255, 0, 0)" || $("#left-well").css("background-color").toLowerCase() === "#ff0000" || $("#left-well").css("background-color").toLowerCase() === "#f00", "Your left-well
element should have a red background.");'
- text: ''
testString: 'assert(code.match(/\.parent\s*\(\s*\)\s*\.css/g), "You should use the .parent()
function to modify this element.");'
- text: 'Метод .parent()
должен быть вызван в элементе #target1
.'
testString: 'assert(code.match(/\$\s*?\(\s*?(?:"|")\s*?#target1\s*?(?:"|")\s*?\)\s*?\.parent/gi), "The .parent()
method should be called on the #target1
element.");'
- text: 'Используйте только jQuery, чтобы добавить эти классы к элементу.'
testString: 'assert(code.match(/