
{"id":16589,"date":"2017-01-14T18:05:22","date_gmt":"2017-01-14T18:05:22","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=16589"},"modified":"2017-01-14T18:05:22","modified_gmt":"2017-01-14T18:05:22","slug":"settings-with-color-and-alert-messages","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2017\/01\/14\/settings-with-color-and-alert-messages\/","title":{"rendered":"settings with color and alert messages  using Javascript"},"content":{"rendered":"<p><code><br \/>\n&lt;!DOCTYPE html&gt;<\/p>\n<p>&lt;html lang=\"en\"&gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;meta charset=\"utf-8\" \/&gt;<br \/>\n&lt;title&gt;Chapter 1, Example 2&lt;\/title&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body bgcolor=\"white\"&gt;<br \/>\n&lt;p&gt;Paragraph 1&lt;\/p&gt;<br \/>\n&lt;script&gt;<br \/>\n\/\/ script block 1<br \/>\nalert(\"First Script Block\");<br \/>\n&lt;\/script&gt;<br \/>\n&lt;p&gt;Paragraph 2&lt;\/p&gt;<br \/>\n&lt;script&gt;<br \/>\n\/\/ script block 2<br \/>\ndocument.bgColor = \"red\";<br \/>\nalert(\"Second Script Block\");<br \/>\n&lt;\/script&gt;<br \/>\n&lt;p&gt;Paragraph 3&lt;\/p&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/p>\n<p>&nbsp;<br \/>\n<\/code><br \/>\nKey source : Beginning JavaScript, 5th Edition (wrox)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&lt;!DOCTYPE html&gt; &lt;html lang=&#8221;en&#8221;&gt; &lt;head&gt; &lt;meta charset=&#8221;utf-8&#8243; \/&gt; &lt;title&gt;Chapter 1, Example 2&lt;\/title&gt; &lt;\/head&gt; &lt;body bgcolor=&#8221;white&#8221;&gt; &lt;p&gt;Paragraph 1&lt;\/p&gt; &lt;script&gt; \/\/ script block 1 alert(&#8220;First Script Block&#8221;); &lt;\/script&gt; &lt;p&gt;Paragraph 2&lt;\/p&gt; &lt;script&gt; \/\/ script block 2 document.bgColor = &#8220;red&#8221;; alert(&#8220;Second Script Block&#8221;); &lt;\/script&gt; &lt;p&gt;Paragraph 3&lt;\/p&gt; &lt;\/body&gt; &lt;\/html&gt; &nbsp; Key source : Beginning JavaScript, 5th Edition (wrox)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[158,91],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16589"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=16589"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16589\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=16589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=16589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=16589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}