{"id":8818,"date":"2014-08-20T05:07:04","date_gmt":"2014-08-19T19:07:04","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=8818"},"modified":"2014-08-20T05:07:04","modified_gmt":"2014-08-19T19:07:04","slug":"htmljavascript-chemical-formulae-game-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-chemical-formulae-game-tutorial\/","title":{"rendered":"HTML\/Javascript Chemical Formulae Game Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/chemicalformulae_chalkboard.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"HTML\/Javascript Chemical Formulae Game Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/ChemicalFormula.jpg\" title=\"HTML\/Javascript Chemical Formulae Game Tutorial\"  \/><\/a><p class=\"wp-caption-text\">HTML\/Javascript Chemical Formulae Game Tutorial<\/p><\/div>\n<p>Here is a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/chemicalformulae_chalkboard.html\" title='HTML\/Javascript Chemical Formulae Tutorial'>tutorial<\/a> showing some client-side basics in HTML and Javascript that test your chemistry knowledge by piecing together chemical formula &#8220;sentences&#8221;, by filling in a missing bit of information in a three-part &#8220;chemical formula sentence&#8221;, and today we use an HTML5 canvas element in our methodology.   The inspiration for this came from the tutorial <a target=_blank title='Chemical Formulae' href='http:\/\/www.elementalmatter.info\/chemical-formula-and-equations.htm'>here<\/a> (thanks for the great list), and we invite you to play with another player, and add your own, maybe while they aren&#8217;t looking?!  (Hint: Try the middle Dot).<\/p>\n<p>This HTML\/Javascript solution uses three HTML select tags, one incomplete, to piece together a &#8220;chemical formula sentence&#8221; to score points in our chemical game.<\/p>\n<p>Link to some downloadable HTML programming code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/chemicalformulae_chalkboard.html_GETME' title='chemicalformulae_chalkboard.html'>chemicalformulae_chalkboard.html<\/a> (please note that some of the utf-8 characters may be better seen with View-&gt;Page Source).<\/p>\n<p>Hope you add to your ideas from today&#8217;s tutorial.<\/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='#d8818' onclick='var dv=document.getElementById(\"d8818\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=canvas\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d8818' 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 test your chemistry knowledge by piecing together chemical formula &#8220;sentences&#8221;, by filling in a missing bit of information in a three-part &#8220;chemical formula sentence&#8221;, and today we &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-chemical-formulae-game-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":[203,454,576,652,997,1100,1319],"class_list":["post-8818","post","type-post","status-publish","format-standard","hentry","category-elearning","category-games","category-tutorials","tag-chemistry","tag-formula","tag-html","tag-javascript","tag-programming","tag-science","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/8818"}],"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=8818"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/8818\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=8818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=8818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=8818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}