{"id":79266,"date":"2021-12-03T01:31:55","date_gmt":"2021-12-03T01:31:55","guid":{"rendered":"https:\/\/papersspot.com\/blog\/2021\/12\/03\/assignment-for-this-assignment-you-will-write-three-files-put-these-files\/"},"modified":"2021-12-03T01:31:55","modified_gmt":"2021-12-03T01:31:55","slug":"assignment-for-this-assignment-you-will-write-three-files-put-these-files","status":"publish","type":"post","link":"https:\/\/papersspot.com\/blog\/2021\/12\/03\/assignment-for-this-assignment-you-will-write-three-files-put-these-files\/","title":{"rendered":"Assignment For this assignment, you will write three files. Put these files"},"content":{"rendered":"<p>Assignment<\/p>\n<p> For this assignment, you will write three files. Put these files together in a folder, then zip them together and upload them to Blackboard. In Windows, you can zip files by selecting them, right-clicking, and choosing &#8220;send to -&gt; compressed (zipped) folder&#8221;.<\/p>\n<p> Your first file should be named login.html and should contain an HTML . Use the form to receive the client&#8217;s username and password and pass them to the action destination page prefs.php using the POST method. The username &amp; password should both be set as required with a minimum length of 4 characters and a maximum length of 12 characters.<\/p>\n<p> Your second file should be named prefs.php (the action destination file for your form). The username &amp; password should be stored in a cookie with the name matching the username. The page should contain another HTML  containing two sets of radio buttons. The first batch of radio buttons should select a preferred background color, with options for red, yellow, green, and blue. The second batch should select a preferred font face, with options for Arial, Cambria, and Times New Roman. Submitting the form will send the selected options to another action destination page, landing.php, using the POST method.<\/p>\n<p> The third file should be named landing.php. The received background color and font should be stored in the cookie. This page should have the background color chosen on prefs.php. At the top, the page should show the text &#8220;Welcome to the landing page&#8221;. Below, the page should read the four distinct fields from the cookie (username, password, background color, font fact) and display them. The welcome line and the four cookie fields should be displayed on separate lines and in the chosen font face in the default size &amp; style (e.g., not italics or bold or underlined). You might use if-else sequences to check the cookie data and appropriately select the background color and font face.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Assignment For this assignment, you will write three files. Put these files together in a folder, then zip them together and upload them to Blackboard. In Windows, you can zip files by selecting them, right-clicking, and choosing &#8220;send to -&gt; compressed (zipped) folder&#8221;. Your first file should be named login.html and should contain an HTML [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10],"class_list":["post-79266","post","type-post","status-publish","format-standard","hentry","category-research-paper-writing","tag-writing"],"_links":{"self":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts\/79266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/comments?post=79266"}],"version-history":[{"count":0,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts\/79266\/revisions"}],"wp:attachment":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/media?parent=79266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/categories?post=79266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/tags?post=79266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}