<?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 Daniel Vazquez on Medium]]></title>
        <description><![CDATA[Stories by Daniel Vazquez on Medium]]></description>
        <link>https://medium.com/@danielvazquez_74760?source=rss-deb1987b5f65------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mGM5pzsifohU-JdFdAz57A@2x.jpeg</url>
            <title>Stories by Daniel Vazquez on Medium</title>
            <link>https://medium.com/@danielvazquez_74760?source=rss-deb1987b5f65------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 13:47:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danielvazquez_74760/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[Dom Manipulation — What I Learned When Building With An API For The First Time.]]></title>
            <link>https://medium.com/@danielvazquez_74760/dom-manipulation-what-i-learned-when-building-with-an-api-for-the-first-time-589e0ad4398f?source=rss-deb1987b5f65------2</link>
            <guid isPermaLink="false">https://medium.com/p/589e0ad4398f</guid>
            <category><![CDATA[web-applications]]></category>
            <category><![CDATA[dom-manipulation]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Daniel Vazquez]]></dc:creator>
            <pubDate>Thu, 08 Jun 2023 23:33:35 GMT</pubDate>
            <atom:updated>2023-06-08T23:33:35.465Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dom Manipulation — What I Learned When Building With An API For The First Time.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jG2UKkg45tMg0tKP" /><figcaption>Photo by <a href="https://unsplash.com/@brett_jordan?utm_source=medium&amp;utm_medium=referral">Brett Jordan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The DOM (Document Object Model) is a JavaScript object that represents the HTML of your page. It also lets you interact from JavaScript with the elements on your page. You can read and change text, add and delete items, and a lot more using JavaScript.</p><p>You look at the DOM anytime you use developer tools to inspect elements. This comes in super handy when you are trying to make edits to your CSS and testing JavaScript functions and logging them to the console. I found myself using the DOM quite a bit in implementing my very first API in a web application using the <a href="https://pokeapi.co/">PokeAPI</a> and using it to display certain details in my application.</p><h3>API</h3><p>The pokemon API is a RESTful API which means its a stateless, client-server communication model. This is a very simple and straight forward API so perfect for beginners like myself to get their feet wet. I’ll be honest, When learning about JavaScript and Promises, and functions and map methods I didn’t really understand why I was learning these things. That is, until I finally dove into this project. The data on pokemon is pretty straight forward so it makes it much easier to understand what I need to do to get to certain key/value pairs. This API is a web API which allowed me to use a fetch request by http, and using an endpoint like you see below of {“pokemonName”}.</p><pre>const getType = (pokemonName) =&gt; {<br>  return fetch(`https://pokeapi.co/api/v2/pokemon/${pokemonName}`)<br>    .then((res) =&gt; res.json())<br>    .then((data) =&gt; data.types.map(type =&gt; type.type.name))<br>    .catch(error =&gt; console.log(`Failed to fetch type for ${pokemonName}:`, error));<br>};</pre><p>The data inside that endpoint had many things I could extract but in this snippet of code, I was using it to access the type of Pokemon. I was using multiple .then() methods to perform sequential operations, one after another in the Promise chain and ending with a .catch() method in case I had an error like a Pokemon that had no type. All the practice finally made sense when putting this into action!</p><h3>Document.querySelector( )</h3><p>This method comes in clutch to select single CSS selector elements. For example:</p><pre>&lt;div class=&quot;pokemon-name&quot;&gt;Pikachu&lt;/div&gt;<br>&lt;script&gt;const pokemon = document.querySelector(&quot;pokemon-name&quot;)&lt;/script&gt;</pre><p>If I wanted to select the div with the class selector “pokemon-name”, I would insert the name of the class into that document.querySelector within the parentheses and quotes. I could also select the container element (div), but if there are other div’s that come before that div, then if your intention is to select Pikachu, that won’t happen because another div came first and this method will only select the first item with the selector you are searching for. That is why it’s good practice to identify what you want to manipulate. You can also use <strong>document.getElementById( ) </strong>to… you guessed it, select an element by the ID.</p><p>I used these methods to help sort through the pokemon cards I created from A through Z.</p><pre>const sortPokemonAZ = (selector) =&gt; {<br>  const sortCards = (container) =&gt; {<br>    const cards = Array.from(container.getElementsByClassName(&#39;pokemonCard&#39;));<br>    cards.sort((cardA, cardB) =&gt; {<br>      const nameA = cardA.querySelector(&#39;h4&#39;).textContent.toUpperCase();<br>      const nameB = cardB.querySelector(&#39;h4&#39;).textContent.toUpperCase();<br>      return nameA &lt; nameB ? -1 : (nameA &gt; nameB ? 1 : 0);<br>    });<br><br>    cards.forEach(card =&gt; container.appendChild(card));<br>  };<br><br>  sortCards(document.querySelector(selector));<br>};<br><br>document.getElementById(&#39;sort-button-az-collection&#39;).addEventListener(&#39;click&#39;, () =&gt; sortPokemonAZ(&#39;.collection-border&#39;));</pre><p>What this function does is sortPokemonAZ takes a selector as an argument, which I use to identify names of Pokemon I’ve assigned to a certain class. The cards are inside of an html div I’ve deemed as a ‘container’ and so I made a constant variable that takes the certain container I want as an argument. I made this part of the code because I had two separate sections on my webapp that individually would sort the cards in those two separate categories.</p><p>Another cool JavaScript method I learned was the .sort method. As you can see in the return the nameA is compared to the nameB and if the nameA comes before (&lt;) nameB in the alphabet, it is assigned a number of -1. if they are the same, it is assigned a number of 0, and if it comes after nameB it is assigned -1. This is applied to all the cards, and that is how I used the sort method to alphabetize the pokemon cards.</p><p>This wasn’t perfect or pretty but it helped me understand HOW to work with a basic API and use some advanced JavaScript code to make toggle button for alphabetizing cards, and fetching data from an API as well as using event listeners and Dom manipulation. This was a fun learning experience that I plan on getting better and better at using and designing. Here is my github page for my <a href="https://github.com/dvazjr/JS-Website-API-Project">Pokemon API Web App</a>. Let me know if you have any questions on my socials! Until next time, happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=589e0ad4398f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The importance of doing small projects in your beginner coding journey]]></title>
            <link>https://medium.com/@danielvazquez_74760/the-importance-of-doing-small-projects-in-your-beginner-coding-journey-af9e643bc6ac?source=rss-deb1987b5f65------2</link>
            <guid isPermaLink="false">https://medium.com/p/af9e643bc6ac</guid>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Daniel Vazquez]]></dc:creator>
            <pubDate>Tue, 02 May 2023 06:10:22 GMT</pubDate>
            <atom:updated>2023-05-02T06:10:22.480Z</atom:updated>
            <content:encoded><![CDATA[<p>Spending time in tutorials and code challenges and courses give you a basis for what you can do, but boy does it fare difficult to recall everything you learn in the how-to aspect of a language, to implementing an app or a game.</p><p>If you are finding yourself just learning about functions over and over again, jump into a new project you can spend some heavy time on that will combine your knowledge and help codify all the fragments of coding you are being taught online into your long term memory.</p><p>I recently had to create a node battleship game and before I ventured into this project I thought I understand concepts pretty well. But when tasked with making the game, I didn’t know where to start! All the concepts blurred together, I didn’t know where to start I know how the game goes but how do I make an imaginary game using a terminal call and response style game? Piece by piece! I worked on a basic version of the game and broke down each and every part to its smallest possible form. I rewrote code like 25 times before it worked exactly the way I needed it to work. Man was this assignment difficult but all the teaching culminated and I had to ask others for help and research more on certain things I didn’t practice much on before.</p><p>Had I done more smaller projects leasing up to this, it wouldn’t have taken me a month to figure out. I wasted a lot of time because this challenging project was like Kilimanjaro to a beginning coder. It was as if I only had the parts to an engine but no manual. I know what each part does but I don’t know how it all needed to piece together to run. So yes, be sure to do small projects along your coding journey so you don’t come to a large adversity and feel like this isn’t for you! You can do it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af9e643bc6ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starting Out Learning JavaScript]]></title>
            <link>https://medium.com/@danielvazquez_74760/starting-out-learning-javascript-eeba256ccc03?source=rss-deb1987b5f65------2</link>
            <guid isPermaLink="false">https://medium.com/p/eeba256ccc03</guid>
            <category><![CDATA[beginner-coding]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Daniel Vazquez]]></dc:creator>
            <pubDate>Sat, 08 Oct 2022 04:25:39 GMT</pubDate>
            <atom:updated>2022-10-08T04:25:39.537Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZVxNg46ZIRFtp4Gj" /></figure><p>I know I am not the only one who has a hard time starting out learning this programming language, but according to a 2022 <a href="https://survey.stackoverflow.co/2022/#most-popular-technologies-language">Developer Survey</a> done by Stack Overflow, JavaScript is the most commonly used language in the world(65.36%). So that means, <strong>you just need to know it!</strong> Especially if you are looking to get into Front-End Web Development like I am.</p><h3>What was hard about learning JavaScript?</h3><p>Variables, strings, and numbers weren’t very hard. The hard parts were getting into comparison operators, logical operators, functions, and loops, and putting all those things together. I did not know why I was writing what I was writing, I did not know how what I was writing would result in what it resulted in, and I kept asking, why? Why do I have to write this mumbo jumbo? What scenarios would this be used in? For what purpose? It would have been sweet to see examples of what the code does BEFORE getting into the code. Seeing the result of what you are about to work through is like the carrot dangle we need as noobie developers. Otherwise, we follow along and are lost like we just had the lights shut off on us in a mirror maze. In this article, I will give an example of how Comparison operators work.</p><h3>Comparison Operators</h3><p>This is how I would have liked to have been taught… Alright, here’s a list of comparison operators from <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#comparison_operators">MDN</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/0*qzC_o2aK4iQm19Vr" /></figure><p>You are going to code a program that gives us a response in the console if a scenario is true, and a different response if it is false. So imagine you are going to a store and have $100 in your checking account. If I have enough money to cover the cost of the item, I’m going to receive a response from the program that reads, <em>“No problem, I’ll pay with debit!</em>”, and if the item is more than $100, I’m going to receive a response that says, <em>“Uh oh, I better put this on credit!”</em>.</p><p>First things first, I need variables for the amount of money in my account, and the cost of the item I am buying. I need to make up a name for each variable equal to a cost for each variable like so:</p><pre>var myAccountBal = 100.00;<br>var product = 80.00;</pre><p>Now we want to print either statement to the console depending on whether that product number is above or below the account balance. So we need to implement the conditional if…else statement, in combination with a comparison operator. You will need to consider which comparison operator you will use. To walk you through this example, you are going to want anything less than or equal to how much you have in your account, to result in the I have enough money response. and anything other than that can fit in my “else” statement.</p><p>How do we tell the program to compare the two variables above? And which statement do I want to work on 1st? Let’s go with the scenario of you having enough money in your bank account.</p><pre>if (product &lt;= myAccountBal) { <br>   console.log(&#39;No problem, I\&#39;ll pay with debit!&#39;) <br>}</pre><p>Here’s the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/0*NKpehb5yeI965aDh" /></figure><p>Now what we need to do is add the else statement so that if I change</p><pre>var product = 110.00;</pre><p>I need to pull out that Amex Black Card! So we change the product amount and add the else statement onto the previous if statement like so:</p><pre>var myAccountBal = 100.00; <br>var product = 110.00; </pre><pre>if (product &lt;= myAccountBal) { <br>   console.log(&#39;No problem, I\&#39;ll pay with debit!&#39;)<br> } else {<br>      console.log(&#39;Uh oh, I better put this on the credit card&#39;) }</pre><p>And we get this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/0*Y67cNWAZp_VQSvo7" /></figure><p>And there you have it. A very basic if…else statement with an operator comparison of greater than (&gt;) and less-than/equal-to (&lt;=)</p><p>Wish me luck on my journey!</p><h3>World Famous Coding Dad Joke #796:</h3><pre>var driving = true; <br>while (driving==true) { <br>  // Car crashes <br>}</pre><p>Be careful with while loops 🙄</p><p>Follow me on Twitter <a href="https://hashnode.com/@DVazDev">@DVazDev</a></p><p><em>Originally published at </em><a href="https://dvazdev.hashnode.dev/learning-javascript-basics"><em>https://dvazdev.hashnode.dev</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eeba256ccc03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git Navigation Commands]]></title>
            <link>https://medium.com/@danielvazquez_74760/git-navigation-commands-14b79c90ad62?source=rss-deb1987b5f65------2</link>
            <guid isPermaLink="false">https://medium.com/p/14b79c90ad62</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Daniel Vazquez]]></dc:creator>
            <pubDate>Fri, 23 Sep 2022 00:51:01 GMT</pubDate>
            <atom:updated>2022-09-23T20:06:20.673Z</atom:updated>
            <content:encoded><![CDATA[<h4>A brief cheat sheet type blog for navigating around in the terminal.</h4><p>How to navigate in out and around your directories after you have installed git on your machine:</p><p><strong>ls</strong> — stands for list. What it does, is it lists any files or folders in the directory you are currently in. For example, If I open up the terminal on my macbook, and type in this command first thing, I get folders like downloads, documents, and applications. It shows me the folders I can get into from where I am at the root of the OS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*0Gh8PoKXDbWldm49-MjgsA.png" /><figcaption>‘ls’ in git</figcaption></figure><p><strong>cd</strong> — stands for change directory. This allows you to either move up or down within your computers directories. To move up, you have to specify the folder you want to get into. for example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*N5j70H1X8iP32Li6vqjI6g.png" /><figcaption>cd sample</figcaption></figure><p>Now you can see above that “Downloads” has moved from the right side of the %-sign to the left, which means I am now in that folder, and if I want to check its contents, I could type in “ls” to see what files are in that folder.</p><p>If you want to navigate down /backwards to the previous folder, you simply need to type in “cd ..” OR if you want to go to the root folder you can simply type in “cd” all by itself to go all the way back.</p><p><strong>mkdir</strong> — Stands for make directory and this is used to make a new folder within the folder you are in. So if I am in my Downloads folder and I type mkdir Sample_Folder, this is what happens:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9icY0X33ZtlhXiQ0vJvnWw.png" /><figcaption>mkdir sample</figcaption></figure><p>Be sure not to include spaces in the naming of the new folder, and same goes for files you create, which is what is next.</p><p><strong>touch</strong> — This is how you create a new file. be sure to add the file type like .js .index etc. Be sure you are in the folder you want to be in when you create the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZJic5XX2_ep6g7CeRm0Y4A.png" /><figcaption>make a new file</figcaption></figure><p><strong>mv currentfilename newfilename</strong> — This command changes the name of your file or folder. The structure of this command is pretty simple you first write down the current name and the new name and it will automatically update after you hit ENTER.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VaOkebkTq2TNJ6jXDtSupQ.png" /><figcaption>rename files in git</figcaption></figure><p><strong>mv filename ./directory name</strong> — This command moves your selected file or folder to another folder. This specific command will work if the folder you want to move a file into is in the same directory. For example after I put this command in, you will notice catpaws.js is gone because I moved it into the newNew folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jA01Ldptt_Xj1RBXDV8HGg.png" /><figcaption>move files in git</figcaption></figure><p>And if I click into the newNew folder you will find the catpaws.js file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*XAhteY446MSCbXvxjS_lYA.png" /><figcaption>post-move git navigation</figcaption></figure><p>If I wanted to move this file back to the previous folder, you need to cd into that newNew folder in your terminal, and THEN you will put in the following command with two periods ../</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4hZGXYZpmubFzpJMzkgVWQ.png" /><figcaption>moving files back in git</figcaption></figure><p>BUT look, I made a mistake thats worth noting, if you look above, the catpaws.js file name changed after I entered that last command. The reason that happened is because there was no SampleFolder to be found when it moved, so it thinks that was a file I wanted to create after the move to a different directory. I should have typed in Sample_Folder. So that’s a good mistake to note.</p><p><strong>rm filename </strong>— This is how you can delete files</p><p><strong>rm -R foldername</strong> — This is how you can delete folders</p><p>I hope this helps someone! :)</p><p><strong>World Famous Coding Dad Joke #331:</strong></p><p><em>Question: </em>Why do single people get nervous about git?</p><p><em>Answer</em>: They are scared to commit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/0*EEASjFXMTvOE4P2i.gif" /></figure><p>Follow me on Twitter <a href="http://twitter.com/dvazdev">@DVazDev</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14b79c90ad62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SaaS HTML-CSS Project — What I learned]]></title>
            <link>https://medium.com/@danielvazquez_74760/saas-html-css-project-what-i-learned-45e28ad3c31f?source=rss-deb1987b5f65------2</link>
            <guid isPermaLink="false">https://medium.com/p/45e28ad3c31f</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[flexbox]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[grid-layout]]></category>
            <category><![CDATA[saas]]></category>
            <dc:creator><![CDATA[Daniel Vazquez]]></dc:creator>
            <pubDate>Thu, 22 Sep 2022 06:49:27 GMT</pubDate>
            <atom:updated>2022-09-22T06:49:27.113Z</atom:updated>
            <content:encoded><![CDATA[<p>SaaS HTML-CSS Project — What I learned</p><figure><img alt="My first SaaS project" src="https://cdn-images-1.medium.com/max/1024/1*_EWlpRHv6iCrra5ucWAKkQ.png" /><figcaption>My first SaaS project</figcaption></figure><p>I didn’t realize before I started coding that you could look at a picture of a website, and make what you see out of a blank canvas of code. From the floating icons, to their shadows and navigation and background gradients, it was such an eye opening and awesome experience building this website from scratch, and then launching it live for others to see if they wanted to.</p><p>The 1st thing I learned was to plan before you just start throwing code into the text editor. One handy trick to stay organized when you are planning to clone something in an image, is to outline the picture by taking a screenshot, and then marking it up with Mac’s markup tool, or you can using any photo editor. I like to list some important aspects of the code I don’t want to forget as Im diving in, as well as outline the div’s and color coding flex boxes and grid. Here’s my example:</p><figure><img alt="Outlining The Bones of A Website" src="https://cdn-images-1.medium.com/max/1024/1*a6ZXXt_DcM1MVGVvou12tA.png" /><figcaption>Outlining The Bones of A Website</figcaption></figure><p>One issue I had with making the floating icons was the icons would get cut into by the border radius. The solve for that was to wrap the image with another div and do the border radius to the container element and not to the image itself like this for example:</p><pre>&lt;div&gt;<br>  &lt;div <em>class</em>=&quot;&quot;&gt;<br>   &lt;img <em>src</em>=&quot;&quot; <em>alt</em>=&quot;&quot;&gt;<br>  &lt;/div&gt;<br>&lt;/div&gt;</pre><p>otherwise, this is what you will get:</p><figure><img alt="PayPal border-radius without Div Container" src="https://cdn-images-1.medium.com/max/246/1*xh8QSjKjHsa15y_0QZhn_A.png" /><figcaption>PayPal border-radius without Div Container</figcaption></figure><p>Another issue I had was with the pre-coded javascript button I reused from a previous lesson in the Devslopes Web Course I am taking. I did not make it PERFECT, but I did do the site well enough to pass the assignment requirements. The javascript issues made the responsiveness not work properly, but thats okay, I haven’t learned that yet. I plan on fixing this button later after I have a better understanding of Javascript.</p><figure><img alt="Javascript Hamburger Menu" src="https://cdn-images-1.medium.com/max/122/1*P8QS6KkabMKyJBMrJDYC3w.png" /><figcaption>Javascript Hamburger Menu</figcaption></figure><p>When you see something that looks impossible, break it down to its simplest form. Sometimes searching google for what you think you are trying to make, will help! For example, when I first came across this part of my website mockup, I was expecting the circles and lines to be an image asset that was provided, but it wasn’t, and I had to do that using div’s and borders and straight CSS. My brain saw a mountain, when it wasn’t that bad when you get every little element broken down.</p><figure><img alt="Div’s made into circles" src="https://cdn-images-1.medium.com/max/1024/1*GWKhGHSp4auYRAvti7v5Lg.png" /></figure><p>I was so proud to solve all these technical hurdles without asking for help. Google is an outstanding resource if you know what you are looking for.</p><p>I gained a wealth of experience on this project when it came to understanding <strong>display: grid</strong>, and <strong>display: flex</strong> layout modules. In the beginning it was trial and error, but as I progressed through the website, I got better and better at realizing what needed to be done.</p><p>If you want to play with this website or check it out feel free to collaborate with me and check out <a href="https://github.com/dvazjr">my github webpage</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45e28ad3c31f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Git & GitHub In Visual Code Studio]]></title>
            <link>https://medium.com/@danielvazquez_74760/using-git-github-in-visual-code-studio-1c833c27c2a1?source=rss-deb1987b5f65------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c833c27c2a1</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Daniel Vazquez]]></dc:creator>
            <pubDate>Thu, 18 Aug 2022 06:27:25 GMT</pubDate>
            <atom:updated>2022-08-18T15:25:06.659Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-jpnOmFN5z1XF99NKiwwuA.png" /></figure><p>Learning Git inside of visual code studio makes the clunkiness of using a command line Git Bash a thing of the past, I love that visual code studio has a terminal built in. Couple it with a couple sweet extensions, and you’ve got it MADE!</p><h3>Extensions You Need</h3><p>The 1st one I recommend you download is GitLens</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*q32zyfWnKE57Llh_iySPuw.png" /></figure><p>This extension is amazing because not only does it visually keep track of the branch you are in and the commits you’ve entered, but it also has a blame line feature you can see in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*BsECHnETHiaLSOTpVQHiPQ.png" /></figure><p>It tells you who committed the change, and when. Wondering what branch you are in? Or if you remembered to commit and push your changes to GitHub? There’s a side panel view for that!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*HwfOp3Ep0cnDlznj3isV7A.png" /></figure><p>There is ALSO a Github Extension that allows you to see if you have any pull request branches, anything waiting for your review, or perhaps a team member assigned some stuff to you on the remote server and you need to get it done but your deep in code thought, well now you’ve got a visual notification right there for you to see and prioritize. Pretty much removes the need to git log and git branch.</p><h3>Here are some useful commands you are going to need in Git</h3><p>cd (folder name) // Allows You To Move Up Into The Next Specific Folder In The Directory</p><p>cd - // Navigate To Previous Directory</p><p>cd / // Navigate to Root Directory</p><p>ls // Check Content In Current Local Folder</p><p>mkdir // Create Local Directory</p><p>$ git config --global user.name “YOUR NAME”// Sets Name You Want Attached To Your Work</p><p>$git config --global user.email “your@email.com”// Sets Email Attached To Your Commits</p><p>$ git init // Initializes A <em>Local Folder</em> As A Git Repository</p><p>$ git add &lt;file&gt; // Add File(s) To Index AKA Staging</p><p>$ git status // Check Status Of Working Tree — Will Tell You What Documents Have Changes</p><p>$ git commit -m “your message here”// Commit The Changes In Index.</p><p>$git commit // Opens a VIM in Visual Code Studio for you to type a subject and body message. To exit VIM press ESC+Shift+ ; +w+q</p><p>$ git log // Shows Most Recent Commits. Press ‘q’ to exit log</p><p>$ git push // Push To Remote Repository Such as GitHub</p><p>$ git pull // Pull Latest From Remote Repository</p><p>$ git clone // Clone Remote Repository Into A New Directory On Your Local Machine</p><p>$ git branch // Let You Know If You Are On Main Or Branch</p><p>$ git checkout -b (branch name)// Creates A New Branch</p><p>$ git checkout (branch name)// You Will Switch To That Specified Branch. BE SURE TO COMMIT INTENDED CHANGES BEFORE SWITCHING BRANCHES</p><p>$ git branch -D (branch name) // Deletes The Entire Branch</p><p>$ git merge // Combines Remote Tracking Branch To Local Branch</p><p>$ git merge (branch name)// Combines Specific Branch’s History To Current Branch (Done In Pull Requests)</p><h3>What If You Need To Pull Code From Github? How Does That Work?</h3><p>If you need to pull code from a remote repository, you simply go to the source page, and you find this little copy html button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*0tPJ5oAz4DE-1EcCHVin5g.png" /></figure><p>You get that and you just type in git clone (paste URL). Once you do that, all the files in that git repository are copied to your local drive!</p><p>Git is pretty amazing. Its something I never thought I needed. I used to think it was just some website for geeks, but now that I’m using it, its pretty clear that it is FOR SURE made for geeks!</p><p><strong>World Famous Coding Dad Joke #57:</strong></p><p><em>Question: Why Did The Programmer Quit His Day Job?</em></p><p><em>Answer: Because he didn’t get Arrays</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c833c27c2a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Favorite HTML Code Writing Extensions on Visual Studio Code]]></title>
            <link>https://medium.com/@danielvazquez_74760/my-favorite-html-code-writing-extensions-on-visual-studio-code-6f23209e0d5d?source=rss-deb1987b5f65------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f23209e0d5d</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[code]]></category>
            <dc:creator><![CDATA[Daniel Vazquez]]></dc:creator>
            <pubDate>Wed, 17 Aug 2022 06:34:58 GMT</pubDate>
            <atom:updated>2022-08-17T06:34:58.147Z</atom:updated>
            <content:encoded><![CDATA[<p>For those of you that don’t use <a href="https://code.visualstudio.com/">Visual Code Studio</a>, you are about to find out why its my go to, and if you think your code editor is better, please comment what you use and why you love it. Also, stick around for an lovely treat at the end!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eAyHY9nBAdWrNRN8" /><figcaption>Photo by <a href="https://unsplash.com/@cdr6934?utm_source=medium&amp;utm_medium=referral">Chris Ried</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Here are the top 5 extensions I use most!</h3><ol><li>Auto Close Tag</li></ol><p>If you are anything like me, every key stroke is precious and can save tons of time when you’ve got loads of scrolls worth of code! That&#39;s why this extension is MONEY! Plus, whose got time to backspace you fat fingering the closing tag with“&lt;?” C’mon I know I’m not the only one!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*WgSbI0St3jid4nqXMrDlgQ.png" /></figure><p>It does exactly what you think it does, you start typing di hit tab and boom you’ve got &lt;div&gt;&lt;/div&gt; 11 keystrokes shrunk down to 3! Thats what I call a time-saver!</p><p>2. Auto Rename Tag</p><p>So there have been numerious times where I mistakenly put the incorrect header type or used a div instead of a nav… This comes in clutch and saves you time and clicks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*eh2q34Tjx3teZb-OTA__SA.png" /></figure><p>All you have to do is correct the opening tag and the closing tag will AUTO RENAME! Pretty cool!</p><p>3. Prettier</p><p>Who doesnt like to customize the different looks of your code? This is THE ONE! All kinds of different dark features because who wants to get their eyes melted off staring at black on white?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*4FoGlVu2P8lWUie5PaSFMA.png" /></figure><p>4. HTML Boilerplate</p><p>This one is handy and a time saver as well. All you have to do is type “ht” in an index.html file and like 5 different prewritten html options will pop up. I like the boilerplate. Its got everything you need right there in the head</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*O29icJ_l4FMjvTBOMFzsSA.png" /></figure><p>5. Live Server</p><p>The most SUPER clutch thing that I absolutely love, is LIVE SERVER. My 1st class I ever took went the overly hard route to be able to launch a live server and it was through github using repositories and their webpage feature and gitbash if I remember correctly and it was cool to know without a doubt, but this makes life SO MUCH EASIER!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*ojRyg92YbayglyG47IY7VQ.png" /></figure><p>All you gotta do is click on your index file, then click on the bottom bar of the window where it says “Go Live”</p><p>I hope this helps someone! Happy coding!</p><p><strong>World Famous Coding Dad Joke #204:</strong></p><p><em>Question: How does a web developer order his coffee?</em></p><p><em>Answer</em>:</p><figure><img alt="I take my coffee #000000" src="https://cdn-images-1.medium.com/max/465/1*gS_o6_T6tw2XEapaezH6_Q.png" /></figure><p>I told you it was a treat! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f23209e0d5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>