fix(curriculum): replace js with full solution in accessibility challenge (#35810)

* fix(curriculum): add full, working solution for accessibility challenge.

This commit replaces a JavaScript only solution where a full, working
solution should have been written.

* Update curriculum/challenges/english/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-using-sufficient-contrast.english.md

Co-Authored-By: rimij405 <effendiian@gmail.com>
This commit is contained in:
Ian Effendi
2019-04-10 11:55:16 -04:00
committed by Oliver Eyton-Williams
parent 6a859ee7f9
commit f74d507434

View File

@ -68,8 +68,25 @@ tests:
<section id='solution'> <section id='solution'>
```js ```html
var code = "body {color: hsl(0, 55%, 15%); background-color: hsl(120, 25%, 55%);}" <head>
<style>
body {
color: hsl(0, 55%, 15%);
background-color: hsl(120, 25%, 55%);
}
</style>
</head>
<body>
<header>
<h1>Deep Thoughts with Master Camper Cat</h1>
</header>
<article>
<h2>A Word on the Recent Catnip Doping Scandal</h2>
<p>The influence that catnip has on feline behavior is well-documented, and its use as an herbal supplement in competitive ninja circles remains controversial. Once again, the debate to ban the substance is brought to the public's attention after the high-profile win of Kittytron, a long-time proponent and user of the green stuff, at the Claw of Fury tournament.</p>
<p>As I've stated in the past, I firmly believe a true ninja's skills must come from within, with no external influences. My own catnip use shall continue as purely recreational.</p>
</article>
</body>
``` ```
</section> </section>