{"id":1387,"date":"2024-03-22T16:01:22","date_gmt":"2024-03-22T22:01:22","guid":{"rendered":"https:\/\/frontendmasters.com\/blog\/?p=1387"},"modified":"2024-03-22T16:01:24","modified_gmt":"2024-03-22T22:01:24","slug":"project-idea-convert-a-pdf-form-to-a-web-form","status":"publish","type":"post","link":"https:\/\/frontendmasters.com\/blog\/project-idea-convert-a-pdf-form-to-a-web-form\/","title":{"rendered":"Project Idea: Convert a PDF Form to a Web Form"},"content":{"rendered":"\n<p><a href=\"https:\/\/adactio.com\/journal\/20994\">Jermey Keith visited a school doing this exact project<\/a>, and I thought it was a great idea for learning:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>There\u2019s a specific module his students are partaking in that\u2019s right up my alley. They\u2019re given a PDF inheritance-tax form and told to convert it for the web.<\/p>\n<\/blockquote>\n\n\n\n<p>You could make doing this job really well a whole full-stack experience, but it starts with a great front end.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>I genuinely get excited by the potential for progressive enhancement here. Sure, there\u2019s the obvious approach of building in layers; HTML first, then CSS, then a sprinkling of JavaScript. But there\u2019s also so much potential for enhancement&nbsp;<em>within<\/em>&nbsp;each layer.<\/p>\n\n\n\n<p>Got your form fields marked up with the right&nbsp;<code>input<\/code>&nbsp;types? Great! Now what about&nbsp;<code>autocomplete<\/code>,&nbsp;<code>inputmode<\/code>, or&nbsp;<code>pattern<\/code>&nbsp;attributes?<\/p>\n\n\n\n<p>Got your styles all looking good on the screen? Great! Now what about print styles?<\/p>\n\n\n\n<p>Got form validation working? Great! Now how might you use local storage to save data locally?<\/p>\n<\/blockquote>\n\n\n\n<p>I also love how with web forms, you don&#8217;t have to look at fields that are only required in certain circumstances. That&#8217;s implemented with <a href=\"https:\/\/adactio.com\/journal\/20999\">progressive disclosure<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jermey Keith visited a school doing this exact project, and I thought it was a great idea for learning: There\u2019s a specific module his students are partaking in that\u2019s right up my alley. They\u2019re given a PDF inheritance-tax form and told to convert it for the web. You could make doing this job really well [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1389,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[7,31,139],"class_list":["post-1387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-css","tag-html","tag-progressive-enhancement"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/frontendmasters.com\/blog\/wp-content\/uploads\/2024\/03\/paper-form-thumb.jpg?fit=1000%2C500&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/1387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/comments?post=1387"}],"version-history":[{"count":1,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/1387\/revisions"}],"predecessor-version":[{"id":1388,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/1387\/revisions\/1388"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media\/1389"}],"wp:attachment":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media?parent=1387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/categories?post=1387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/tags?post=1387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}