---
id: bad87fee1348bd9aedf06756
title: Override Class Declarations with Inline Styles
challengeType: 0
videoUrl: ''
localeTitle: تجاوز التعريفات فئة باستخدام الأنماط المضمّنة
---
## Description
لذلك قمنا ثبت أن الإعلانات معرف تجاوز الإعلانات الطبقة، بغض النظر عن مكان يتم الإعلان عنها في حياتك style
CSS عنصر. هناك طرق أخرى يمكنك من خلالها تجاوز CSS. هل تتذكر الأنماط المضمنة؟
## Instructions
undefined
## Tests
```yml
tests:
- text: يجب أن يحتوي عنصر h1
pink-text
.
testString: 'assert($("h1").hasClass("pink-text"), "Your h1
element should have the class pink-text
.");'
- text: ''
testString: 'assert($("h1").hasClass("blue-text"), "Your h1
element should have the class blue-text
.");'
- text: يجب أن يحتوي عنصر h1
على معرف orange-text
.
testString: 'assert($("h1").attr("id") === "orange-text", "Your h1
element should have the id of orange-text
.");'
- text: ''
testString: 'assert(document.querySelector("h1[style]"), "Give your h1
element an inline style.");'
- text: يجب أن يكون عنصر h1
أبيض.
testString: 'assert($("h1").css("color") === "rgb(255, 255, 255)", "Your h1
element should be white.");'
```
## Challenge Seed
## Solution
```js
// solution required
```