<?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[Rashad’s Tech Blogs - Medium]]></title>
        <description><![CDATA[Journey of Coding - Medium]]></description>
        <link>https://medium.com/rashads-tech-blogs?source=rss----69a8d32ec8a6---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Rashad’s Tech Blogs - Medium</title>
            <link>https://medium.com/rashads-tech-blogs?source=rss----69a8d32ec8a6---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 07:59:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/rashads-tech-blogs" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Angular Continued…..]]></title>
            <link>https://medium.com/rashads-tech-blogs/angular-continued-6163be409071?source=rss----69a8d32ec8a6---4</link>
            <guid isPermaLink="false">https://medium.com/p/6163be409071</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[application]]></category>
            <dc:creator><![CDATA[Rashad Walcott]]></dc:creator>
            <pubDate>Thu, 30 Jan 2020 00:00:12 GMT</pubDate>
            <atom:updated>2020-01-30T00:00:12.735Z</atom:updated>
            <content:encoded><![CDATA[<p>So in my last <a href="https://medium.com/rashads-tech-blogs/getting-started-w-angular-8-308d665a6376">blog</a> I spoke about how to install and set up a new angular application. I went ahead and built a small angular application so that I could learn a bit more about how to use Angular and maneuver the components. Here is a preview of what I built with angular 8.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ya3cAQ_tUTFnk3D7-aefbg.png" /></figure><p>This is a look at the component that the Angular CLI generates for me. When you open <strong>/src/app/app.component.ts, </strong>you will see this image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RVkyoxhLTBbLioZW8mkJ8w.png" /></figure><p>As you see there is a single import at the top which is necessary for all Angular components. There is also the <strong>@Component({}) </strong>decorator and the component logic at the bottom with the single <strong>title </strong>property. As I continue programming I will be using the 3 components above to build out the app.</p><h3><strong>Creating the Navigation</strong></h3><p>So here I went to the <strong>/src/app/app.component.html </strong>and removed all of the current code. I replaced it with the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V1YyPja__U4b39A6PiFD4w.png" /></figure><p>The two important areas that are specific to Angular 8 are:</p><ol><li><strong>routerLink </strong>— This is how you link together different pages of the application. You do not use <em>href</em>.</li><li><strong>router-outlet</strong> — This is where the routed components are displayed within the template. You will see how I used this shortly..</li></ol><p>Next I opened the global <strong>/app/styles.scss</strong> file to write the following code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*1QpN5h_xb1OjSDs3vfk1XA.png" /></figure><p>So not anything too crazy. After saving the application, I now have a styled navigation bar.</p><h3><strong>Routing</strong></h3><p>Now I used the Angular CLI to generate a couple components for the pages of the application. In your terminal write the following commands:</p><pre>ng generate component home<br>ng generate component list</pre><p>This will now generate several files for each component. I then visited <strong>/src/app/app-routing.module.ts </strong>and added the following code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PYqKYZ4jQ1LiJfoxjiY3Ew.png" /></figure><p>First I import the components that I generated, and then I added them as an object in the <strong>Routes</strong> array. I left the <strong>path</strong> property blank, which signifies the home component will load by default when the app loads. If you click on the <strong>List </strong>and <strong>Home </strong>links<strong> </strong>in the navigation, it will now display the component template associated with the clicked component! Hooray!</p><h3><strong>One way data binding</strong></h3><p>When you want to communicate data <strong>from</strong> the component logic <strong>to </strong>the template(or vice versa), this is called one-way data binding. Now I opened up the <strong>/src/app/home/home.component.html </strong>file and replaced it with the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OCiuCynizOc4O4dQh08PJQ.png" /></figure><p>So there is a few things happening here:</p><ul><li><strong>(click) </strong>This is a click event, which means that if the element is clicked, it will call the function <em>counterClick() </em>which doesn’t exist yet.</li><li><strong>{{clickCounter}} </strong>this is interpolation. <em>clickCounter </em>is a property(not yet defined) that will display data that is retrieved from the component.</li></ul><p>Next I visited <strong>home.component.ts </strong>file and added the following code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fw4M7qrx6vjmafUk1rHwBQ.png" /></figure><p>I defined the property (with TypeScript) and I have set it to 0. Next, I created the function which will increment the <em>clickCounter </em>property by 1. But before I give it a shot, I gave this some style. I visited <strong>home.component.scss </strong>file and added this code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qTGYWTMmZ3zLIBZic3dzIA.png" /></figure><p>I saved all of the files that I just modified and then gave it a shot! First, the template is retrieving the <em>clickCounter </em>property from the component. Then, if I click on the span element, it is communicating data from the template to the component!</p><h3><strong>Two way data binding</strong></h3><p>The way I demonstrated the concept of data binding is I used a form element. I visited <strong>home.component.html </strong>and added the following code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wqqMMo6V2IJ8WAUQ5A4ENQ.png" /></figure><p>In order for the <em>ngModel</em> to work correctly, I needed to import it into my <strong>/src/app/app.module.ts:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fxYJKLQFZTYKLCTTz2YUCw.png" /></figure><p>Next, I defined the <strong>name</strong> property in the <strong>home.component.ts </strong>file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qZ9xQceduVm_AryTJEAdtA.png" /></figure><p>I then saved that and now when I begin to type within the textfield, I now see that it displays in the line beneath it in real time. This is two-way data binding because it’s both setting and retrieving the property to and from the component/template!</p><h3><strong>ng-template</strong></h3><p>Well what about working with <strong>if and else</strong> within your templates? I used <strong>ng-template </strong>for that. I added the following code at the end of <strong>home.component.html:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qf1It7YvTtvacIxn6Z_8TA.png" /></figure><p>First, I used the property binding <strong>[ngIf]</strong> and bind it to an expression <em>clickCounter &gt; 4.</em> If that expression isn’t true, it will call upon a template called <em>none</em> with <strong>ngIfElse</strong>. If that expression is true, it will show the HTML within the initial <strong>ng-template</strong> block. If not, it shows the template defined by <strong>#none</strong> beneath it! Now I can give it a shot by clicking span element until it reaches 5 or more and I now saw that it worked in action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CzLYsYtygrUalMFJrABxJA.png" /></figure><h3><strong>Style Binding</strong></h3><p>So I then wanted to modify the appearance of the UI based on events that occur in the application. This is where class and style binding come into play. I modified the last <strong>play-container</strong> class in my HTML like so:</p><pre>&lt;div class=&quot;play-container&quot; [style.background-color]=&quot;clickCounter &gt; 4 ? &#39;yellow&#39; : &#39;lightgray&#39;&quot;&gt;</pre><p>With the inline style binding, I wrapped it in brackets(property binding) and specify <strong>style </strong>and then the name of the CSS property. I bind them to an expression (using <strong>clickCounter &gt; 4</strong> or this could be a boolean value too) and then a ternary operator ? where the first value is used if it’s true, and the second value after the colon is used for false.</p><p>When I saved it, initially the play container block will be light gray. When i click on the span button a few times, it will turn yellow. If I wanted to specify multiple CSS properties? Well I would modify the code like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YCA-9Zl59P3p0VEcMY7TCA.png" /></figure><p>Now when I tried it out, the CSS properties changed.</p><h3><strong>Class Binding</strong></h3><p>I Wanted to add or remove entire classes, that are defined in my CSS, I can do this with class binding. I modified the current <strong>.play-container </strong>I have been working with, to the following code.</p><pre>&lt;div class=&quot;play-container&quot; [class.active]=&quot;clickCounter &gt; 4&quot;&gt;</pre><p>I then visited <strong>home.component.scss </strong>and added this code:</p><pre>.active {<br>    background-color: yellow;<br>    border: 4px solid black;<br>}</pre><p>Now when I tried this out! It now works! I can also set multiple classes with ngClass. I modified the template as shown below:</p><pre>&lt;div class=&quot;play-container&quot; [ngClass]=&quot;setClasses()&quot;&gt;</pre><p>Now I visited the component file and add the following:</p><pre>setClasses() {<br>    let myClasses = {<br>      active: this.clickCounter &gt; 4,<br>      notactive: this.clickCounter &lt;= 4<br>    };<br>    return myClasses;<br>  }</pre><p>I added the <strong>notactive</strong> class here, so I defined in in the component CSS file as well:</p><pre>.notactive {<br>    background-color: lightgray;<br>}</pre><p>Now when I try it out! It works!</p><h3><strong>Services</strong></h3><p>Services are special components that are reusable throughout the application. I created a service for the purpose of communicating with an API to fetch some data and display it on my <em>lists</em> page. I generated the service with the Angular CLI:</p><pre>ng g s http</pre><p>The “g s”, are shorthand terms for “generate service”. The name I am giving the service is “http”. I now visited the new service file located at <strong>/src/app/http.service.ts</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K-8aGzJbzxPot3Ahg0EQIw.png" /></figure><p>It looks similar to a component, except the import is an <em>Injectable</em> instead of a <em>Component</em>, and the decator is based on this <em>@ Injectable.</em> I then created a custom method that other components can access:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ne1A5df8aniEyUrl1GWbIw.png" /></figure><p>Now next in the <strong>/src/list/list.component.ts:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RQc89dP0lrmVMlvmoXC4Cw.png" /></figure><p><em>ngOnInit()</em> is a lifecycle hook that is fired when the component loads So it is saying run the <strong>.method</strong>() from the service when the component loads. Now when I click the <strong>list</strong> link in the navigation and viewed the console in the web developer tools, I now saw “Hey, what is up!” outputted.</p><h3><strong>Angular HTTP Client</strong></h3><p>I need to integrate the HTTP client within the http service, which will allow me to communicate with a public API. Now I visited the <strong>http.service.ts </strong>and added the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cHilkmKZDgPoM3Ju1YHBFg.png" /></figure><p>First, I imported the <em>HttpClient</em>, then I created an instance of it through the dependency injection, and then created a method that returns the response from the API. I now have to import the <em>HttpClientModule</em> in the <strong>/src/app/app.module.ts </strong>file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QpSgO-ac6XVNg-_WvhaPHw.png" /></figure><p>Now, I opened up the <strong>list.component.ts </strong>file and added the following code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hxq7OxUNC53mf2GXpOFqSw.png" /></figure><p>The service returns an observable, which means I can subscribe to it within the component. In the return, I can pass the data to my brews object. Next, I visited the list template file and added the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jevk8sWTyL12EBQcDy5ZcA.png" /></figure><p>First, I added an <strong>*ngIf </strong>to only show the UL element if <strong>brews</strong> exists. Then, I can iterate through the array of objects with <strong>*ngFor</strong>. After that, it’s a simple matter of iterating through the results with interpolation! I styled this with CSS real quickly in this component’s.scss file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WMJIoyNlzFAoKPjzywy1gg.png" /></figure><p>Here is the result!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e4zBdMiyR6dOv3xHarDtxA.png" /></figure><h3><strong>Closing</strong></h3><p>I just scratched the surface here but I learned a-lot. I am definitely going to continue and try to create an app using everything I have learned here before proceeding with more of the intermediate to advance topics. I really want to commit to the fundamental stuff to memory through repetition.</p><p>Enjoy!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FfnjIYsw-JfM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DfnjIYsw-JfM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FfnjIYsw-JfM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9249650d78d7a8140550eb82c608f738/href">https://medium.com/media/9249650d78d7a8140550eb82c608f738/href</a></iframe><p><strong>Resources</strong></p><p><strong><em>Check out this tutorial by </em></strong><a href="https://www.youtube.com/watch?v=_TLhUCjY9iA&amp;t=411s"><strong><em>DesignCourse</em></strong></a><strong><em> to build out this application using Angular 8.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6163be409071" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rashads-tech-blogs/angular-continued-6163be409071">Angular Continued…..</a> was originally published in <a href="https://medium.com/rashads-tech-blogs">Rashad’s Tech Blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started w/ Angular 8]]></title>
            <link>https://medium.com/rashads-tech-blogs/getting-started-w-angular-8-308d665a6376?source=rss----69a8d32ec8a6---4</link>
            <guid isPermaLink="false">https://medium.com/p/308d665a6376</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding-it-forward]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[angular8]]></category>
            <dc:creator><![CDATA[Rashad Walcott]]></dc:creator>
            <pubDate>Wed, 22 Jan 2020 20:43:06 GMT</pubDate>
            <atom:updated>2020-01-22T20:43:06.666Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C-UNtKfSxtLHBP_pcXdDFg.png" /></figure><p>Angular has been one of the other frameworks that I wanted to learn. I can build applications using React but I have come across many job requirements wanting knowledge of Angular as well. It is a bit difficult out there finding tutorials that are up to date with the most recent version of Angular. So I decided to do a quick walkthrough of how you would even get started with Angular 8.</p><p>To get started you would need to check if you have node.js installed. To check if you have node and the version you have you can type into your terminal</p><pre>node -v</pre><p>If node is unrecognized you can head on over to <a href="https://nodejs.org/en/">Node.js</a> and download the version that is compatible with your operating system. You may want to also check to see if you Node Package Manager on your system as well. Just like before to check the version of that you would type into your terminal</p><pre>npm -v</pre><p>If you do not have npm installed you can type in this command and download the latest version</p><pre>npm install npm@latest -g</pre><p>Once that is squared away, you then want to install angular onto your system. I installed it globally onto my machine so that I will only have to do it once. You can do that by typing</p><pre>npm i -g @angular/cli</pre><p>Now that you have all that you can now create a new angular app. Which you will do by typing</p><pre>ng new my-app</pre><p>You can name your app whatever you like of course just take away the “my-app” and insert the name that you would like for your application.</p><p>After entering the code above, you will then be asked if you would like to add Angular routing yes or no. I selected “Yes” because that allows me to create routes between different components in my application. You will then be asked what stylesheet format you would like to use. I selected SCSS so that I can style using SASS in my application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dkVdGxRfjLO9izL-NvkeIg.png" /></figure><p>Now you would want to cd into your new application and open your code editor. In this instance I am using VS Code.</p><pre>cd my-app<br>code .</pre><p>Now you have this new application and I am sure you want to run it and get started. I used this command to run my application because it opens it using my default browser as well as routing it to <a href="http://localhost:4200/">http://localhost:4200/</a></p><pre>ng serve -o</pre><p>While working on this application it is always good to run this because it hot reloads and you can see your changes without having to refresh your browser. If you would like to build out more with this angular application see below for more information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R7W2s0hRDXiW6H6Yzc1Bzg.png" /></figure><p><strong><em>Check out this tutorial by </em></strong><a href="https://www.youtube.com/watch?v=_TLhUCjY9iA&amp;t=411s"><strong><em>DesignCourse</em></strong></a><strong><em> to build out more using Angular 8.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=308d665a6376" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rashads-tech-blogs/getting-started-w-angular-8-308d665a6376">Getting Started w/ Angular 8</a> was originally published in <a href="https://medium.com/rashads-tech-blogs">Rashad’s Tech Blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hmm..the Palindrome]]></title>
            <link>https://medium.com/rashads-tech-blogs/hmm-the-palindrome-388ae0c55628?source=rss----69a8d32ec8a6---4</link>
            <guid isPermaLink="false">https://medium.com/p/388ae0c55628</guid>
            <category><![CDATA[computer-programming]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Rashad Walcott]]></dc:creator>
            <pubDate>Wed, 15 Jan 2020 18:41:01 GMT</pubDate>
            <atom:updated>2020-01-15T18:41:01.647Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*XSfQ_VhxFLpkgOgoUts4lw.png" /></figure><p>Early December I attended a hiring event and did couple interviews with different companies. One of those interviews went really great as the other left me stumped. I did not exactly get very deep into studying Algorithms and Data Structures but was presented with a problem and had to give a proper solution.</p><p>So I was asked if I knew what a Palindrome was and at that time I did not but the interviewer explained it to me and I understood what was being asked. A Palindrome is “a word, phrase, or sequence that reads the same backward as forward”. I felt as though I came up with some solid solutions on the fly but I think the interviewer wanted more.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FTJb5aLv1JiJXB9rGQD%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fso-you-think-you-can-dance-dance-dancing-foxtv-TJb5aLv1JiJXB9rGQD&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FTJb5aLv1JiJXB9rGQD%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/d16f5ada009ebb6761411408088c2d56/href">https://medium.com/media/d16f5ada009ebb6761411408088c2d56/href</a></iframe><p>I have been working on a Udemy course studying Algorithms and I wanted to share with you all in case someone has not heard of a palindrome. So if presented with “Given a string, return true if the string is a palindrome or false if it is not”. These are two solutions that could solve this problem.</p><pre>function palindrome(str) {<br>  return str.split(&#39;&#39;).every((char, index) =&gt; {<br>    return char === str[str.length - index -1];<br>  })<br>}</pre><p>y You can take the string that is passed in directly and split it in order to use the .every method. The only thing I would say about this solution is that it compares every element in the array with each-other. For this I think the better solution for this problem would be.</p><pre>function palindrome(str) {<br>  const rev = str.split(&#39;&#39;).reverse().join(&#39;&#39;);</pre><pre>return str === rev;<br>}</pre><p>This solution takes the string passed into the argument and saves it into a variable and compares the reversed version to the version passed in. However, in an interview if they did not want a simple solution as the second one the first solution would be what you could use to show something different.</p><p>Hope you enjoyed and this helped someone who may not have known about palindromes such as myself. 😁</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F6oB3X3W6MYM3C%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fnetflix-and-chill-wingman-6oB3X3W6MYM3C&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F6oB3X3W6MYM3C%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="242" frameborder="0" scrolling="no"><a href="https://medium.com/media/24ebd72f594ccece34cae7e6915ae12f/href">https://medium.com/media/24ebd72f594ccece34cae7e6915ae12f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=388ae0c55628" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rashads-tech-blogs/hmm-the-palindrome-388ae0c55628">Hmm..the Palindrome</a> was originally published in <a href="https://medium.com/rashads-tech-blogs">Rashad’s Tech Blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GreenSock Animations]]></title>
            <link>https://medium.com/rashads-tech-blogs/greensock-animations-7458386c426c?source=rss----69a8d32ec8a6---4</link>
            <guid isPermaLink="false">https://medium.com/p/7458386c426c</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[greensock]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[animation]]></category>
            <dc:creator><![CDATA[Rashad Walcott]]></dc:creator>
            <pubDate>Wed, 08 Jan 2020 22:20:05 GMT</pubDate>
            <atom:updated>2020-01-08T22:23:13.672Z</atom:updated>
            <content:encoded><![CDATA[<p>A few weeks back I had an interview with a really great company. The interviewers were really awesome and made the experience not as nerve-racking as I expected. During my interview the senior developer mentioned GreenSock Animation Platform and told me a bit about it. Well I was intrigued and decided to see what it was all about. So I read up about it and found some tutorials to learn how to implement it. I have always wanted to learn how to make animations for my sites and I was exciting to give this a try.</p><p>I created a new React application and installed GreenSock using the command <strong><em>npm i gsap</em></strong><em>. </em>I then imported <strong><em>TweenMax</em></strong> and <strong><em>Power3</em></strong> from <strong><em>gsap</em></strong><em>. </em>I also imported <strong><em>useRef,</em></strong> <strong><em>useEffect</em></strong> and <strong><em>useStat</em></strong>e from <strong><em>react.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4A1Glgj0fYT7dCvrKyBcWg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*an53JsViQD5ISpZbNl_pAA.png" /></figure><p>I removed all the logo and code that came with the new React application. I used CSS to output three circles to the page and styled them with color. Each circle was placed inside their own individual &lt;div&gt; which was placed inside a main &lt;div&gt; container. I declared variables and placed useRef inside of them and console logged to make sure it was working.</p><p>For example:</p><pre>let circle= useRef(&#39;hello&#39;);<br>console.log(circle);</pre><p>That gave me “hello” printed in the console. I then set it to null. The ‘hello was just for testing purposes. So it was time to actually use that. So I then had to ref a function and equal that to the name of my variable. You can name the function anything I just kept it as ‘el’.</p><pre>&lt;div<br>            ref={el =&gt; circle = el}<br>            className=&#39;circle&#39;&gt;<br>&lt;/div&gt;</pre><p>Now the whole reason for this is that whenever I set animations to the variable ‘circle’. It will be referencing that div and show the changes there. So now I used Tween to animate the circle. Tween is what does all the animation. You give it the target and objects you want to animate and duration as well. I am using ‘useEffect’ as a function and placing the animation inside.</p><pre>TweenMax.from(circle, .8, {opacity: 0, x: 40, ease: Power3.easeOut});</pre><p>In order not to repeat this 3 times for each circle. I was able to use this.</p><pre>TweenMax.staggerFrom([circle,circleRed,circleBlue], .8, {opacity: 0, x: 40, ease: Power3.easeOut}, .3)<br>  },[])</pre><p>So pretty much the way this looks now. Is that the circles will load and appear in 3 second intervals.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZXLG4AREr-s&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FZXLG4AREr-s&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b3a85b7be3a6be30f7395fa5fe3c4519/href">https://medium.com/media/b3a85b7be3a6be30f7395fa5fe3c4519/href</a></iframe><p>Now to add just a bit more to this. The goal was to click on one of the circles and then have it be enlarged and then click on it again and have it to back to its default size. So I made a function that I will call as an event on that specific &lt;div&gt;. One function is to expand it and the other is to shrink it.</p><pre>const [state, setState] = useState(false);</pre><pre>const handleExpand = () =&gt; {<br>    TweenMax.to(circle, .8, {width: 200, height: 200, ease: Power3.easeOut})<br>    setState(true)<br>  }</pre><pre>const handleShrink = () =&gt; {<br>    TweenMax.to(circle, .8, {width: 75, height: 75, ease: Power3.easeOut})<br>    setState(false)<br>  }</pre><p>Now I had to write a condition so that when its clicked the first time it the circles enlarges and then when clicked again the circle shrinks.</p><pre>&lt;div<br>            onClick = {state !== true ? handleExpand : handleShrink}<br>            ref={el =&gt; circle = el}<br>            className=&#39;circle&#39;&gt;<br>&lt;/div&gt;</pre><p>I did a bit more than the tutorial and added animation to each circle so that they can all have that animation as well.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2eEnkgXbGG8&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F2eEnkgXbGG8&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/77d425c0cb53e114170be07004427c9a/href">https://medium.com/media/77d425c0cb53e114170be07004427c9a/href</a></iframe><p>So there you have it folks! This was really fun to be able to learn about this and I am super excited to try it on a much larger scale!</p><p><strong>Tutorial by:</strong> <a href="https://www.youtube.com/channel/UCqrxiLP9RHz2GxDJaZuTRBw/featured"><em>Wrong Akram</em></a><em> ( I am super grateful for your tutorial and you were very easy to understand)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7458386c426c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rashads-tech-blogs/greensock-animations-7458386c426c">GreenSock Animations</a> was originally published in <a href="https://medium.com/rashads-tech-blogs">Rashad’s Tech Blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reflection + Google Map Events]]></title>
            <link>https://medium.com/rashads-tech-blogs/reflection-google-map-events-bdcbedbe408f?source=rss----69a8d32ec8a6---4</link>
            <guid isPermaLink="false">https://medium.com/p/bdcbedbe408f</guid>
            <category><![CDATA[google-maps-api]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[reactjs]]></category>
            <dc:creator><![CDATA[Rashad Walcott]]></dc:creator>
            <pubDate>Wed, 25 Sep 2019 13:34:17 GMT</pubDate>
            <atom:updated>2019-09-25T14:45:24.226Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FkaBU6pgv0OsPHz2yxy%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fjake-gyllenhaal-bye-kaBU6pgv0OsPHz2yxy&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2FkaBU6pgv0OsPHz2yxy%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/b80edbe672a377ab36e15ebf7fe957b5/href">https://medium.com/media/b80edbe672a377ab36e15ebf7fe957b5/href</a></iframe><p>With only a days left in my journey at the Flatiron School, I find myself reflecting on the past modules. It feels as though the time flew by yet it feels like we were here forever. I have had many of the students from the previous modules ask me questions about certain topics and looking for guidance in how to approach certain things. I was approached about an acronym that I had made in Mod2 to help me remember the RESTful routes for Rails. They wanted me pass it down to them. The acronym was “I Show New Creativity Even Under Duress”. It stands for Index, Show, New, Create, Edit, Update and Destroy. It feels really good to be able to spread knowledge to the other students. So I decided to leave them some more info for when they get to Mod5 and maybe want to work with Google Maps.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fo0aWTi93hEtR6%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Ftrain-need-rails-o0aWTi93hEtR6&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fo0aWTi93hEtR6%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/ea4762b78fb5b6896ea5b737997544df/href">https://medium.com/media/ea4762b78fb5b6896ea5b737997544df/href</a></iframe><p>My Mod5 project is very dependent upon me using some sort of map feature and I decided to give Google Maps a whirl. It was fairly easy to set up the maps. A fellow student wrote a blog about it and it was super helpful in the setting up of my map feature. Check out his <a href="https://medium.com/@sean.padden7/implementing-the-google-maps-api-in-your-react-application-3884b5b73af1">blog</a> to get you going with Google Maps in your React application.</p><p>However, as smooth sailing as that went, I soon realized that the google InfoWindow does not support us adding an event the way that we know how. It will let you add a button, yet you cannot do anything useful with said button. So I decided to scour the internet and try to find a way around this because having that feature really made my project what it needed to look like in my eyes. I stumbled upon bits and pieces of what one should do if trying to add an event but nothing too solid. Eventually I decided to just keep trying and I dove deeper and found the solution. I had to make a different component and pretty much make a reference point in React.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*t_TUWtjI-sdxXZuPRnPMuA.png" /></figure><p>The code is rendering the child elements and basically setting itself to all the child elements that gets written at any time. So typically you would use an InfoWindow component to show the information that you wanted on the maps. By making the component you see above, this replaces that and is used instead. As you can see I imported InfoWindowEx which is the component that I made to render the children elements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*AE3WiVNkPEP29s0ahFvNaw.png" /></figure><p>This is what the code looks like using that component along with others that was imported. As you can see, now I am able to add a button inside that div equipped with an event that is calling a function that is going to use the selected object to be added as a favorite.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*6wEQ0dXnycFKWYuCZwxU4w.png" /></figure><p>Now my maps are able to show the information I want along with the button that is going to have you save the brewery that you want to refer back to at a later time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*kKvklfrpm719AGzhp3PU8w.png" /></figure><p>I really enjoyed my time in this program and I really wanted to add something that is more accessible and can explain how to get your events working while using Google Maps. So I hope this makes it a bit easier on some that will be searching for that feature. Good luck everyone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/0*St87QilnYZMRluKg.jpg" /></figure><blockquote>Rashad. Out!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdcbedbe408f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rashads-tech-blogs/reflection-google-map-events-bdcbedbe408f">Reflection + Google Map Events</a> was originally published in <a href="https://medium.com/rashads-tech-blogs">Rashad’s Tech Blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decisions Decisions Decisions]]></title>
            <link>https://medium.com/rashads-tech-blogs/decisions-decisions-decisions-4a093a9f9c93?source=rss----69a8d32ec8a6---4</link>
            <guid isPermaLink="false">https://medium.com/p/4a093a9f9c93</guid>
            <category><![CDATA[career-change]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[career-paths]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Rashad Walcott]]></dc:creator>
            <pubDate>Mon, 09 Sep 2019 12:13:16 GMT</pubDate>
            <atom:updated>2019-09-09T12:13:15.982Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FEZdjrzyK1Kw2A%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Ftyler-james-williams-gif-hunt-fc-EZdjrzyK1Kw2A&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FEZdjrzyK1Kw2A%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="273" frameborder="0" scrolling="no"><a href="https://medium.com/media/2423d84495741f0db3ce3932f923340a/href">https://medium.com/media/2423d84495741f0db3ce3932f923340a/href</a></iframe><p>On my journey here at the Flatiron School, we were advised to concentrate on learning the skills that we need and to hold off on worrying about looking for jobs etc. Well I did exactly that. One of the things I learned from my time in the military is to take it one day at a time. You concentrate on the now and what is needed to execute your mission and you plan accordingly when it is time to plan ahead.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FdQaBkwEc9IAUM%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fmovie-avatar-project-dQaBkwEc9IAUM&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FdQaBkwEc9IAUM%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="245" frameborder="0" scrolling="no"><a href="https://medium.com/media/02966cb17ed142b0ad76c98fd1dd5b7a/href">https://medium.com/media/02966cb17ed142b0ad76c98fd1dd5b7a/href</a></iframe><p>At this point in the program we have reached Mod4 and have about 4 weeks left before we have completed our time here at Flatiron School. It is now that time to plan ahead like I previously mentioned. We have met with career services and I was assigned a coach. It is very exciting but yet also a bit scary at the same time because now we have to look into maybe what kind of companies we would like to work for and the type of industry that we would like to be a part of. As I listen to my classmates, it seems as though the majority has an idea of what field they would like to work in, while I am left pondering. My love for programming is real, I love being able to build something and see the outcome at the end of it. I am not too particular as to what it is but more invested into putting my energy and hard work into the final product that is produced.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FAxhxIcTMEMqR2%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Favatar-mean-AxhxIcTMEMqR2&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FAxhxIcTMEMqR2%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="240" frameborder="0" scrolling="no"><a href="https://medium.com/media/499f2fa4cecd04d310373f878889d18b/href">https://medium.com/media/499f2fa4cecd04d310373f878889d18b/href</a></iframe><p>Just the other day, I was chatting with some close friends of mine and somehow we were talking about movies and the movie Avatar became a part of the conversation. I immediately got super excited and proceeded to tell them how I really enjoyed the graphics in that movie and how I remember going out and purchasing the DVD years back. I found it absolutely mesmerizing. I remembered sitting there and thinking “Wow! I would love to be a part of the team that made this beautiful product.” I found myself wondering how long the whole movie took to make and the long hours that most likely went into that result that I was watching on the big screen. At that point in time I told myself to look into that field when I was done with my degree. I told my friends that I just had an epiphany and that working on movies like Avatar would be my dream. To be able to work so hard and see something so beautiful come out of it. I would be honored!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F10IiI1atfBkeIg%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fmovie-avatar-project-10IiI1atfBkeIg&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F10IiI1atfBkeIg%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="248" frameborder="0" scrolling="no"><a href="https://medium.com/media/4aefd1e80746c53de63b32f34b8d9410/href">https://medium.com/media/4aefd1e80746c53de63b32f34b8d9410/href</a></iframe><p>It is funny how we sometimes forget the things that inspired you to begin with. It isn’t that you lose the drive exactly but we tend to get caught up in trying to get where we know we need to be. However, taking time to reflect and really remind yourself about what drove you and gave you those chills to begin with is needed from time to time. I am excited to experience the next chapter on this journey and to put all the hard work to good use. I wish all my classmates the best of success on their future endeavors as well.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FaNoHtWmfIxAl2%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Favatar-anyone-avatarmovie-aNoHtWmfIxAl2&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FaNoHtWmfIxAl2%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="242" frameborder="0" scrolling="no"><a href="https://medium.com/media/bb2ab6ada6ba46df424f2973a8ac3d51/href">https://medium.com/media/bb2ab6ada6ba46df424f2973a8ac3d51/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a093a9f9c93" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rashads-tech-blogs/decisions-decisions-decisions-4a093a9f9c93">Decisions Decisions Decisions</a> was originally published in <a href="https://medium.com/rashads-tech-blogs">Rashad’s Tech Blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TTY:Prompt Menu Help]]></title>
            <link>https://medium.com/rashads-tech-blogs/tty-prompt-menu-help-3568ca3a389b?source=rss----69a8d32ec8a6---4</link>
            <guid isPermaLink="false">https://medium.com/p/3568ca3a389b</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[flatiron-school]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Rashad Walcott]]></dc:creator>
            <pubDate>Wed, 21 Aug 2019 14:36:22 GMT</pubDate>
            <atom:updated>2019-08-21T14:36:22.551Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FxFkbhJ4KFLW8twElm9%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fart-work-working-xFkbhJ4KFLW8twElm9&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FxFkbhJ4KFLW8twElm9%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/05aa5939b2eacee391437bda25f6d7e8/href">https://medium.com/media/05aa5939b2eacee391437bda25f6d7e8/href</a></iframe><p>I am currently on this coding journey as I am attending Flatiron School for software engineering. So far I have been really excited about this new experience. On the other hand it isn’t without frustration.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FWsju5zAb5kcOfxJV9i%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fkeyboard-admin-prtg-Wsju5zAb5kcOfxJV9i&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2FWsju5zAb5kcOfxJV9i%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/4127d446f2c5e3cd39fa77540c9f86a8/href">https://medium.com/media/4127d446f2c5e3cd39fa77540c9f86a8/href</a></iframe><p>I have realized that “Google” becomes a really close friend in helping you search for coding errors and just simply looking for ways to execute an idea you may have. However, one of the biggest challenges I have found in the coding community is the explanation of how to do certain things. Having come from a military background I believe in keeping things “Barney Style”, where you explain things as simple as you can. I have found tons of resources and explanations for things but sometime’s it is really hard to grasp from the images laid out or the suggestions you come across.</p><p>I recently had to do a project for my class and I ran across TTY::Prompt, which had me super psyched because of what I could do with it to help my application look a lot more clean. I was looking for a way to link back my menu to different options but was super unsure as to how to execute this without a whole ton of code. So of course I went to my friend “Google” and found some examples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*d1D6Rj4ugu4h6_JGbLOLmQ.png" /><figcaption>This is how you would link a method to your menu choice</figcaption></figure><p>The code above is the sort of examples I came across while searching. Keep in mind I have never used this before so looking at this I am unsure what it is this code is actually doing. Specifically the part where the arrows are pointing to “Edit”. It took me a while and conferring with other classmates before I figured out what this was.</p><p>Long story short what you see above is the menu choice “Edit Account” is leading to a method that I have written in my code. I want when the user clicks on that choice for them to be lead to the option to edit their account which looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6w8kTmpffj11dcDDSKr7CA.png" /><figcaption>An example of the edit method which is linked to the menu choice from the previous picture</figcaption></figure><p>Now as you can see, there is the method that is shown previously with an arrow leading to it from the menu choice. Here you can clearly see two things working together to give you your options. Keep in mind this method also has other methods linked to it as well!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3o6YfXtqIrtPrApeuI%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fteamcoco-ice-cube-i-see-you-3o6YfXtqIrtPrApeuI&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3o6YfXtqIrtPrApeuI%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="214" frameborder="0" scrolling="no"><a href="https://medium.com/media/8d97f06adaf6bc3a2a0166208001f49b/href">https://medium.com/media/8d97f06adaf6bc3a2a0166208001f49b/href</a></iframe><p>This is pretty simply but I wanted to put this out there and show how things are relating to each other and hopefully help someone out there that is starting their coding journey and has to see how things work instead of trying to read in between the lines with the amount of different resources we find on the internet. Happy coding ya’ll!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FZx0Ploq51axjKTZzgZ%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fubtech-happy-dancing-Zx0Ploq51axjKTZzgZ&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FZx0Ploq51axjKTZzgZ%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/b78cf3fff2ebe438d7833456fc89dd7b/href">https://medium.com/media/b78cf3fff2ebe438d7833456fc89dd7b/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3568ca3a389b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rashads-tech-blogs/tty-prompt-menu-help-3568ca3a389b">TTY:Prompt Menu Help</a> was originally published in <a href="https://medium.com/rashads-tech-blogs">Rashad’s Tech Blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript Road]]></title>
            <link>https://medium.com/rashads-tech-blogs/javascript-road-dc1aa7fe3645?source=rss----69a8d32ec8a6---4</link>
            <guid isPermaLink="false">https://medium.com/p/dc1aa7fe3645</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[flatiron-school]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Rashad Walcott]]></dc:creator>
            <pubDate>Wed, 21 Aug 2019 14:34:34 GMT</pubDate>
            <atom:updated>2019-08-21T14:34:34.378Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3qszuFuSC0lGRNPub6%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fjason-clarke-equestrian-horse-riding-lasagna-cat-3qszuFuSC0lGRNPub6&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3qszuFuSC0lGRNPub6%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/bf8b1b160168dd9391627f774bb90c60/href">https://medium.com/media/bf8b1b160168dd9391627f774bb90c60/href</a></iframe><p>Earlier this year I decided to get back up on the horse and resume my coding journey. For someone that has a Bachelor’s degree you would think “Hey! Maybe that guy might know enough programming to land a job!” Well you would have been incorrect. Even though I graduated I still felt like I was lacking that hands on knowledge and experience that I needed to be able to interview successfully.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F349qKnoIBHK1i%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Freaction-program-programmers-349qKnoIBHK1i&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2F349qKnoIBHK1i%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/9e0ccbf8130c66df0e170d204da0badd/href">https://medium.com/media/9e0ccbf8130c66df0e170d204da0badd/href</a></iframe><p>I am entering Module 3 at Flatiron School and it feels like I am coming full circle in a way. When I first started doing the pre work online for the bootcamp, I remembered opening Google Chrome and playing with the Developer Tools. I found it absolutely amazing and cool that I could take the heading of the page and replace it with like my moms name per se 🙌🏾. That was a memorable moment for me as well as it really sparked that fire for me to keep going. I know it might be such a small thing to some but for me it was all I needed. I am a very visual person so seeing that really made me feel like I was doing something.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F4MwP0n2iPbkcM%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2F4MwP0n2iPbkcM&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F4MwP0n2iPbkcM%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/6d7fcd9c4a40aaa6081981f8a9152e15/href">https://medium.com/media/6d7fcd9c4a40aaa6081981f8a9152e15/href</a></iframe><p>I have been working on Javascript labs over the weekend and the DOM popped back up on my radar and I couldn’t help but smile. I remembered when I was a tad bit scared to mess around with the DOM unsure of what I was doing. This time around I was excited to see what I can do in there and I definitely understood things much better. Altogether, getting to work with the DOM over the weekend left me with a feeling of nostalgia. It made me sit back and just really appreciate where I am right now. To see the progress that I have made in such a short time is incredible. I am just so happy to continue on this coding journey!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FVKedbq3P6TyLe%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Ftables-importance-discovers-VKedbq3P6TyLe&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FVKedbq3P6TyLe%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="264" frameborder="0" scrolling="no"><a href="https://medium.com/media/1bf77a457bc5cc50432ae25b16bdc12e/href">https://medium.com/media/1bf77a457bc5cc50432ae25b16bdc12e/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc1aa7fe3645" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rashads-tech-blogs/javascript-road-dc1aa7fe3645">JavaScript Road</a> was originally published in <a href="https://medium.com/rashads-tech-blogs">Rashad’s Tech Blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THE BATTLE OF WOOF — WOOF]]></title>
            <link>https://medium.com/rashads-tech-blogs/the-battle-of-woof-woof-ff1978ed33fb?source=rss----69a8d32ec8a6---4</link>
            <guid isPermaLink="false">https://medium.com/p/ff1978ed33fb</guid>
            <category><![CDATA[flatiron-school]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Rashad Walcott]]></dc:creator>
            <pubDate>Wed, 21 Aug 2019 14:31:46 GMT</pubDate>
            <atom:updated>2019-08-21T14:31:46.425Z</atom:updated>
            <content:encoded><![CDATA[<h3>THE BATTLE OF WOOF — WOOF</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F1dJTZUTgUjj4SRZYQT%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fjeopardy--alex-trebek-1dJTZUTgUjj4SRZYQT&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F1dJTZUTgUjj4SRZYQT%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="316" frameborder="0" scrolling="no"><a href="https://medium.com/media/3efc46bc7763f5ea233367c5a18b6eaa/href">https://medium.com/media/3efc46bc7763f5ea233367c5a18b6eaa/href</a></iframe><p>As my journey at Flatiron School continues, I took on the challenge of the lab called Woof-Woof. We have been working with Javascript and learning how to fetch from API’s. I wanted to challenge myself and really try to understand when to use the different methods when using fetch.</p><p>One of the tasks for this lab was to add the pups to the “dog bar” which was a div that was already on the page for us to use. After you completed adding the pup’s name to the bar, the user had to be able to click on the name of the pup and see more information about the one they chose. The user would be able to see the pup’s name, image and whether they were good or bad which was displayed by a button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dl7SlE3tkLGbwWLDBBlbBA.png" /></figure><p>A bonus of this lab was when the user clicks on the good/bad dog button, it would change the pup’s status to the opposite of what it said when they clicked it. Therefore if the button said “Good Dog” it would change the button’s text to “Bad Dog” as well as in the database, so when the page refreshes it still has the same status as it was when the user clicked it.</p><p>One of the major tasks about this lab that I was excited about was the “Filter Good Dog Button”. The challenge was when you click the “Filter good dogs: OFF” button, the button should change to “Filter good dogs: ON”, or vice versa. If the button says “ON” meaning the filter is on, then the Dog Bar should only show those dogs whose button says “Good Dog”. This was very much intriguing and challenging at the same time because I was now getting acquainted with the concept of Fetch. However, I was very determined to do this and finish all that was asked of me in this lab.</p><p>I troubleshooted a great deal until I received the guidance and reminder about higher-order functions that pretty much comes in clutch in times of need. In this instance it was the .filter() Method..filter() returns an array of elements after filtering out certain elements from the original array. The callback function for the .filter() method should return true or false depending on the element that is passed to it. The elements that cause the callback function to return true are added to the new array.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1TZt605zKuLvRsxNjBqzHA.png" /></figure><p>Did you think that was it? Of course not! It is never that easy! I was able to console log and see that the filter was working, but the real challenge was adding it to the DOM. Whenever I attempted to add the pups, they were added to the Dog Bar along with the dogs that were already there. I had to figure out how to empty the dog bar before adding the filtered dogs. I was so ecstatic upon getting them to add to the DOM that I showed it to my buddy and she was like “Umm Rashad, it doesn’t filter back the other way”. Shucks! So I grabbed my laptop and retreated to my desk and worked on it again because now I had the foundation and understanding of what I did and in no time I was able to complete the lab.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F9B7yFs97AgniE%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fmovie-film-back-to-the-future-9B7yFs97AgniE&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F9B7yFs97AgniE%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="303" frameborder="0" scrolling="no"><a href="https://medium.com/media/b94d5da89644ad1eaf934eb533db977a/href">https://medium.com/media/b94d5da89644ad1eaf934eb533db977a/href</a></iframe><p>It was a Friday night and after a rough week, it was definitely the high I needed to enter into the weekend. This journey of coding definitely can have your emotions in every direction but the little wins like the completion of this lab, doing features that I had never done before, are really worth it for me! As always Happy Coding Y’all.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FwyY5w5JGq1uuI%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fback-to-the-future-marty-mcfly-bttfedit-wyY5w5JGq1uuI&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FwyY5w5JGq1uuI%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="245" frameborder="0" scrolling="no"><a href="https://medium.com/media/57028c0d39a5ff52c22e4f8261973946/href">https://medium.com/media/57028c0d39a5ff52c22e4f8261973946/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff1978ed33fb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rashads-tech-blogs/the-battle-of-woof-woof-ff1978ed33fb">THE BATTLE OF WOOF — WOOF</a> was originally published in <a href="https://medium.com/rashads-tech-blogs">Rashad’s Tech Blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>