{"id":132035,"date":"2023-08-19T13:14:33","date_gmt":"2023-08-19T13:14:33","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/ajax-assignment-computer-science-homework-help\/"},"modified":"2023-08-19T13:14:33","modified_gmt":"2023-08-19T13:14:33","slug":"ajax-assignment-computer-science-homework-help","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/ajax-assignment-computer-science-homework-help\/","title":{"rendered":"Ajax assignment | Computer Science homework help"},"content":{"rendered":"<div>\n<ol>\n<li>In your cloud9\u00a0workspace, create a folder named\u00a0<em>ajax2<\/em>. Place all the work you do for this assignment in this folder.<\/li>\n<li>Use the\u00a0<a rel=\"nofollow noopener\" target=\"_blank\" style=\"box-sizing: border-box; color: #4078c0; background-color: transparent;\" href=\"https:\/\/developer.github.com\/v3\/markdown\/\">GitHub Markdown API<\/a>\u00a0to perform the following functionality for users. The user types in markdown into a textarea element. When the user clicks the transform button, Javascript submits the text to the raw mode GitHub markdown API and renders the result in the Web page. (Do not display the result in a popup window.) Make requests to the following url:\u00a0<a rel=\"nofollow noopener\" target=\"_blank\" style=\"box-sizing: border-box; color: #4078c0; background-color: transparent;\" href=\"https:\/\/api.github.com\/markdown\/raw\">https:\/\/api.github.com\/markdown\/raw<\/a>.<\/li>\n<\/ol>\n<p><span>I&#8217;ve left out a lot of details to give you practice with research. However, here is one hint that might help you solve the problem: Suppose\u00a0<\/span><em>result<\/em><span>\u00a0is the id of a div in your page. In this case, you can insert the HTML returned from Github into your Web page using the following.<\/span><\/p>\n<pre>document.getElementById('result').innerHTML = the-result-string<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In your cloud9\u00a0workspace, create a folder named\u00a0ajax2. Place all the work you do for this assignment in this folder. Use the\u00a0GitHub Markdown API\u00a0to perform the following functionality for users. The user types in markdown into a textarea element. When the user clicks the transform button, Javascript submits the text to the raw mode GitHub markdown [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-132035","post","type-post","status-publish","format-standard","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/132035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/comments?post=132035"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/132035\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=132035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=132035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=132035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}