Added solution to "01-Responsive Web design" challenge (#36971)
This commit is contained in:
@ -78,7 +78,28 @@ tests:
|
|||||||
## Solution
|
## Solution
|
||||||
<section id='solution'>
|
<section id='solution'>
|
||||||
|
|
||||||
```js
|
```html
|
||||||
// solution required
|
<style>
|
||||||
|
.red-text {
|
||||||
|
color: #F00;
|
||||||
|
}
|
||||||
|
.fuchsia-text {
|
||||||
|
color: #F0F;
|
||||||
|
}
|
||||||
|
.cyan-text {
|
||||||
|
color: #0FF;
|
||||||
|
}
|
||||||
|
.green-text {
|
||||||
|
color: #0F0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<h1 class="red-text">I am red!</h1>
|
||||||
|
|
||||||
|
<h1 class="fuchsia-text">I am fuchsia!</h1>
|
||||||
|
|
||||||
|
<h1 class="cyan-text">I am cyan!</h1>
|
||||||
|
|
||||||
|
<h1 class="green-text">I am green!</h1>
|
||||||
```
|
```
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user