{"id":7831,"date":"2014-05-24T05:03:36","date_gmt":"2014-05-23T19:03:36","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=7831"},"modified":"2019-07-22T21:45:10","modified_gmt":"2019-07-22T11:45:10","slug":"htmljavascript-areas-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-areas-tutorial\/","title":{"rendered":"HTML\/Javascript Areas Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Areas\/areas.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"HTML\/Javascript Areas Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Areas\/AreasMathsGame.jpg\" title=\"HTML\/Javascript Areas Tutorial\"  \/><\/a><p class=\"wp-caption-text\">HTML\/Javascript Areas Tutorial<\/p><\/div>\n<p>Here is a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Areas\/areas.html\" title='HTML\/Javascript Areas Tutorial'>tutorial<\/a> showing some client-side basics in HTML and Javascript that can test some fairly simple mathematical Areas questions for the user.   The inspiration for this came from some homework of a student.<\/p>\n<p>Link to some downloadable HTML programming code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Areas\/areas.html_GETME' title='areas.html'>areas.html<\/a> &#8230; and here is a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Areas\/areas.html\" title=\"Click picture\">live run<\/a> link.<\/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 to supply some shape dimensions.<\/p>\n<p>Please note that calculations involving PI would need a final accuracy to 0.01 to be deemed a correct answer.   The answer &#8220;<a target=_blank href='https:\/\/www.youtube.com\/watch?v=-a-DsIo81e8' title='Pork'>pork<\/a>&#8221; will not be accepted, alas.<\/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='#d7831' onclick='var dv=document.getElementById(\"d7831\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=mathematics\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d7831' 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 fairly simple mathematical Areas questions for the user. The inspiration for this came from some homework of a student. Link to some downloadable HTML &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-areas-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,15,37],"tags":[101,476,576,652,752,997,1319],"class_list":["post-7831","post","type-post","status-publish","format-standard","hentry","category-elearning","category-games","category-tutorials","tag-areas","tag-game","tag-html","tag-javascript","tag-mathematics","tag-programming","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/7831"}],"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=7831"}],"version-history":[{"count":1,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/7831\/revisions"}],"predecessor-version":[{"id":45690,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/7831\/revisions\/45690"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=7831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=7831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=7831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}