{"id":192,"date":"2025-10-20T19:34:16","date_gmt":"2025-10-20T19:34:16","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/h_francois\/?p=192"},"modified":"2025-10-20T19:34:16","modified_gmt":"2025-10-20T19:34:16","slug":"10-20-25","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/h_francois\/2025\/10\/20\/10-20-25\/","title":{"rendered":"10\/20\/25"},"content":{"rendered":"\n<p>today i kept it nice and simple and just worked on html building a hotel feedback form. Strictly html no CSS if i continue i might use CSS but for now just basic barebones of a feedback form, will add images below<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"958\" height=\"602\" src=\"https:\/\/theroyalscode.com\/students\/h_francois\/wp-content\/uploads\/2025\/10\/ho.png\" alt=\"\" class=\"wp-image-193\" srcset=\"https:\/\/theroyalscode.com\/students\/h_francois\/wp-content\/uploads\/2025\/10\/ho.png 958w, https:\/\/theroyalscode.com\/students\/h_francois\/wp-content\/uploads\/2025\/10\/ho-300x189.png 300w, https:\/\/theroyalscode.com\/students\/h_francois\/wp-content\/uploads\/2025\/10\/ho-768x483.png 768w\" sizes=\"auto, (max-width: 958px) 100vw, 958px\" \/><\/figure>\n\n\n\n<p>main code which has the elements and attributes i used to code this<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    &lt;main>\n      &lt;form method=\"POST\" action=\"https:\/\/hotel-feedback.freecodecamp.org\">\n        &lt;fieldset>\n          &lt;legend>Personal Information&lt;\/legend>\n          &lt;label for=\"full-name\">Name (required):&lt;\/label>\n          &lt;input type=\"text\" id=\"full-name\" name=\"name\" placeholder=\"e.g., John Doe\" required size=\"20\">\n\n          &lt;label for=\"email\">Email address (required):&lt;\/label>\n          &lt;input\n            placeholder=\"example@email.com\"\n            required\n            id=\"email\"\n            type=\"email\"\n            name=\"email\"\n            size=\"20\"\n          \/>\n          &lt;label for=\"age\">Age (optional):&lt;\/label>\n          &lt;input type=\"number\" name=\"age\" id=\"age\" min=\"3\" max=\"100\" \/>\n        &lt;\/fieldset>\n\n        &lt;fieldset>\n          &lt;legend>Was this your first time at our hotel?&lt;\/legend>\n          &lt;input id=\"yes-option\" type=\"radio\" name=\"hotel-stay\" \/>\n          &lt;label for=\"yes-option\">Yes&lt;\/label>\n          &lt;input id=\"no-option\" type=\"radio\" name=\"hotel-stay\" \/>\n          &lt;label for=\"no-option\">No&lt;\/label>\n        &lt;\/fieldset>\n\n        &lt;fieldset>\n          &lt;legend>\n            Why did you choose to stay at our hotel? (Check all that apply)\n          &lt;\/legend>\n\n          &lt;input type=\"checkbox\" id=\"ads\" name=\"ads\" value=\"ads\" \/>\n          &lt;label for=\"ads\">Social Media Ads&lt;\/label>\n\n          &lt;input\n            type=\"checkbox\"\n            id=\"recommendation\"\n            name=\"recommendation\"\n            value=\"recommendation\"\n          \/>\n          &lt;label for=\"recommendation\">Personal Recommendation&lt;\/label>\n          \n          &lt;input type=\"checkbox\" id=\"location\" name=\"location\" value=\"location\" \/>\n          &lt;label for=\"location\">Location&lt;\/label>\n\n          &lt;input\n            checked\n            type=\"checkbox\"\n            id=\"reputation\"\n            name=\"reputation\"\n            value=\"reputation\"\n          \/>\n          &lt;label for=\"reputation\">Reputation&lt;\/label>\n          \n          &lt;input type=\"checkbox\" id=\"price\" name=\"price\" value=\"price\" \/>\n          &lt;label for=\"price\">Price&lt;\/label>\n        &lt;\/fieldset>\n\n        &lt;fieldset>\n          &lt;legend>Ratings&lt;\/legend>\n\n          &lt;label for=\"service\">How was the service?&lt;\/label>\n\n          &lt;select name=\"service\" id=\"service\">\n            &lt;option value=\"poor\">Poor&lt;\/option>\n            &lt;option value=\"satisfactory\">Satisfactory&lt;\/option>\n            &lt;option value=\"good\">Good&lt;\/option>\n            &lt;option value=\"very-good\">Very Good&lt;\/option>\n            &lt;option selected value=\"excellent\">Excellent&lt;\/option>\n          &lt;\/select>\n\n          \n        &lt;\/fieldset>\n      &lt;\/form>\n    &lt;\/main><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>today i kept it nice and simple and just worked on html building a hotel feedback form. Strictly html no CSS if i continue i might use CSS but for now just basic barebones of a feedback form, will add images below main code which has the elements and attributes i used to code this<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-192","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/h_francois\/wp-json\/wp\/v2\/posts\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/h_francois\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/h_francois\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/h_francois\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/h_francois\/wp-json\/wp\/v2\/comments?post=192"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/h_francois\/wp-json\/wp\/v2\/posts\/192\/revisions"}],"predecessor-version":[{"id":194,"href":"https:\/\/theroyalscode.com\/students\/h_francois\/wp-json\/wp\/v2\/posts\/192\/revisions\/194"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/h_francois\/wp-json\/wp\/v2\/media?parent=192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/h_francois\/wp-json\/wp\/v2\/categories?post=192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/h_francois\/wp-json\/wp\/v2\/tags?post=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}