<?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 Templetl on Medium]]></title>
        <description><![CDATA[Stories by Templetl on Medium]]></description>
        <link>https://medium.com/@templetl99?source=rss-e0b7330929eb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vMiESkWlWZgHIs55</url>
            <title>Stories by Templetl on Medium</title>
            <link>https://medium.com/@templetl99?source=rss-e0b7330929eb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 11:59:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@templetl99/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[How to make a pop up menu with CSS]]></title>
            <link>https://medium.com/@templetl99/how-to-make-a-pop-up-menu-with-css-bbd665db536a?source=rss-e0b7330929eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbd665db536a</guid>
            <dc:creator><![CDATA[Templetl]]></dc:creator>
            <pubDate>Fri, 11 Feb 2022 20:42:03 GMT</pubDate>
            <atom:updated>2022-02-11T20:43:00.613Z</atom:updated>
            <content:encoded><![CDATA[<p>I was working on my twitter clone, when I realized that twitter includes a pop up form upon signing in or signing up. After a couple hours of researching ways to make a pop up with React or Javascript, I found the best way to do make the pop up was to CSS then create a React component that would utilize the .pop-up class I created in CSS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x8ZYt9mi0YscEXgTv0uzjA.png" /></figure><p>First I created a div.popup that would overlap my entire page with an opacity around 10% so the main page behind it would be visible but with some shade. The popup-inner div is the bread and butter. This is going to be the layout for the form. If you would like to make it larger or wider adjust the height and width setting. If a pop up is accidentally opened or the user wants to exit for another reason it is best to add a close button. Position relative or absolute will work well for this so that when top and left attributes are set 0 would be the top of the inner form instead of the whole page. I decided to put mine in the top left to make it accurately represent twitters login page.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbd665db536a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What really happened with Aaron Swartz?]]></title>
            <link>https://medium.com/@templetl99/what-really-happened-with-aaron-swartz-e8524dbe4409?source=rss-e0b7330929eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8524dbe4409</guid>
            <dc:creator><![CDATA[Templetl]]></dc:creator>
            <pubDate>Mon, 10 Jan 2022 15:03:04 GMT</pubDate>
            <atom:updated>2022-01-10T15:46:14.350Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w9qsQr3o49sP-ZQQCX1A-A.png" /></figure><p>As of Jan 04, 2022 a common javascript package was recently sent offline. We know this package as Faker.js, this was especially helpful for backend developers looking to quickly populate data for testing purposes.</p><p>Backstory</p><p>Most know Aaron Swartz as the co-founder of the popular social media network known as Reddit. Anyone with access to the internet has received free information from Reddit at least once or twice in their life. Mr. Swartz also helped in creating the ‘Creative Commons’, an American non-profit organization and international network devoted to educational access and expanding the range of creative works available for others to build upon legally and to share freely (Wikipedia, Linkedin, Bing).</p><p>Activist</p><p>Aaron Swartz was very passionate about making all education free to the public. Mr. Swartz would consistently give out free packages, plugins, advice, and anything else he could help a fellow member of society with. Soon he realized that major companies began to make profits off of what Mr. Swartz intended to be free for everyone. This is still happening today which is why Faker.js was taken offline. Mr. Swartz was so fond of this idea of free information that he broke into MIT, Massachusetts Institute of Technology, and downloaded knowledge that the campus was keeping behind a paywall.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BWTPRYQ4NCs-DejJNhe_eQ.png" /></figure><p>After the attack</p><p>Once Aaron Swartz was caught he received no charges directly from the school and returned all the stolen files. The story does not end there though, the United States department of “Justice 🤦‍♂️” charged him with several crimes which added up to a total of 50 years in federal prison. Let’s also mention that there are rapists and child molesters are walking free after 10 years. The federal government made a plea bargain with Aaron to keep him quiet and out of prison, but Aaron Swartz stuck to his own agenda and wanted to take the case to trial. On January 11, 2013 Aaron Swartz passed away of “suicide. 🤔”</p><p>Conclusion</p><p>The founding fathers cared so much about this government prejudice that our very first amendment is based on our freedom of speech and freedom to spread information, and the sixth amendment gives us the right to take any case to trial. Do we live in a modern day dystopia where spreading information comes with the cost of your life?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8524dbe4409" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Components]]></title>
            <link>https://medium.com/@templetl99/react-components-8687d08c59e4?source=rss-e0b7330929eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/8687d08c59e4</guid>
            <dc:creator><![CDATA[Templetl]]></dc:creator>
            <pubDate>Tue, 14 Dec 2021 15:02:33 GMT</pubDate>
            <atom:updated>2021-12-14T15:02:33.406Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the most efficient ways to advance as a progammer is to <strong><em>react</em></strong><em> </em>to the ever evolving environment. I recently learned React, while studying I found one of the quickest way to build a complex application is to use component libraries. A component library is a npm package that contains components that other developers have graciously offered to you! Still confused on how to install a library or why this is even useful…?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*LxyG0uQf0apDby1ltxWm8Q.png" /></figure><p>When using component libraries features like buttons, cards, clocks, tables, loading spinners, etc… can be created by just using the react component that was imported. One of the most popular libraries is React Bootstrap, I will help you get that installed and usable.</p><p>Step 1. <br>The first thing you must do is install the package. Navigate to the terminal and choose your working directory. Once in the same folder as the node modules for the react app type command “npm i react-bootstrap”</p><p>Step 2.<br>After the package is installed open the app javascript file and start import components from react-boostrap. For example at the top of app.js type <br>import { Button } from ‘react-bootstrap’</p><p>Step 3.<br>Navigate to spot the button should be placed adding the component is incredibly easy from here its as simple as using any other react component throughout your file. For example inside the return statement of your component type &lt;Button /&gt;.</p><p>Step 3.5…<br>Sometimes pre bundled components use other pre bundled items from different libraries, I personally ran into errors displaying the icons from the library I used. After reading the terminal it seemed I was missing something called @heroicons. If you run into this error type in google “npm i @heroicons” The possibilities when using a library are limitless, never be afraid to look around on google because a 3 minute search could save you 30 minutes of coding and debugging.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*N0N5pl-BqdVvnuVAMcZikA.gif" /><figcaption><a href="http://bit.dev/">bit.dev </a>a free open source component library</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8687d08c59e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hip-Hip Array!]]></title>
            <link>https://medium.com/@templetl99/hip-hip-array-2499f1735c43?source=rss-e0b7330929eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2499f1735c43</guid>
            <dc:creator><![CDATA[Templetl]]></dc:creator>
            <pubDate>Mon, 22 Nov 2021 15:50:51 GMT</pubDate>
            <atom:updated>2021-11-22T15:50:51.977Z</atom:updated>
            <content:encoded><![CDATA[<p>Why did the programmer quit his job? because he couldn’t get arrays!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*S824vqK4YImoTazMLQQ4ww.jpeg" /></figure><p>Arrays help keep our data organized similar to an object but the object has keys. Arrays have indexes which start at 0 most people are confused because when you start learning to count everyone started with 1. One of the easiest ways to find a value in an array is to use bracket notation with the index inside of the brackets example. Array[0].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*GXzDB2Dx5TYFNv24CPkZrA.jpeg" /></figure><p>Luckily for us javascript has other tools for searching through arrays so you will not have to count the index every time you want to access the data. Two of the most common methods are .find() and .filter(). Using find is similar to looking for a dollar bill, although you might find a drawer or wallet full of dollar bills if you only need one, most people would just grab the first one and move on with life. Using filter would be similar to using a sifter in the sand. If the beach was your array and you are on the search for diamonds, then you would use your filter/sifter to get everything that is not a diamond and then you are left with a “group or array” of diamonds. When using filter I like to add .includes inside of my function, going back to the beach/diamond analogy, maybe I would only want to .include diamonds that are bigger than 3cm it will include only diamonds that have a certain attribute that can be set by the programmer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*jwAjz-M8a4acf2S8KL3jGg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2499f1735c43" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>