<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Brittany Javalera</title>
    <description>The latest articles on DEV Community by Brittany Javalera (@brittjavs).</description>
    <link>https://dev.to/brittjavs</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F445662%2F88e698b2-0b81-468b-97d9-3a94f9a8a89e.jpg</url>
      <title>DEV Community: Brittany Javalera</title>
      <link>https://dev.to/brittjavs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/brittjavs"/>
    <language>en</language>
    <item>
      <title>Getting started with Bootstrap</title>
      <dc:creator>Brittany Javalera</dc:creator>
      <pubDate>Sun, 20 Dec 2020 21:19:42 +0000</pubDate>
      <link>https://dev.to/brittjavs/getting-started-with-bootstrap-46fd</link>
      <guid>https://dev.to/brittjavs/getting-started-with-bootstrap-46fd</guid>
      <description>&lt;p&gt;Every time I would start a project while at Flatiron School, I would plan on using a css framework for styling. I would look through the documentation for different frameworks such as Bulma, Bootstrap, Semantic, and would be immediately put off. There was so much in the documentation and I didn't understand what I needed to add to my code in order to use the frameworks pre-styled elements. Instead of spending a little extra time to learn, I would focus on my project's functionality and end up styling with vanilla css from scratch.&lt;/p&gt;

&lt;p&gt;Since completing the program, I am able to approach learning a bit more calmly, and am happy to announce that I learned my first css framework, Bootstrap. Looking back, I am not sure why I was flustered with it to begin with. It is very easy to use and has great documentation that is well organized and easy to understand. Below I will walk you through how to add Bootstrap to your projects and how to go through the documentation. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Visit Bootstrap.com and click on GET STARTED. This will take you to an Introduction page.&lt;/li&gt;
&lt;li&gt;The intro page gives you a few options to add Bootstrap to your project. 

&lt;ul&gt;
&lt;li&gt;You can copy the css link and paste it in your html file( in the head section under the title where you would normally add links for stylesheets). This is best option if you will not be needing any functional components such as drop-downs or items that change in appearance.&lt;/li&gt;
&lt;li&gt;If you will be needing Javascript or functionality as mentioned above, you can copy the bundle or separate scripts located under the Javascript section on the intro page and paste the scripts at the end of the body section in your HTML file. &lt;/li&gt;
&lt;li&gt;If you are barely starting on your project, you can copy the starter template which already has what you need to get started.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you like, you can download the full css and javascript source code from the Download page on the Bootstrap site. You would add these files to the css folder of your project and link them in your html file as stylesheets. The downside of doing this is that the files will have to be loaded every time a user visits your site/application since it will not be cached. This can make loading slower.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Now that you have added Bootstrap to your project, you have access to many pre-styled elements. To apply them, all you need to do is add class names to your html elements and attributes. For example, you would add "col" for column, "btn" for button. The documentation is split into sections that make it easy to find what you are looking for but you can also search for any element in the searchbar to easier find the documentation for it. &lt;/p&gt;

&lt;p&gt;One of the huge advantages to using a css framework, other than the pre-styled elements, is the added responsiveness. Rather than creating multiple stylesheets or media queries for different screen sizes, you can add sizes to your an element for different breakpoints. For example, if you set up a column using the class "col-6-md", the column will take up half of the screen width(6 out of 12 possible column widths) for screen sizes medium or larger. If it is smaller, the column will resize to full width of the screen automatically. &lt;/p&gt;

&lt;p&gt;With more practice, I can understand how Bootstrap can be a time-saver as well as keep your code cleaner, provide uniformity if you are working on larger teams(people aren't making up their own class names), and help make your project more responsive. Don't let the documentation intimidate you, it is a lot easier than you think. &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>bootstrap</category>
      <category>css</category>
    </item>
    <item>
      <title>Data Structures - Pt 3 : Binary Trees</title>
      <dc:creator>Brittany Javalera</dc:creator>
      <pubDate>Sun, 27 Sep 2020 23:33:18 +0000</pubDate>
      <link>https://dev.to/brittjavs/data-structures-pt-3-binary-trees-43k5</link>
      <guid>https://dev.to/brittjavs/data-structures-pt-3-binary-trees-43k5</guid>
      <description>&lt;p&gt;For me, binary trees are the most difficult data structure to comprehend, possibly because they are not a linear data structure. I am still not the expert on this data structure but I want to share what I have learned for other beginners.&lt;/p&gt;

&lt;p&gt;Binary trees have nodes that hold data and a reference to their children.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The top node of a binary tree is referred to as the root node. It is the only node without a parent.&lt;/li&gt;
&lt;li&gt;In a binary tree, each node can only have 2 immediate children(one left child, one right child).&lt;/li&gt;
&lt;li&gt;A child is any node directly underneath a given node.&lt;/li&gt;
&lt;li&gt;Nodes on the same level of a tree that share the same parent node are referred to as siblings.&lt;/li&gt;
&lt;li&gt;A node that doesn't have children(bottom node) is referred to as a leaf. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--upe-cvWA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/zxsqf025njingpp36bv8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--upe-cvWA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/zxsqf025njingpp36bv8.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One specific type of binary tree is a Binary Search Tree.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In a binary search tree, the left child will always be less than the parent node and the right child will be greater than the parent node.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Iterating through the elements of a tree is called Tree Traversal. There are 2 main ways to traverse through a tree:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Breadth-First Search - iterates through each level of a tree from left to right&lt;/li&gt;
&lt;li&gt;Depth-First Search - iterates through elements starting from the root, down to the root's left child, down the left child's left child, and so on until it reaches the left leaf. Then it backtraces to the parent and down to the right child and so on until it backtraces to the root. The process then starts again with the root's right child. For example, in the binary search tree above, using depth-first search would go traverse the tree in the following order: 
[ 20, 14, 9, 3, 11, 19, 57, 31, 62, 72 ]&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you have any suggestions for basic information to add, or any resources to help learn more about binary trees, please do not hesitate to comment! &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>datastructures</category>
      <category>binarytree</category>
    </item>
    <item>
      <title>Data Structures - Pt 2: Linked Lists</title>
      <dc:creator>Brittany Javalera</dc:creator>
      <pubDate>Sun, 13 Sep 2020 20:17:14 +0000</pubDate>
      <link>https://dev.to/brittjavs/data-structures-pt-2-linked-lists-3oh2</link>
      <guid>https://dev.to/brittjavs/data-structures-pt-2-linked-lists-3oh2</guid>
      <description>&lt;p&gt;If you are new to data structures, this post is for you. I didn't have the easiest time grasping data structures, so I wanted to share the basics of what I have learned so far to help you get started. My &lt;a href="https://dev.to/brittjavs/data-structures-pt-1-stacks-and-queues-4nd5"&gt;previous post&lt;/a&gt; covered stacks and queues. This one will cover the basics of linked lists. &lt;/p&gt;

&lt;p&gt;A linked list is an ordered collection of data made up of nodes. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--u_WPGDhI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/qmh5g51o8f0y32pkvf9p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--u_WPGDhI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/qmh5g51o8f0y32pkvf9p.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Each node must have 2 properties

&lt;ol&gt;
&lt;li&gt;A data property which contains the data&lt;/li&gt;
&lt;li&gt;A next property which is a reference to the next node
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Node {
    constructor(data, next=null){
        this.data = data;
        this.next = next 
    }
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;The first node is often referred to as the "head" node and the last node is often referred to as "tail" node. The tail node will not have a reference to any other node.&lt;/li&gt;
&lt;li&gt;The order of nodes will not change unless we explicitly change the order by inserting and/or removing nodes.&lt;/li&gt;
&lt;li&gt;To access nodes, you must go through the pointers. (Linked lists do not use index numbers the same way arrays do.) Below is an example of accessing a specific node in a linked list if given an index.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;getAt(index){
  let count = 0
  let node = this.head
    while(node){
      if(count === index){
      return node
      }
      count++
      node = node.next
    }
   return null
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;In addition to the basic singly linked list, there are 2 additional types of linked lists.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Doubly linked list

&lt;ul&gt;
&lt;li&gt;A doubly linked list will have both next and previous properties.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Circular linked list

&lt;ul&gt;
&lt;li&gt;A circular linked list doesn't have a tail node. Instead the last node will point to a node at an earlier point in the list, creating an infinite loop.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>datastructure</category>
      <category>beginners</category>
      <category>linkedlist</category>
    </item>
    <item>
      <title>Data Structures- Pt 1: Stacks and Queues</title>
      <dc:creator>Brittany Javalera</dc:creator>
      <pubDate>Sun, 06 Sep 2020 21:51:47 +0000</pubDate>
      <link>https://dev.to/brittjavs/data-structures-pt-1-stacks-and-queues-4nd5</link>
      <guid>https://dev.to/brittjavs/data-structures-pt-1-stacks-and-queues-4nd5</guid>
      <description>&lt;p&gt;I had tried learning about data structures on my own by reading through many articles and watching tutorials but the concepts never quite stuck. I decided to ask for recommendations from fellow bootcamp grads and most of them suggested a few courses on Udemy. I am in the middle of one of those courses and I can happily say that I am finally understanding the concepts! In my next few post I will be sharing what I have learned.&lt;/p&gt;

&lt;p&gt;Data structures are ways of organizing information with optimal runtime for adding, editing, and removing data.&lt;/p&gt;

&lt;h3&gt;
  
  
  Queues
&lt;/h3&gt;

&lt;p&gt;A queue is ordered list, using first-in/first-out list management. You can compare it to standing in line at the meat counter at the grocery. You take a number(index), and the butcher will call the numbers in order starting from smallest to largest, so the first person to get a ticket will be the first person called, and so on. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Adding a record to a queue(a new person getting in like), is called enqueuing.&lt;/li&gt;
&lt;li&gt;Dequeuing is removing the first record of the queue(the first person in line has completed their transaction and leaves).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Stacks
&lt;/h3&gt;

&lt;p&gt;Stacks are also ordered lists but use first-in/last-out order list management. The concept is the same as stacking plates on a shelf. The first plate you place on the shelf becomes plate on the bottom and last plate you place on the shelf is at the top. So, when you grab to plate on top for your next meal, you are taking the last plate you put the shelf.&lt;/p&gt;

&lt;p&gt;In Javascript, arrays are used for both Queues and Stacks but with limitations.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For Queues we use can use .unshift() to add to the the array, and .pop() to remove from the other end.&lt;/li&gt;
&lt;li&gt;For Stacks we use .push to add to the end and .pop() to remove the last item.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Adding and removing are the main operations for these data structures but we can also create a peek function to preview the record at the front of a queue, or last/"top" of a stack. &lt;br&gt;
We can also combine multiple queues into one queue and create a queue from stacks. &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>stacks</category>
      <category>queues</category>
      <category>datastructures</category>
    </item>
    <item>
      <title>Tips for first time collaborators</title>
      <dc:creator>Brittany Javalera</dc:creator>
      <pubDate>Mon, 17 Aug 2020 06:33:52 +0000</pubDate>
      <link>https://dev.to/brittjavs/tips-for-first-time-collaborators-l1a</link>
      <guid>https://dev.to/brittjavs/tips-for-first-time-collaborators-l1a</guid>
      <description>&lt;p&gt;I am currently collaborating on a project with a friend and fellow software engineer. We were in the same cohort at Flatiron School and have previously pair programmed for code challenges and shared advice to complete individual projects. However, for both of us, it is the first time working with a partner to build an application. We are learning as we go but I'd like to share what we've learned so far for other first timers. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Communication is key! 

&lt;ul&gt;
&lt;li&gt;We have zoom meetings once or twice a week to set the goal 
for the coming days. We discuss what the next steps are, 
what we need to learn/research in order to reach our goal, 
and we split tasks.&lt;/li&gt;
&lt;li&gt;We send each other messages on slack when we run into 
any issues, have questions about our code or best practices, 
and just to inform each other about tasks we have completed.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Read and write informative git commits &amp;amp; UPDATE YOUR LOCAL REPO

&lt;ul&gt;
&lt;li&gt;Before you start working on your project tasks, check git, 
read the commit messages and look through the code to see 
what has been added, updated, deleted. It will catch you up 
so you can pick up where your partner has left off.&lt;/li&gt;
&lt;li&gt;When writing commit messages, try to keep it short but 
informative. This might mean committing more often. 
(Sometimes I try to get something working before I commit 
changes and I end up writing longer commit messages which 
might not be easy to read for my project partner...It's 
something I am working on improving)&lt;/li&gt;
&lt;li&gt;If changes have been made don't forget to GIT PULL to 
update your local repo&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Comments inside your code are helpful.

&lt;ul&gt;
&lt;li&gt;Comments to label what certain functions or blocks of code 
are for have made it easier to review each others code. &lt;/li&gt;
&lt;li&gt;This includes questions and suggestions. We often write 
questions above our code about refactoring or asking about 
the necessity of certain functions/methods.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So far this has been a great experience. We are understanding of each others schedules and time zones. We are equally involved in the planning and execution of the necessary tasks. We are both willing to take extra time to learn new things to improve our skills and the end result of our project.&lt;/p&gt;

</description>
      <category>collaborating</category>
    </item>
    <item>
      <title>Postman </title>
      <dc:creator>Brittany Javalera</dc:creator>
      <pubDate>Mon, 03 Aug 2020 03:34:26 +0000</pubDate>
      <link>https://dev.to/brittjavs/postman-5gk</link>
      <guid>https://dev.to/brittjavs/postman-5gk</guid>
      <description>&lt;p&gt;This past week I began working on a new personal project. I am collaborating with a fellow Flatiron alumna to create a jeopardy-like game. We decided that since we aren't on a deadline, that we would take this opportunity to learn and implement new skills, features, and tools. &lt;br&gt;
One new tool I started using while building the rails backend, is Postman. Once I created controller methods and routes the steps are fairly easy. For example, to simulate login, &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Run rails server&lt;/li&gt;
&lt;li&gt;Select POST from the method drop down list&lt;/li&gt;
&lt;li&gt;Write out or copy/paste the login url&lt;/li&gt;
&lt;li&gt;In the Body tab, enter the credentials or parameters as key value pairs.&lt;/li&gt;
&lt;li&gt;Hit send and review the response.(My login method will either return user json or an error message.)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I was able to test login, signup, and check if JSON Web Tokens were being created, encoded, and decoded.&lt;br&gt;
I would highly recommend utilizing this tool for anyone building out APIs. &lt;/p&gt;

</description>
      <category>api</category>
      <category>postman</category>
      <category>weeklylearn</category>
    </item>
  </channel>
</rss>
