{"id":5570,"date":"2013-12-20T05:07:46","date_gmt":"2013-12-19T18:07:46","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=5570"},"modified":"2013-12-20T05:07:46","modified_gmt":"2013-12-19T18:07:46","slug":"htmljavascript-maths-division-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-maths-division-tutorial\/","title":{"rendered":"HTML\/Javascript Canvas Maths Division Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Canvas\/Division\/maths_division.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"HTML\/Javascript Canvas Maths Division Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Canvas\/Division\/maths_division.jpg\" title=\"HTML\/Javascript Canvas Maths Division Tutorial\"  \/><\/a><p class=\"wp-caption-text\">HTML\/Javascript Canvas Maths Division Tutorial<\/p><\/div>\n<p>Here is a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Canvas\/Division\/maths_division.html\" title=\"HTML\/Javascript Canvas Maths Division Tutorial\">tutorial<\/a> showing some client-side basics in HTML and Javascript that can test some mathematical division questions.   The inspiration for this came from some homework of a student.<\/p>\n<p>This HTML\/Javascript solution uses an HTML canvas element, which you can first read about, at this blog, <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=5539' title='HTML\/Javascript Canvas Primer Tutorial'>here<\/a>.<\/p>\n<p>Link to some downloadable HTML programming code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Canvas\/Division\/maths_division.html_GETME' title='maths_division.html'>maths_division.html<\/a>\n<\/p>\n<p>You&#8217;ll notice heavy use of the Javascript <a target=_blank title='Javascript Math.random() information from w3schools' href='http:\/\/www.w3schools.com\/jsref\/jsref_random.asp'>Math.random()<\/a> function.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d5570' onclick='var dv=document.getElementById(\"d5570\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=59\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d5570' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here is a tutorial showing some client-side basics in HTML and Javascript that can test some mathematical division questions. The inspiration for this came from some homework of a student. This HTML\/Javascript solution uses an HTML canvas element, which you &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-maths-division-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[184,343,576,652,752,997,1319],"class_list":["post-5570","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-canvas","tag-division","tag-html","tag-javascript","tag-mathematics","tag-programming","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/5570"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=5570"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/5570\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=5570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=5570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=5570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}