New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with html5 course example #2293
Comments
Oops, it seems I need to escape the HTML, somehow. Please let me know if it is needed and if so how to escape the code. Thanks. Bob |
Same issue. |
Can you share a jsbin url (from your code) so I can see? |
Hi Remy Here's the link https://jsbin.com/tufalaxito/1/edit?html,css,js,output On 23 March 2016 at 14:10, Remy Sharp notifications@github.com wrote:
|
my stupidity, forget it, had an '=' after fillRect |
This issue has been automatically marked as stale because it has not had recent activity. More importantly, jsbin has been undergoing a massive refactor by Remy, and a large number of issues have been resolved, but with the growing 600+ open issues, the Stalebot (me), has been brought in to try to manage the issues. |
Hi,
I'm learning/reviewing HTML and HTML5 through courses from John Bura of Mammoth Interactive. One of his example uses this JavaScript code:
var aCanvas = document.getElementById("aCanvas");
var context = aCanvas.getContext("2d");
context.fillStyle('red');
context.fillRect(0,0,100,100);
The HTML page is:
<title>JS Bin</title>In his example, run, I think, on an older jsbin.com, this draws a red square.
When I plug it into the current jsbin.com I don't see anything.
Since I'm just learning most of this and in particular am not a JavaScript programmer, I don't know if this is a problem with what I've typed (I've reviewed it a dozen times, so I may be missing something), a problem with the original presentation material, or with the web page.
Any help would be greatly appreciated.
Bob
The text was updated successfully, but these errors were encountered: