Tell us what’s happening:
Where: Tech doc.
What: Canvas and JavaScript examples are hosing up doc. testing results…
Why: I have 15/16 positive test results (all the code is not typed in and that’s #16).
When: When I put the Canvas and JavaScript example language in, the positive results go down and it messes up all the document’s relationships. (haha). When I disable the Canvas and JavaScript examples, the positive results go back up to 15/16.
Your code so far
<header class="draw_a_circle"><b>Draw a Circle</b></header>
<article>
<p><b>HTML Markup:</b> < /canvas id="myCanvas" width="200" height="100" style="border:1px solid red;"</p>
<canvas id="myCanvas" width="200" height="100" style="border: 1px solid darkred ;"></canvas><br>
<script type="text/javascript" >
JavaScript:
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.beginPath();
ctx.arc(95, 50, 40, 0, 2 * Math.PI);
ctx.stroke();
</section>
Your browser information:
Sublime/Notepad testing in Firefox & code camp running in Chrome.
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
.
Link to the challenge:
Link to project