<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jake Pucci</title>
    <description>The latest articles on DEV Community by Jake Pucci (@jpucci26).</description>
    <link>https://dev.to/jpucci26</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F906453%2F9347f388-4d37-47a4-bd49-2e7337a4ef83.jpeg</url>
      <title>DEV Community: Jake Pucci</title>
      <link>https://dev.to/jpucci26</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jpucci26"/>
    <language>en</language>
    <item>
      <title>The power of the Workspace Layout</title>
      <dc:creator>Jake Pucci</dc:creator>
      <pubDate>Thu, 17 Nov 2022 03:49:55 +0000</pubDate>
      <link>https://dev.to/jpucci26/the-power-of-the-workspace-layout-f4i</link>
      <guid>https://dev.to/jpucci26/the-power-of-the-workspace-layout-f4i</guid>
      <description>&lt;p&gt;When deciding how we want to we want to present our data from our database to our users, we are faced with several options. I have seen the light that is a workspace layout and would love to share my two cents on the design system. &lt;/p&gt;

&lt;p&gt;A workspace layout facilitates user collaboration on records. It highlights the activity and discussion that is happening around a record by placing this information prominently in the larger content area, while simultaneously displaying the related records in the sidebar. A summary of the record’s details are in a panel above the content area for easy reference.&lt;/p&gt;

&lt;p&gt;This is a design system often used by some very popular websites. When workspace layout design systems are used along with the users intention, this will lead to a much richer web application. &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmstguchvi902llep859q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmstguchvi902llep859q.png" alt="workspace layout" width="800" height="521"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As this diagram shows, utilizing this design system is actually quite easy and is amazing to integrate into multi-relational database models. Each of the relationships can be shown on one page and altered dynamically creating better UX. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjdtqg7dqee8f5trkdkm5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjdtqg7dqee8f5trkdkm5.png" alt="profile template" width="800" height="602"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This generic facebook profile template is a perfect example of a workspace layout. The "[name]" would be the model name of the record being displayed. All the information on the left side of the display is the quick reference info of the related records. This would also be associated model information via the corresponding relationships. The large area for "Posts" is essentially a comment field allowing for activity and discussion that is happening around a record. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwe2xmfpjdh8489yd0ljs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwe2xmfpjdh8489yd0ljs.png" alt="profile template" width="800" height="533"&gt;&lt;/a&gt;&lt;br&gt;
Here is a Linkedin profile template and as you can see, it is also utilizing the workspace layout design system. Joe Sample's information would be filled out entirely by the database columns. The current model name is present at the top of the page as the "me" icon in the navbar. If this example included and "activity" area, that would be the models relational information, similarly to Facebook's "posts" area. &lt;/p&gt;

&lt;p&gt;Once you begin to recognize a &lt;a href="https://www.lightningdesignsystem.com/guidelines/layout/" rel="noopener noreferrer"&gt;workplace design system&lt;/a&gt;, you will see them being used on many applications and for good reason. They make UX richer! &lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>DRY-out your fetch()</title>
      <dc:creator>Jake Pucci</dc:creator>
      <pubDate>Tue, 11 Oct 2022 15:14:26 +0000</pubDate>
      <link>https://dev.to/jpucci26/dry-out-your-fetch-3mjo</link>
      <guid>https://dev.to/jpucci26/dry-out-your-fetch-3mjo</guid>
      <description>&lt;p&gt;If you ever find yourself working with an &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/fetch"&gt;API&lt;/a&gt;, you will undoubtably have to learn and use the &lt;code&gt;fetch()&lt;/code&gt; method. Using &lt;code&gt;fetch()&lt;/code&gt; allows developers to access  API's and use their data in multiple ways. For those curious, the syntax for your average &lt;code&gt;fetch()&lt;/code&gt; post method goes as follows:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cFOVLswf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/asfxfae3ul2bzcb5lwky.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cFOVLswf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/asfxfae3ul2bzcb5lwky.png" alt="basic fetch" width="790" height="182"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now what you chose to do with that extracted data can vary greatly. For this example, I am just &lt;code&gt;console.log()&lt;/code&gt;-ing all of it. This can be very useful to see if your &lt;code&gt;fetch()&lt;/code&gt; is working correctly. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;fetch()&lt;/code&gt; is an incredibly important method and allows us Devs to access our websites backend data in many ways...&lt;/p&gt;

&lt;p&gt;Most commonly, we need to&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Create data,&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Read data,&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Update data &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Delete data&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This can be easily memorized using the acronym "CRUD". As developers, we work with CRUD all the time. So much so that one might say we often find ourselves knee-deep in CRUD while creating our projects. Luckily, there is a solution to keep us out of so much CRUD. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Don't&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Repeat&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Yourself!&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No i'm not just yelling at you. This is actually another acronym, "DRY", and it can help keep you from drowning in the CRUD. I have learned a fun little technique that can make your code more efficient, modular, and keep it DRY. Use a function to declare your &lt;code&gt;fetch()&lt;/code&gt; requests! &lt;/p&gt;

&lt;p&gt;On the simplest scale, it would look like this, &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2qJNTMBf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7xaw6vl6est5apzuimpp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2qJNTMBf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7xaw6vl6est5apzuimpp.png" alt="simple fetch function" width="798" height="168"&gt;&lt;/a&gt;&lt;br&gt;
Let's break this down. This is the exact same &lt;code&gt;fetch()&lt;/code&gt; order as the previous example. What makes this so cool though is we set the fetch's URL to a parameter allowing it to be changed depending on where your fetching your data!&lt;/p&gt;

&lt;p&gt;If above this function we wrote...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const url = 'http://example.com/movies'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
... this would return the exact same data as the first, "boring" &lt;code&gt;fetch()&lt;/code&gt; above! &lt;/p&gt;

&lt;p&gt;We can still make this even more dynamic by just calling the function and passing our desired url as a parameter. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--r6vZDn96--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qakeatqt6k30vprj3y9c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--r6vZDn96--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qakeatqt6k30vprj3y9c.png" alt="cool fetch" width="880" height="121"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Even though this is super useful, you may be thinking "whatever, its not that hard to type up a correctly syntax-ed fetch every time I need it one". I would agree however, when the fetch's become more complicated, you will surely start to sink into the CRUD. Let's look at some other, more complex &lt;code&gt;fetch()&lt;/code&gt;'s and see how useful it is to just pass info for it as parameters. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BNM8y119--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tm5km4cbfpagcyngwk9n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BNM8y119--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tm5km4cbfpagcyngwk9n.png" alt="complex fetch" width="880" height="222"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IXEsYhr_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pmtiljgn8c34ugb7cuh8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IXEsYhr_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pmtiljgn8c34ugb7cuh8.png" alt="another complex fetch" width="790" height="510"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When tapping into CRUD to both update and create new data, the &lt;code&gt;fetch()&lt;/code&gt; syntax becomes more intensive and harder to remember the exact details. It's much easier to create these fetches as functions and pass the necessary info as parameters. The real fun part is how customizable it you can make it. In the above example, I created several parameters to allow for more optimization with my &lt;code&gt;fetch()&lt;/code&gt; function. &lt;/p&gt;

&lt;p&gt;How you write your code is up to you. But if you want to keep yourself from living a life knee-deep in CRUD, I think this technique is a great start. Maybe down the road I'll discover an even better way to DRY-out my CRUD. &lt;/p&gt;

&lt;p&gt;Thank You!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>api</category>
      <category>productivity</category>
    </item>
    <item>
      <title>React's Potential</title>
      <dc:creator>Jake Pucci</dc:creator>
      <pubDate>Thu, 15 Sep 2022 18:05:07 +0000</pubDate>
      <link>https://dev.to/jpucci26/reacts-potential-4kkm</link>
      <guid>https://dev.to/jpucci26/reacts-potential-4kkm</guid>
      <description>&lt;p&gt;   Facebook has created one of the webs most popular frameworks, &lt;a href="https://reactjs.org/"&gt;React&lt;/a&gt;. It's popularity has been tremendous and some of the biggest companies have chosen to use React as their website framework. Some examples include...&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Facebook&lt;/li&gt;
&lt;li&gt; Instacart&lt;/li&gt;
&lt;li&gt; Netflix&lt;/li&gt;
&lt;li&gt; SalesForce&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  With companies like these backing React, the framework's capability almost speak for itself.
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sqUOC4r9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/65e37sae03euqy8clstz.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sqUOC4r9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/65e37sae03euqy8clstz.jpeg" alt="an image" width="870" height="40"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  One of Reacts greatest feature's are it hooks. React hooks are built in tools that Engineers can utilize to improve their code.
&lt;/h4&gt;



&lt;h1&gt;
  
  
  useState
&lt;/h1&gt;

&lt;h4&gt;
  
  
  useState allows Engineers to update the &lt;strong&gt;state&lt;/strong&gt; of their functions. State is data that is dynamic in your component: it changes over time as users interact with your application. useState is probably the most common React hook as it allows for dynamic user interactivity.
&lt;/h4&gt;

&lt;h1&gt;
  
  
  useEffect
&lt;/h1&gt;

&lt;h4&gt;
  
  
  useEffect is a React hook that allows Engineers to tap into the &lt;em&gt;side effects&lt;/em&gt; of a function. Side effects of functions happens when a function is called and it causes change outside of the function itself. You can "hook" into this change via useEffect. I have found this to be the most useful for me when it comes to fetching data from  an API when a component loads. In this example, the component loading is the main function firing and the data fetch via useEffect is the side effect.
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bXNPgAYh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a8g7waw3r1fbxn9a6xju.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bXNPgAYh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a8g7waw3r1fbxn9a6xju.jpeg" alt="components" width="216" height="300"&gt;&lt;/a&gt;&lt;br&gt;
Another Engineer-friendly tool React provides are &lt;/p&gt;

&lt;h1&gt;
  
  
  components.
&lt;/h1&gt;

&lt;h4&gt;
  
  
  Components are little bits of re-usable code blocks that are similar to JavaScript functions but return JSX. JSX or JavaScript XML, is the combination of both JavaScript and HTML and allows Engineers to write HTML in React. Components are really good at organizing our code and make it easy to extract the &lt;a href="https://www.educative.io/answers/what-is-a-boilerplate-code"&gt;boilerplate code&lt;/a&gt;. Components are a crucial and powerful part of React but they would be almost useless without...
&lt;/h4&gt;

&lt;h1&gt;
  
  
  Props
&lt;/h1&gt;

&lt;h4&gt;
  
  
  Props allow us to pass information from &lt;a href="https://www.pluralsight.com/guides/how-to-handle-communication-between-parent-and-child-components-in-reactjs"&gt;parent&lt;/a&gt; components to &lt;a href="https://www.pluralsight.com/guides/how-to-handle-communication-between-parent-and-child-components-in-reactjs"&gt;child&lt;/a&gt; components. Props can hold all kinds of information including strings, numbers, booleans, objects, even functions. In the example below, "actors" is the prop being passed to the "Actors" component.
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--N_N8cIfJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/msg4a6s06acxnscz402k.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--N_N8cIfJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/msg4a6s06acxnscz402k.jpeg" alt="actor props" width="816" height="562"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To break this down to a simpler level, let's use this analogy. Let's say we have a big tasty burrito in front of us. Notice how the tortilla carries all the ingredients inside of it. You can easily carry the burrito around with you and have access to all of its tasty ingredients within. Amazingly, this is just like React! Components are like the tortilla carrying all of the ingredients (props) inside! Just like the ingredients of a burrito, props can be anything you chose. &lt;/p&gt;

&lt;h3&gt;
  
  
  In my opinion, React is the most capable webpage wireframes currently available. Its use of props, components and hooks makes its modularity and ease of use stand out. I  hope this post helped educate or inspire your future React Use!... also make you a little hungry for a burrito...
&lt;/h3&gt;

</description>
      <category>react</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>Closing My Bootcamp's First Phase.</title>
      <dc:creator>Jake Pucci</dc:creator>
      <pubDate>Wed, 24 Aug 2022 16:45:00 +0000</pubDate>
      <link>https://dev.to/jpucci26/closing-my-bootcamps-first-phase-401o</link>
      <guid>https://dev.to/jpucci26/closing-my-bootcamps-first-phase-401o</guid>
      <description>&lt;p&gt;   I have officially finished my bootcamp's first phase. These last three weeks carried incredible challenges and at times, some adrenaline-filled victories. It's funny to be so dramatic about it but that's exactly how it felt.&lt;/p&gt;

&lt;p&gt;   For context, I feel like I should explain my background with computers, or lack thereof. Before this bootcamp, my computer knowledge was incredibly novice. At most, I would use a computer to email people and watch the occasional Youtube video. Even an Excel spreadsheet looked incredibly foreign to me. Never did I think I would be able to operate the terminal, use &lt;a href="https://code.visualstudio.com/"&gt;VScode&lt;/a&gt;, and understand what functions are and how they operate. Phase-1 was undoubtedly a rollercoaster.&lt;/p&gt;

&lt;p&gt;   The first week took no time at all when it came to absolutely throwing me into a dark pit of despair. Never has my fear of failure been so high and my confidence been so low. The resulting feedback loop was overwhelming. I decided the only way to boost my confidence with all the new material was to spend every minute I had studying, watching tutorials, and practicing labs. I felt that if I just eat, sleep and breathe JavaScript, I would begin to understand what was happening. This introduced me to my first bootcamp lesson; rest is a necessity. After working 16+ hours each day trying to catch up and learn JavaScript, I finally crashed mentally. So much so that I &lt;a href="https://dev.to/jpucci26/admitting-something-embarrassing-4pgo"&gt;regressed&lt;/a&gt; in my coding knowledge. Eventually after some rest, I felt like I was starting to grasp about 40% of what was going on which, according to my Tech Coach, is a fantastic start. Celebrating this small victory was much needed. There was even a moment when I thought "Ok, I got this", but this cycle of feeling confident and then knowing nothing continues even now. &lt;/p&gt;

&lt;p&gt;   Week two began and I was bracing for the same shock I felt in the previous week. Luckily, week two's entire focus was different and I could breathe a sigh of relief. Instead of the confidence beat-down that was week one, week two consisted of tying all our skills together to prepare for our first coding challenge. This practice was a warm welcome, and I actually was enjoying the repetition of the mock coding challenges. Our challenge consisted of using a &lt;code&gt;fetch()&lt;/code&gt; method to create a website hosted by our local &lt;a href="https://www.w3schools.com/js/js_json_server.asp"&gt;json server&lt;/a&gt;. Im sure to most Devs this is probably an incredibly easy task but for me and my novice knowledge of JavaScript, it was a crazy challenge. I did however learn some very helpful tips to help keep your code clean and useful.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//variables
const imageList = document.querySelector('#movie-list')
const title = document.querySelector('#title')
const yearReleased = document.querySelector('#year-released')
const description = document.querySelector('#description')
const image = document.querySelector('#detail-image')
const button = document.querySelector('#watched')
const bloodPoints = document.querySelector('#amount')
const bloodForm = document.querySelector('#blood-form')
const bloodAmount = document.querySelector('#blood-amount')
let selectedMovie; 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;   Declaring &lt;a href="https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Variables"&gt;variables&lt;/a&gt; is a fundamental part of coding. In large blocks of code, you can find hundreds of variables declared. Through experience I have learned creating a space at the beginning of your code to declare &lt;a href="https://developer.mozilla.org/en-US/docs/Glossary/Global_scope"&gt;globally scoped&lt;/a&gt; variables to be a super helpful method. Trust me, it makes the problem solving process that much less painful. &lt;/p&gt;

&lt;p&gt;   Along with declaring global variables in an organized location, I also learned to name them in ways that make sense and are easy to understand.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const meunuList = document.querySelector('#menu')
const dishSection = document.querySelector('#dish')
let selectedItem;
const dishName = document.querySelector('#dish-name')
const dishDescription = document.querySelector('#dish-description')
const dishImg = document.querySelector('#dish-image')
const dishPrice = document.querySelector('#dish-price')
const dishText = document.querySelector('#dish-text')
const menuItems = document.querySelector('#menu-items')
const cartForm = document.querySelector('#cart-form')
const cartAmount = document.querySelector('#cart-amount')
const numberInCart = document.querySelector('#number-in-cart')
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;   Above is a prime example of how not to name your variables. I could have saved myself a lot of time and frustration if I named these variables in a more understandable way. For example&lt;br&gt;
&lt;code&gt;const meunuList = document.querySelector('#menu')&lt;/code&gt; and&lt;br&gt;
&lt;code&gt;const menuItems = document.querySelector('#menu-items')&lt;/code&gt;&lt;br&gt;
are both named very similarly. Often I found myself using the variable menuList when I needed menuItems or vice-versa. Moral is, name your variables in ways you can identify exactly what you're calling on. &lt;/p&gt;

&lt;p&gt;   It was during week two that I actually enjoyed working on these practice challenges. I felt like I could actually see the progress I had made with JavaScript and found it fun to try and problem solve my functions in all the different ways one can. Finding ways to consolidate and &lt;em&gt;clean up&lt;/em&gt; my code was very satisfying and almost like a game. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const divide = function(param1, param2){
    return param1 / param2
};

// can become shorter with an arrow function;

const divide = (param1, param2) =&amp;gt; param1 / param2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In my most humble opinion, the latter function is a much cleaner looking version. &lt;/p&gt;

&lt;p&gt;   So far, my experience with my bootcamp, Phase - 1, and programming overall has been pretty good! Besides the occasional deep dive into the pit of despair, I am really feeling like I can learn this skill. I believe as long as I keep applying myself to learning this and keep repeating my mantra, I will only continue to improve my skills. &lt;/p&gt;

&lt;p&gt;My bootcamp sent me this image on my first day. I reference it often.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jGvY_l5a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2x1hr1rnpwfwlix5bldq.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jGvY_l5a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2x1hr1rnpwfwlix5bldq.jpeg" alt="Image description" width="880" height="494"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Admitting Something Embarrassing</title>
      <dc:creator>Jake Pucci</dc:creator>
      <pubDate>Tue, 23 Aug 2022 01:43:00 +0000</pubDate>
      <link>https://dev.to/jpucci26/admitting-something-embarrassing-4pgo</link>
      <guid>https://dev.to/jpucci26/admitting-something-embarrassing-4pgo</guid>
      <description>&lt;h2&gt;
  
  
  I think a large part of being a beginner at something is owning your mistakes and being able to laugh at yourself.
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Wokxm2pN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pkan70sta2rk9drcnl43.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Wokxm2pN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pkan70sta2rk9drcnl43.jpeg" alt="Image description" width="229" height="220"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;h3&gt;
  
  
  I find myself studying and reviewing almost too much at times and it is almost counter productive. So much so that during week 1 of my bootcamp, I forgot what a &lt;a href="https://developer.mozilla.org/en-US/docs/Glossary/Parameter"&gt;parameter&lt;/a&gt; in a function was.
&lt;/h3&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>Learning the Basics of DEV</title>
      <dc:creator>Jake Pucci</dc:creator>
      <pubDate>Tue, 23 Aug 2022 01:28:00 +0000</pubDate>
      <link>https://dev.to/jpucci26/learning-the-basics-of-dev-3gcb</link>
      <guid>https://dev.to/jpucci26/learning-the-basics-of-dev-3gcb</guid>
      <description>&lt;h3&gt;
  
  
  It has just occurred to me that these posts should be written in Markdown
&lt;/h3&gt;

&lt;h1&gt;
  
  
  considering I have only just started to use Markdown this morning, I think it's fair to make a short list of things that I think are cool within it.
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;its definitely cool how this little star creates an unordered list.&lt;/li&gt;
&lt;li&gt;However that can only get you so far. Often I'll have to create an ordered list.&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Sometimes, certain situations even call for extra inflection via underlining.&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;I may only know the basics of Markdown but luckily I still have &lt;em&gt;plenty&lt;/em&gt; of time to &lt;em&gt;learn&lt;/em&gt;.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>My First Post on DEV!</title>
      <dc:creator>Jake Pucci</dc:creator>
      <pubDate>Tue, 23 Aug 2022 01:16:00 +0000</pubDate>
      <link>https://dev.to/jpucci26/my-first-post-on-dev-43po</link>
      <guid>https://dev.to/jpucci26/my-first-post-on-dev-43po</guid>
      <description>&lt;p&gt;Hello World!&lt;br&gt;
Today, August 22nd 2022 is the beginning of my blogging journey. I have been studying the art, science and passion that is computer coding for 14 days now. My first impressions? Holy moly how on earth will I ever understand what is happening. As long as I continue to work at it, it wont be long before I have conquered this new skill.  &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
