{"id":7838,"date":"2014-05-28T05:06:13","date_gmt":"2014-05-27T19:06:13","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=7838"},"modified":"2018-02-01T09:28:56","modified_gmt":"2018-01-31T23:28:56","slug":"htmljavascript-volumes-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-volumes-tutorial\/","title":{"rendered":"HTML\/Javascript Volumes Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Volumes\/volumes.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"HTML\/Javascript Volumes Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Volumes\/VolumesMathsGame.jpg\" title=\"HTML\/Javascript Volumes Tutorial\"  \/><\/a><p class=\"wp-caption-text\">HTML\/Javascript Volumes Tutorial<\/p><\/div>\n<p>Here is a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Volumes\/volumes.html\" title='HTML\/Javascript Volumes Tutorial'>tutorial<\/a> showing some client-side basics in HTML and Javascript that can test some fairly simple mathematical Volumes 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\/Volumes\/volumes.html_GETME' title='volumes.html'>volumes.html<\/a><\/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='#d7838' onclick='var dv=document.getElementById(\"d7838\"); 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='d7838' 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 Volumes 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-volumes-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":[476,576,652,752,997,1319,1392],"class_list":["post-7838","post","type-post","status-publish","format-standard","hentry","category-elearning","category-games","category-tutorials","tag-game","tag-html","tag-javascript","tag-mathematics","tag-programming","tag-tutorial","tag-volumes"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/7838"}],"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=7838"}],"version-history":[{"count":1,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/7838\/revisions"}],"predecessor-version":[{"id":35858,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/7838\/revisions\/35858"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=7838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=7838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=7838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}