<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Frederick Scovell on Medium]]></title>
        <description><![CDATA[Stories by Frederick Scovell on Medium]]></description>
        <link>https://medium.com/@admin_18181?source=rss-3cb5efb40734------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Frederick Scovell on Medium</title>
            <link>https://medium.com/@admin_18181?source=rss-3cb5efb40734------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:55:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@admin_18181/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Some console.log examples]]></title>
            <link>https://medium.com/@admin_18181/some-console-log-examples-58c81b1605c8?source=rss-3cb5efb40734------2</link>
            <guid isPermaLink="false">https://medium.com/p/58c81b1605c8</guid>
            <dc:creator><![CDATA[Frederick Scovell]]></dc:creator>
            <pubDate>Fri, 11 Mar 2022 15:53:34 GMT</pubDate>
            <atom:updated>2022-03-11T15:53:34.640Z</atom:updated>
            <content:encoded><![CDATA[<p>I have found that one of the most important ways that I keep myself on track is by constantly checking if the data is structured the way I expect it to be after various types of changes, or to test specific functions.</p><p>For example when I make a button I console.log my proof of concept</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ezZiK1v-9e3-nMoeFa_Y0g.png" /><figcaption>here I am checking to make sure that the ID that matches the item that I want deleted appears in my console before I set up a DELETE request for it</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*QcbLBAQBrFLV_BoI3p7t_w.png" /><figcaption>here is the line of code that is called onClick of my delete button</figcaption></figure><p>I also use console.log to test my state changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iXO7N7TJgMuXmJJ-JC05Qw.png" /><figcaption>here I am making sure that the information I type into the input field is updating the state that I will eventually be passing into a PATCH method</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*O1vseo5XxbXN05dLfcuSKA.png" /><figcaption>this is the function that triggers onChange of my comment field (I also have a commented out console.log from something I was curious about earlier in the program, that I thought I might have to come back to!)</figcaption></figure><p>I have found that a lot of the mistakes that take me a long time to figure out are a compounding of not having the correctly structured data and trying to put it into a function that contains information that is new to me. Console.logging allows me to enter into those new structures or methods without the stress of wondering if my new function isn’t working because I don’t understand it, or if I just have the wrong data!</p><p>this is another WIP</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58c81b1605c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Translating vision into code]]></title>
            <link>https://medium.com/@admin_18181/translating-vision-into-code-3ad7df6cd5b?source=rss-3cb5efb40734------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ad7df6cd5b</guid>
            <dc:creator><![CDATA[Frederick Scovell]]></dc:creator>
            <pubDate>Fri, 18 Feb 2022 18:56:37 GMT</pubDate>
            <atom:updated>2022-02-18T18:56:37.499Z</atom:updated>
            <content:encoded><![CDATA[<p>When I walk into a new space I process a multitude of things. When I enter my climbing gym, I focus on a few specific things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*MshdYyzp04NlYFel4kP0Bg.png" /><figcaption>the location in the gym, the grip color to identify an individual climb, the difficulty to get an immediate idea of if I can climb it or not, the techniques I will most likely need to use for the problem, and when approximately I think the wall will be reset</figcaption></figure><p>It is someone’s job to constantly create, update and remove climbs and I wanted a way to keep track of that constant changing of climbs. In order to store any information we have to setup storage space. I decided to use SQL to allow me to interact with how I store data on my computer and to setup some basic relationships between the data I was storing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vUuggFOZrY0ArcwpWC243Q.png" /><figcaption>this is an SQL table of all of the problems</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*wCaGLJPcPAx93sKbh4IS2Q.png" /><figcaption>the green line is exactly where it is stored on my computer</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*QmSqFQKhoiu9dxcTtAV4VA.png" /><figcaption>this is a migration file I need to make in order to format seed data into the SQL table</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*-yoXz3IEdHBZybtQEu6cFg.png" /><figcaption>a create command like this is how I seed the data (the timestamp is added automatically)</figcaption></figure><p>To be continued.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ad7df6cd5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An inspired second project]]></title>
            <link>https://medium.com/@admin_18181/an-inspired-second-project-92315a1c0b6a?source=rss-3cb5efb40734------2</link>
            <guid isPermaLink="false">https://medium.com/p/92315a1c0b6a</guid>
            <dc:creator><![CDATA[Frederick Scovell]]></dc:creator>
            <pubDate>Mon, 31 Jan 2022 17:20:32 GMT</pubDate>
            <atom:updated>2022-01-31T17:20:32.777Z</atom:updated>
            <content:encoded><![CDATA[<p>When I started this project it was a partner project centered around an idea my partner really wanted to get working. The first thing I noticed when I looked at the code they had provided me was an API key (which I have removed for the blog) and a set of useStates(one notable state was set automatically to “Chicken”).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*-ZCObR87BlTMEggR2972xQ.png" /></figure><p>As soon as I Scrolled down however I became a little bit uneasy due to how different it was from the code we had learned in class. The functions were written very differently…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*ajzZiQhO4_QqmxUmFH241g.png" /></figure><p>How I ended up re writing the function to reflect what we were taught:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*KZn9UEplFXp296g2fN5Saw.png" /></figure><p>These are essentially the same thing, however I was a little confused about the await functionality since I had always used “.then”. I changed the other functions, so that I could ensure the functionality was what I expected when I started reorganizing the contents of the site. Their initial return statement totally worked, however we spent a bunch of time during lectures going over best practice and how to make your code easy to read through using components. Here are the differences:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*nPfSCuCV1tBz3ZK7EvqsvQ.png" /><figcaption>Sorry for the awkward break</figcaption></figure><p>How I reorganized using the concept of containers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*XosupQ1sQtTV-C8bfi-A0g.png" /></figure><p>I created RecipeList.js and passed the function rendering the recipes to it, as well as putting the search function into the header(this was a mistake and I should have passed it into the RecipeList as well, for better functionality).</p><p>Their rendering of the individual recipe was done correctly, however it was a very basic individual unit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*jIoC44mFc5GUPmddAzV3rA.png" /></figure><p>I took their basic display and added the functionality to hide the items until they were clicked on, as well as two buttons, one of which hides the item again while the other button gives the user the ability to add them to a locally hosted db.json file that could be referenced later as favorites:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*EqkE2gMxA04q4oKmFBOvTQ.png" /><figcaption>the logic</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*bkUZ0vTdshPSFHYgdJC6ZQ.png" /><figcaption>How it displays</figcaption></figure><p>After all of those changes I had nothing left of their code, except for a few formatting things in the footer and about.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*ycZ1hDQe0Q_xor1Rgh0Wvw.png" /><figcaption>All the functions are identical in how they render outside of my slightly changed text. This is the about</figcaption></figure><p>During this time my partner was going through a pretty hard time, so I did not get any assistance, however the process of changing unfamiliar code to something I understood in order to improve it without the previous coders input will undoubtedly come up for me again and I am glad I got some practice in!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92315a1c0b6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>