<?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: Gladys Pascual</title>
    <description>The latest articles on DEV Community by Gladys Pascual (@gladyspascual).</description>
    <link>https://dev.to/gladyspascual</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%2F413143%2Fe69bb054-4c72-43ad-be3d-d5aaa6d98701.jpg</url>
      <title>DEV Community: Gladys Pascual</title>
      <link>https://dev.to/gladyspascual</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gladyspascual"/>
    <language>en</language>
    <item>
      <title>Re-writing then/catch to async/await</title>
      <dc:creator>Gladys Pascual</dc:creator>
      <pubDate>Sun, 28 Feb 2021 23:19:48 +0000</pubDate>
      <link>https://dev.to/gladyspascual/re-writing-then-catch-to-async-await-2l02</link>
      <guid>https://dev.to/gladyspascual/re-writing-then-catch-to-async-await-2l02</guid>
      <description>&lt;p&gt;There are two main ways to handle asynchronous code in JavaScript: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;then/catch (ES6), and &lt;/li&gt;
&lt;li&gt;async/await (ES7). &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In this post, I wanted to show to convert a then/catch syntax into an async/await syntax.&lt;/p&gt;

&lt;p&gt;In this example, I will be using axios, a JavaScript library that allows making an HTTP request, and an alternative to the &lt;code&gt;.fetch()&lt;/code&gt; method. Some of the advantages of using axios over the fetch method are that axios performs automatic transforms of JSON data and has better browser support compared to the fetch method. &lt;/p&gt;

&lt;h3&gt;
  
  
  then/catch
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;  &lt;span class="nx"&gt;useEffect&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;axios&lt;/span&gt;
      &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kd"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="s2"&gt;`https://finnhub.io/api/v1/news?category=general&amp;amp;token=&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;REACT_APP_API_KEY&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;
      &lt;span class="p"&gt;)&lt;/span&gt;
      &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;then&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;firstTenNews&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nx"&gt;setCurrentNews&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;firstTenNews&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nx"&gt;setLoading&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
      &lt;span class="p"&gt;})&lt;/span&gt;
      &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;catch&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;err&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Error fetching and parsing data&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;err&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nx"&gt;setLoading&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
      &lt;span class="p"&gt;});&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="p"&gt;[]);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  async/await
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;  &lt;span class="nx"&gt;useEffect&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;fetchCurrentNewsData&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;axios&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kd"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
          &lt;span class="s2"&gt;`https://finnhub.io/api/v1/news?category=general&amp;amp;token=&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;REACT_APP_API_KEY&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;
        &lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;firstTenNews&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nx"&gt;setCurrentNews&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;firstTenNews&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nx"&gt;setLoading&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;err&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Error fetching and parsing data&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;err&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nx"&gt;setLoading&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="nx"&gt;fetchCurrentNewsData&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="p"&gt;[]);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I hope this helps. Some may argue that the async/await syntax is more readable compared to the then/catch syntax. What are your thoughts? Let me know in the comments below if you have a preferred syntax 👩🏻‍💻&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Scoreboard App</title>
      <dc:creator>Gladys Pascual</dc:creator>
      <pubDate>Wed, 16 Sep 2020 18:42:49 +0000</pubDate>
      <link>https://dev.to/gladyspascual/scoreboard-app-37co</link>
      <guid>https://dev.to/gladyspascual/scoreboard-app-37co</guid>
      <description>&lt;p&gt;Hi all 👋 I have just deployed the &lt;a href="https://score-me.netlify.app/"&gt;scoreboard&lt;/a&gt; app I created using React, check it out 👩🏻‍💻 &lt;/p&gt;

&lt;p&gt;To give you an overview of how I tackled this project:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WyiJGfFG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ybuwtnw1b4lbuyqt740x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WyiJGfFG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ybuwtnw1b4lbuyqt740x.png" alt="scoreboard"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're curious about how I created the scoreboard app, here is my &lt;a href="https://github.com/gladys-pascual/scoreboard"&gt;code&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Until my next project! ✌🏼😎&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>A beginner's guide to using Git when working with a team for the first time </title>
      <dc:creator>Gladys Pascual</dc:creator>
      <pubDate>Wed, 05 Aug 2020 10:02:48 +0000</pubDate>
      <link>https://dev.to/gladyspascual/a-beginner-s-guide-to-using-git-when-working-with-a-team-for-the-first-time-1hba</link>
      <guid>https://dev.to/gladyspascual/a-beginner-s-guide-to-using-git-when-working-with-a-team-for-the-first-time-1hba</guid>
      <description>&lt;p&gt;As part of my Front-End Web Development Course, we were put into a team of 4 for a group project, where we were tasked to create a website using HTML and CSS. Other than developing a static, responsive website with multiple pages, one of the main goals was to put what we have learned about &lt;strong&gt;Git&lt;/strong&gt; and &lt;strong&gt;Github&lt;/strong&gt; in practice.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is Git?
&lt;/h3&gt;

&lt;p&gt;The way I understand it, Git is a version control tool that allows a team of developers to work on the same code of the project, be able to maintain the code, track all the code modifications, and let them return to a previous version if required. All of these features allow for the development of new features more easily.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is Github?
&lt;/h3&gt;

&lt;p&gt;Github is a Version Management Web Service and possibly the biggest source code host. There are other services that do the same thing such as Bitbucket and Gitlab. Github is based on Git, but &lt;strong&gt;they are not the same thing&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  So what now?
&lt;/h3&gt;

&lt;p&gt;Putting Git into practice was a steep learning curve for me and my team. There was so much confusion as to what commands to use, what, when, or how to push. Our biggest struggle was that we were &lt;strong&gt;ending up with conflicts on our codes that we did not know how to resolve.&lt;/strong&gt; In the end, my team and I were able to get a better grasp of Git and Github's basic concepts. To further help us, I created my simple, personal cheat sheet, to make sure we minimize these conflicts. &lt;/p&gt;

&lt;h3&gt;
  
  
  First things first
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;When working in a group project (or any project),  make sure that you create a branch for the work/feature that you are doing. &lt;strong&gt;Do not&lt;/strong&gt; commit a change directly to master. Always create a branch that will then be merged later to the master.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To create a new branch: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This command will make your new branch, but you will still stay on the current branch.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git branch name-you-want-for-branch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;This command will make your new branch &lt;strong&gt;and&lt;/strong&gt; switch to this new branch you've created.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git checkout &lt;span class="nt"&gt;-b&lt;/span&gt; name-you-want-for-branch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I believe that it is best practice in the industry to check every morning whether there is a change on the master branch (thanks &lt;a href="https://dev.to/jericopingul"&gt;Jerico&lt;/a&gt; for the heads up). For those who are like me, still learning, I hope the following will be useful. &lt;/p&gt;

&lt;h4&gt;
  
  
  To ensure that you have the latest master available from your group project's Github repo in your local machine:
&lt;/h4&gt;

&lt;p&gt;This will minimize conflicts down the line.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Since you will be on your branch, switch from your branch to master
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git checkout master
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;To get the latest version of the remote master from Github
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git pull origin master
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;To switch back to the branch you are working on
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git checkout your-branch-name
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;To merge the changes from master to your branch
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git merge master
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Always remember to work on your branch. Do not work on the master branch.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Guide to push your local branch to Github
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;To stage all your changes
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git add &lt;span class="nb"&gt;.&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;This part is optional, but I like doing it. It should give a green text if the changes made were added successfully.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;To commit your changes
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git commit &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"your-commit-message"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;To push to Github
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git push &lt;span class="nt"&gt;-u&lt;/span&gt; origin your-branch-name
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Once you're happy with your code and want to merge your branch to the master branch in Github, you can &lt;em&gt;create a pull request&lt;/em&gt;.
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Click on the branches tab on Github.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Frgxczhdmbp4yht776gxb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Frgxczhdmbp4yht776gxb.png" alt="branches github"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click &lt;strong&gt;New pull request&lt;/strong&gt; tab on the branch that you want to merge to master. &lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ft42sv0hspi7mj04f0mgn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ft42sv0hspi7mj04f0mgn.png" alt="Pull request"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on &lt;em&gt;Create pull request&lt;/em&gt; button.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fny85vfkyzlkt3mnxdj3s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fny85vfkyzlkt3mnxdj3s.png" alt="create pull request"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Note that our Github repo was set up so that at least one reviewer was needed before you can merge your branch to the master. This can be done by:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Going to settings, then branches&lt;/li&gt;
&lt;li&gt;In Branch Protection Rules, click &lt;em&gt;add rule&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Type in &lt;em&gt;master&lt;/em&gt; on the &lt;em&gt;Branch name pattern&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Tick &lt;em&gt;Require pull request reviews before merging&lt;/em&gt; and &lt;em&gt;Include administrators&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I hope this helps! To finish off, I will list all the git commands that I find useful, hopefully, you will too ✌🏼&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;to switch from one branch to another&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git checkout name-of-the-branch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;to view all existing branches&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git branch &lt;span class="nt"&gt;-a&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;to delete a branch&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git branch &lt;span class="nt"&gt;-d&lt;/span&gt; branch-name
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;to check the destination of where your code is going to be pushed&lt;/em&gt; (rarely used but handy to know)
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git remote &lt;span class="nt"&gt;-v&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>git</category>
      <category>github</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>My Journey to Become a Wilder in Wild Code School</title>
      <dc:creator>Gladys Pascual</dc:creator>
      <pubDate>Tue, 04 Aug 2020 17:53:18 +0000</pubDate>
      <link>https://dev.to/gladyspascual/my-journey-to-become-a-wilder-in-wild-code-school-4hhe</link>
      <guid>https://dev.to/gladyspascual/my-journey-to-become-a-wilder-in-wild-code-school-4hhe</guid>
      <description>&lt;p&gt;In this blog post, I wanted to share my journey on how I  became a &lt;strong&gt;Wilder&lt;/strong&gt; by signing up for Wild Code School's Front-End Web Development part-time, remote course. In my &lt;a href="https://dev.to/gladyspascual/using-lockdown-to-career-change-from-chemical-engineer-to-software-developer-e5k"&gt;first blog post&lt;/a&gt;, I talked about my motivation for a career transition to Software Development. As a continuation, I wanted to share my journey to be part of the Bootcamp course.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Online Assessment
&lt;/h3&gt;

&lt;p&gt;The first step to my journey of becoming a Wilder was to complete an online assessment. This involved creating a static website using HTML and CSS. This sounds scary at first, but don't worry, they did not just throw me on the deep end and expect me to know everything about what they are about to teach me. The idea was to see whether a candidate was motivated, able to learn, and adapt to challenges by being resourceful. The school ensured that I get to work and learn with like-minded individuals in the course on an everyday basis through assignments and project work, but of course with the guidance of an instructor who will mentor us if we get stuck on something.&lt;/p&gt;

&lt;p&gt;Wild Code School have their own learning platform called Odyssey. To me, it's like a very organised notes that compiled all the useful articles and videos per topic, in this case, HTML and CSS, which I found very useful as a beginner. In addition to the assessment, they also asked me to complete Codecademy's first seven chapters on &lt;a href="https://www.codecademy.com/learn/introduction-to-javascript"&gt;Introduction to Javascript&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;To me, having this assessment and intro to JavaScript prior to starting the course was a really good idea as it ensures that everyone would be starting at the same level prior to starting the course. &lt;/p&gt;

&lt;p&gt;On top of the resources available in Odyssey, the five-week Coursera course on HTML, CSS and Javascript for Web Developers I did prior to joining Wild Code School helped me a lot on this assessment. If you're interested, here is the &lt;a href="https://gladys-pascual.github.io/wild-circus/"&gt;website&lt;/a&gt; I created as part of the assessment. PS. I did not know Flexbox back then! 🙈 &lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Motivational Interview with the Campus Manager
&lt;/h3&gt;

&lt;p&gt;After I submitted and successfully passed my online assessment, I was scheduled for a motivational interview with the campus manager, Francesco, who also gave the presentation that convinced me to join the school in the first place. I won't go into detail about my motivation as I have discussed this in length in my &lt;a href="https://dev.to/gladyspascual/using-lockdown-to-career-change-from-chemical-engineer-to-software-developer-e5k"&gt;fisrt blog&lt;/a&gt;. Overall, I had a great chat with Francesco and I was onto the next stage!&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Livecode assessment with the course instructor
&lt;/h3&gt;

&lt;p&gt;The final step was a livecode assessment where Anelisy, the course instructor, gave me a JavaScript problem and I solved it while she watches. The idea was for her to see my thought process and how I would Google to find the solution. It lasted for 30 minutes and it went well overall! I can't remember exactly what she asked me to do, but I remember that there was a &lt;code&gt;for&lt;/code&gt; loop involved! 😊 &lt;/p&gt;

&lt;h3&gt;
  
  
  Wrap Up
&lt;/h3&gt;

&lt;p&gt;Overall, I really &lt;strong&gt;loved&lt;/strong&gt; the process of getting into Wild Code School. The rigorous assessments and motivational interview ensured that I get to work and learn with people who have the same level of motivation as I do. For more information about the course, you can find it &lt;a href="https://www.wildcodeschool.com/en-GB/trainings/front-end-developer-part-time"&gt;here&lt;/a&gt;. &lt;/p&gt;

</description>
      <category>career</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Using lockdown to switch careers - from Chemical Engineer to Software Developer</title>
      <dc:creator>Gladys Pascual</dc:creator>
      <pubDate>Sat, 20 Jun 2020 22:22:11 +0000</pubDate>
      <link>https://dev.to/gladyspascual/using-lockdown-to-career-change-from-chemical-engineer-to-software-developer-e5k</link>
      <guid>https://dev.to/gladyspascual/using-lockdown-to-career-change-from-chemical-engineer-to-software-developer-e5k</guid>
      <description>&lt;p&gt;&lt;em&gt;As Ireland went into lockdown following the Covid-19 outbreak, I decided that this was the perfect time to upskill and further my prospects within the tech industry.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Although I enjoy my current job, I'm aware of the opportunities and flexibility that a career in tech can offer, not only in Dublin but also abroad. The decision for a career transition did not come easy. After all, I spent &lt;strong&gt;so much&lt;/strong&gt; time to get to the career that I have right now, with four years to do my Bachelor's and another four to complete my PhD. My biggest worry was: &lt;em&gt;am I just throwing all those years away?&lt;/em&gt; Luckily, I have a supportive partner who made me realise that I have 30+ more years of working life ahead of me. A lot can change in those 30 years and I would like to put myself in a position where a vast amount of opportunities are widely available.    &lt;/p&gt;

&lt;h3&gt;
  
  
  So why coding?
&lt;/h3&gt;

&lt;p&gt;An area of my job that really interests me is developing modelling solutions. I believe that the problem-solving skills that I obtained from my background in Chemical Engineering are transferable into coding and with enough fundamental knowledge, a career in tech is a path that I can excel in and also enjoy.&lt;/p&gt;

&lt;h3&gt;
  
  
  First step to my career change
&lt;/h3&gt;

&lt;p&gt;I started considering my options around February 2020, but I wasn't sure which course option to go with. I did not want to quit my full-time job, therefore a part-time course was the best option for me. &lt;/p&gt;

&lt;p&gt;I started with a five-week Coursera course on &lt;a href="https://www.coursera.org/learn/html-css-javascript-for-web-developers?"&gt;HTML, CSS, and Javascript for Web Developers&lt;/a&gt; delivered by Yaakov Chaikin. It was an amazing course that gave me strong fundamentals on HTML, CSS, and Bootstrap. More importantly, it strengthened my passion for coding, and quickly realised that becoming a Front-End Web Developer would suit me best. I was ready to take my coding journey to the next level. &lt;/p&gt;

&lt;p&gt;After extensive research on which course would give me enough skillset and project work to get me that first Junior Developer role, my options were either on-campus bootcamps in Dublin or online learning programmes. I was leaning more on the online programmes such as the &lt;a href="https://join.teamtreehouse.com/front-end-web-development-techdegree/"&gt;Front End Development&lt;/a&gt; or &lt;a href="https://join.teamtreehouse.com/full-stack-javascript-techdegree/"&gt;Full Stack JavaScript&lt;/a&gt; Techdegree courses offered by Treehouse, or the &lt;a href="https://www.udacity.com/course/front-end-web-developer-nanodegree--nd0011"&gt;Front End Web Developer&lt;/a&gt; or &lt;a href="https://www.udacity.com/course/react-nanodegree--nd019"&gt;React&lt;/a&gt; Nanodegree programmes offered by Udacity. On-campus boot camps were quickly out of consideration as the commute during Dublin's rush hour would not be feasible with my demanding work schedule. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;THEN THE LOCKDOWN HAPPENED.&lt;/em&gt;&lt;/strong&gt; Fortunately, my company remained as an essential business and we continued our operation during the lockdown. On the other hand, all my extra-curricular activities and travel plans were postponed which led to all the extra hours I now have on my hands. As Ireland went into lockdown following the Covid-19 outbreak, I decided that this was the perfect time to upskill and further my prospects within the tech industry. &lt;/p&gt;

&lt;p&gt;Next, I saw that Wild Code School was offering their part-time Front-End Developer Course remotely due to the current lockdown. I went to one of their remote presentations in April to learn more about the course, but without any intentions of the course, mainly because it is a lot more expensive compared to the other online courses we've looked at. I'm glad that I went, because I learned that the remote course offered a curriculum structure that I want, the supervisor that I need, and most importantly the ability to work with a group of like-minded people. I signed up, started the remote course in mid-April, and fast forward to today I am on my week 10 of the course and I am loving it! I am always excited to come home and learn more JavaScript and now React, despite how tired I am from a full day of work. &lt;/p&gt;

&lt;p&gt;If you got this far, thank you for taking your time to read my story. If you're someone thinking of a career change, I understand that it's not an easy decision and I hope this blog helped a little bit. Don't hesitate to comment or contact me if you have any questions. ✌🏼&lt;/p&gt;

</description>
      <category>career</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
