{"componentChunkName":"component---src-templates-blog-post-jsx","path":"/week-2","result":{"data":{"post":{"title":"Week 2","slug":{"current":"week-2"},"_rawBody":[{"_key":"a889b7c6bbe6","_type":"block","children":[{"_key":"afb8db043f85","_type":"span","marks":[],"text":"Getting set up on GitHub"}],"markDefs":[],"style":"h2"},{"_key":"7af33ca33432","_type":"block","children":[{"_key":"6a3b4a95e90c","_type":"span","marks":[],"text":"I’ve built quite a few websites in the past, but I’ve never used GitHub. Should have. Would have helped a lot. Time to rectify that."}],"markDefs":[],"style":"normal"},{"_key":"33ce3644e155","_type":"block","children":[{"_key":"64a0991901080","_type":"span","marks":[],"text":"Here’s my profile: https://github.com/hjludwig"}],"markDefs":[],"style":"normal"},{"_key":"d194523ece69","_type":"block","children":[{"_key":"68fcea52ca550","_type":"span","marks":[],"text":"Starting a simple tax calculator"}],"markDefs":[],"style":"h2"},{"_key":"8642c865b5c7","_type":"block","children":[{"_key":"1bb19b0647a80","_type":"span","marks":[],"text":"It’s time to get started with building something real world to get a handle on writing some working javascript and getting used to the GitHub workflow as well as my new code editor of choice, Visual Studio Code."}],"markDefs":[],"style":"normal"},{"_key":"b884ef84e634","_type":"block","children":[{"_key":"754859544b560","_type":"span","marks":[],"text":"Every tax season my wife and I have to remember how to calculate the tax we would have paid on a total after tax amount. It’s a simple calculation, but it always takes a minute to remember what it is and it’s a bit of a pain to type in a calculator manually over and over again."}],"markDefs":[],"style":"normal"},{"_key":"5414487c7445","_type":"block","children":[{"_key":"50782b3538830","_type":"span","marks":[],"text":"This year when we did our taxes, I made a simple spreadsheet to do the calculation. There are also many such calculators you can find online, but I thought a simple starting project would be to put together my own."}],"markDefs":[],"style":"normal"},{"_key":"51c7e0ee85da","_type":"block","children":[{"_key":"2984c43241970","_type":"span","marks":[],"text":"As I go, I’ll include some other basic tax calculations as well. That way I’ll get some practice with version control as well."}],"markDefs":[],"style":"normal"},{"_key":"133fb34a420b","_type":"block","children":[{"_key":"e95964c931960","_type":"span","marks":[],"text":"Working on it will help me fill in a couple of other gaps in my CSS/HTML knowledge. I’ve always used a form plugin to build and handle HTML forms for my WordPress sites, which was probably a good idea, but it means I never had to work with the nitty gritty of forms much."}],"markDefs":[],"style":"normal"},{"_key":"81c74b0ec66b","_type":"block","children":[{"_key":"2bf0061e07940","_type":"span","marks":[],"text":"I’m going to do all the form work myself this time around. It’ll give me a chance to better understand their ins and outs, including validation etc."}],"markDefs":[],"style":"normal"},{"_key":"372ad67e3db4","_type":"block","children":[{"_key":"63a7b88f18fb0","_type":"span","marks":[],"text":"My working CSS knowledge is pretty good, but I just discovered CSS variables are a thing (boy that would have saved some time!) and I’ve never worked with SASS. I’ll use my little calculator as a way to try out some of those new skills as I aquire them."}],"markDefs":[],"style":"normal"}],"publishedAt":"2020-05-27T04:00:00.000Z","categories":[{"title":"Journal Entries"}],"tags":[{"value":"github"},{"value":"Projects"}],"mainImage":{"asset":{"fluid":{"base64":"data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAANABQDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAABgAF/8QAIxAAAgICAQIHAAAAAAAAAAAAAQIAAwQGEQVBBxIiJTFRof/EABUBAQEAAAAAAAAAAAAAAAAAAAEE/8QAFxEAAwEAAAAAAAAAAAAAAAAAAAECEf/aAAwDAQACEQMRAD8AXaP1dz01LfcGvZiTYjEqY3xdpz6B6lexfqxeDAPhhmWDS8I9yCf2b2Vlu/zCoyUxT2sFbbkG4L4jebvwZQObWJMpG6elKlH/2Q==","aspectRatio":1.5,"src":"https://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=900&h=600&fit=crop","srcSet":"https://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=225&h=150&fit=crop 225w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=450&h=300&fit=crop 450w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=900&h=600&fit=crop 900w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=1350&h=900&fit=crop 1350w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=1800&h=1200&fit=crop 1800w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=2700&h=1800&fit=crop 2700w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg 6000w","srcWebp":"https://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=900&h=600&fit=crop&fm=webp","srcSetWebp":"https://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=225&h=150&fit=crop&fm=webp 225w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=450&h=300&fit=crop&fm=webp 450w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=900&h=600&fit=crop&fm=webp 900w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=1350&h=900&fit=crop&fm=webp 1350w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=1800&h=1200&fit=crop&fm=webp 1800w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?w=2700&h=1800&fit=crop&fm=webp 2700w,\nhttps://cdn.sanity.io/images/pwg13agp/production/bab2edac281b4877d2c36d84ecf2346dc36b44a6-6000x4000.jpg?fm=webp 6000w","sizes":"(max-width: 900px) 100vw, 900px"}}}}},"pageContext":{"slug":"week-2"}},"staticQueryHashes":["63159454"]}