<?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>Forem: Ifeoma</title>
    <description>The latest articles on Forem by Ifeoma (@ifeoma).</description>
    <link>https://forem.com/ifeoma</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%2F312670%2F76dd43b3-f7d6-4722-bb2f-5fb0caede65f.jpg</url>
      <title>Forem: Ifeoma</title>
      <link>https://forem.com/ifeoma</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ifeoma"/>
    <language>en</language>
    <item>
      <title>FreeCodeCamp: Find the longest word in a string. Basic Algorithm 4</title>
      <dc:creator>Ifeoma</dc:creator>
      <pubDate>Fri, 26 May 2023 10:28:43 +0000</pubDate>
      <link>https://forem.com/ifeoma/freecodecamp-find-the-longest-word-in-a-string-basic-algorithm-4-5amg</link>
      <guid>https://forem.com/ifeoma/freecodecamp-find-the-longest-word-in-a-string-basic-algorithm-4-5amg</guid>
      <description>&lt;p&gt;In the words of Prof. Jelani Nelson of Harvard University, "An algorithm is a well-defined procedure for carrying out some computational task. Typically the task is given, and the job of the algorithmist is to find such an efficient procedure, for example in terms of processing time and/or memory consumption"&lt;/p&gt;

&lt;p&gt;A more straightforward definition in my words is that "an algorithm is a set of step-by-step instructions that indicate a process or processes and describe how a certain task should be carried out"&lt;/p&gt;

&lt;p&gt;In this series, I will share solutions and my thought process for arriving at these solutions to the FreeCodeCamp algorithm challenges from the Javascript Algorithm and Data Structures section: Basic Algorithm&lt;/p&gt;

&lt;h2&gt;
  
  
  Starting with Challenge 4: Find the longest word in a string
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/* Return the length of the longest word in the provided sentence. Your response should be a number. */

function findLongestWordLength(str) {
  return str.length;
}

findLongestWordLength("The quick brown fox jumped over the lazy dog");

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Given the algorithm above, we will return the longest word in the given sentence.&lt;/p&gt;

&lt;p&gt;To find the longest word in a sentence, we will iterate over the sentence and compare the length of each word to the length of the longest word found so far. To iterate through the given string &lt;code&gt;"The quick brown fox jumped over the lazy dog"&lt;/code&gt;, we have to &lt;strong&gt;split&lt;/strong&gt; the words up into &lt;strong&gt;substrings&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Javascript has inbuilt methods provided to carry out several functions. For this string value, we will use the javascript split method. The split method takes a string value, divides it into substrings based on the separator we specify, and returns an array that can be iterated upon.&lt;/p&gt;

&lt;p&gt;For this algorithm, we will be making use of a separator and then storing the result in a variable &lt;code&gt;wordsArray&lt;/code&gt;, like so:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function findLongestWordLength(str) {
  let wordsArray = str.split(' ');

  // console.log (wordsArray)
  //(9) ['The', 'quick', 'brown', 'fox', 'jumped', 'over', 'the', 'lazy', 'dog']
}

findLongestWordLength("The quick brown fox jumped over the lazy dog");

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;when we log the value of &lt;code&gt;wordsArray&lt;/code&gt; to our console, it returns an array with 9 substrings, it is these substrings that will be iterated upon.&lt;/p&gt;

&lt;p&gt;We will store the current longest word in a variable named &lt;code&gt;currentLongestWord&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function findLongestWordLength(str) {
  let wordsArray = str.split(' ');
  let currentLongestWord = "";
}

findLongestWordLength("The quick brown fox jumped over the lazy dog");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Of course, it is stored as a string because the value, that is, the words from the argument given is a string value.&lt;/p&gt;

&lt;p&gt;The next step will be to iterate through our given array &lt;code&gt;wordsArray&lt;/code&gt; to iterate over an array we will be using the &lt;strong&gt;for...loop&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function findLongestWordLength(str) {
  let wordsArray = str.split(' ');
  let currentLongestWord = "";

  for ( let i = 0; i &amp;lt; wordsArray.length; i++ ){

  }
}
 findLongestWordLength("The quick brown fox jumped over the lazy dog");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;n the code above, we have written a &lt;strong&gt;for...loop&lt;/strong&gt; that iterates through all the items in the area stored in &lt;code&gt;wordsArray&lt;/code&gt; and because we do not know the actual length of the elements in the array, we make use of the method length&lt;/p&gt;

&lt;p&gt;Every time the loop runs, it iterates through each substring which becomes the current value of &lt;code&gt;wordsArray[i]&lt;/code&gt; we can log the current value of &lt;code&gt;wordsArray[i]&lt;/code&gt; to gain a clearer picture of how the value changes on every iteration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function findLongestWordLength(str) {
 let wordsArray = str.split(' ');
 let currentLongestWord = "";

  for ( let i = 0; i &amp;lt; wordsArray.length; i++ ){
     console.log (wordsArray[i]);
//returns =&amp;gt; 
// The
//quick
//brown
//fox
//jumped
//over
//the
//lazy
//dog
  }
}
 findLongestWordLength("The quick brown fox jumped over the lazy dog");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This value needs to be stored in a variable so that it can be compared to the &lt;code&gt;currentLongestWord&lt;/code&gt; so, we will be storing it in the &lt;code&gt;currentWord&lt;/code&gt; variable. For us to compare we will make use of an &lt;strong&gt;if...&lt;/strong&gt; statement so that if length of (characters) in currentWord is greater than the length of (characters) in &lt;code&gt;currentLongestWord&lt;/code&gt;, the value of &lt;code&gt;currentWord&lt;/code&gt; gets updated to the &lt;code&gt;currentLongestWord&lt;/code&gt; by using the assignment symbol.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function findLongestWordLength(str) {
  let wordsArray = str.split(' ');
  let currentLongestWord = "";

  for ( let i = 0; i &amp;lt; wordsArray.length; i++ ){
       let currentWord = wordsArray[i];
       if (currentWord.length &amp;gt;   currentLongestWord.length){
           currentLongestWord = currentWord
       }
  }
return currentLongestWord.length;
}
 findLongestWordLength("The quick brown fox jumped over the lazy dog");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The next step will be to return the length of the &lt;code&gt;currentLongestWord&lt;/code&gt; as we have done above, we are making use of the &lt;code&gt;length&lt;/code&gt; method because the algorithm requests that a number should be returned.&lt;/p&gt;

&lt;p&gt;Now, log in the given argument or any other value of your choice and the number that will be returned will be the length of the longest word in the sentence.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function findLongestWordLength(str) {
let wordsArray = str.split(' ');
  let currentLongestWord = "";

  for ( let i = 0; i &amp;lt; wordsArray.length; i++ ){
       let currentWord = wordsArray[i];
       if (currentWord.length &amp;gt;   currentLongestWord.length){
           currentLongestWord = currentWord
       }
  }
return currentLongestWord.length;
}
 console.log (findLongestWordLength("The quick brown fox jumped over the lazy dog"));
//returns =&amp;gt; 6

console.log (findLongestWordLength("Javascript is a high-level language"))
//returns =&amp;gt; 10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Remember, there are different ways to solve an algorithm in Javascript, solve yours in the way you understand and maybe share in the comments. &lt;/p&gt;

</description>
      <category>freecodecamp</category>
      <category>algorithms</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>Netlify Deployment error Fix: 'Treating warnings as errors because process.env.CI=true'</title>
      <dc:creator>Ifeoma</dc:creator>
      <pubDate>Thu, 02 Feb 2023 22:38:17 +0000</pubDate>
      <link>https://forem.com/ifeoma/netlify-deployment-error-fix-treating-warnings-as-errors-because-processenvcitrue-3kje</link>
      <guid>https://forem.com/ifeoma/netlify-deployment-error-fix-treating-warnings-as-errors-because-processenvcitrue-3kje</guid>
      <description>&lt;p&gt;Netlify is a cloud platform in which software developers can easily host their websites and web applications and it gets deployed instantly.&lt;/p&gt;

&lt;p&gt;In this article, I will share how to fix Treating warnings as errors because process.env.CI=true the error message I recently encountered while trying to deploy a React application I am currently working on as a personal project.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem:
&lt;/h2&gt;

&lt;p&gt;I tried to deploy an application built using react and chose Netlify as the platform in which it was to be hosted. I chose the option to Import an existing project from a Git repository. Netlify displays the deployment log terminal when an application is being deployed and from this section, messages can be seen on the progress of the project being deployed. Upon getting the application deployed, these error messages were displayed as a report on the progress of the deployment.&lt;/p&gt;

&lt;p&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%2Fuploads%2Farticles%2Fc2q41kmrqbkv68lgnmh3.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%2Fuploads%2Farticles%2Fc2q41kmrqbkv68lgnmh3.png" alt="image of deployment log from netlify with an error message Treating warnings as errors because process.env.CI=true"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&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%2Fuploads%2Farticles%2F4whn4o10bjzu9a6rd1rb.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%2Fuploads%2Farticles%2F4whn4o10bjzu9a6rd1rb.png" alt="image of deployment log from netlify with an error message of build.failed"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The reason for this error is that Netlify automatically &lt;strong&gt;sets the build environment variable&lt;/strong&gt; to &lt;code&gt;true&lt;/code&gt;, in doing so certain features in an application that were previously seen as warnings (in the terminal in of a local environment) and did not alter the build of the application in a local environment will now be detected while in the new environment. By the default setting by Netlify, your application due to the library being used will interpret this environment variable &lt;code&gt;CI&lt;/code&gt; being set to &lt;code&gt;true&lt;/code&gt; that is, &lt;code&gt;CI=true&lt;/code&gt; where CI stands for Continuous Integration and then &lt;strong&gt;interprets warnings as errors&lt;/strong&gt; hence the warning: "&lt;em&gt;Treating warnings as errors because process.env.CI=true"&lt;/em&gt; and this interrupts the deployment of the application.&lt;/p&gt;

&lt;h3&gt;
  
  
  What are Environment Variables?
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Environment variables are values&lt;/strong&gt; that help in setting up and controlling the environment in which your application gets deployed to.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution:
&lt;/h2&gt;

&lt;p&gt;To fix this error, the first step is to set the build command of your application.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Navigate to the &lt;strong&gt;Site Settings&lt;/strong&gt; of the application you intend to deploy.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Under the &lt;strong&gt;Build and Deploy&lt;/strong&gt; section select &lt;strong&gt;Continuous Deployment&lt;/strong&gt; and scroll down to the &lt;strong&gt;Build Settings&lt;/strong&gt; section, Click on Edit Settings.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Set the &lt;strong&gt;Build Command&lt;/strong&gt; to &lt;code&gt;CI= npm run build&lt;/code&gt; .&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The next step will be to set the environment variable, which controls the environment to which your application gets deployed, to do that follow these instructions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Under the &lt;strong&gt;Build and Deploy&lt;/strong&gt; section, select &lt;strong&gt;Environment.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on &lt;strong&gt;Edit Variables&lt;/strong&gt; and in the &lt;strong&gt;key input&lt;/strong&gt; type in &lt;code&gt;CI&lt;/code&gt;, in the &lt;strong&gt;value input&lt;/strong&gt; type in &lt;code&gt;false&lt;/code&gt; .&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This unsets Netlify's default environment setting from &lt;code&gt;CI=true&lt;/code&gt; to &lt;code&gt;CI=false&lt;/code&gt;, when this is set, warnings during continuous integration or deployment will no longer be seen as errors that can halt the deployment of the web application.&lt;/p&gt;

&lt;p&gt;Following these instructions will result in a successful build and deployment of your application, just as it did for me. You will see these messages in the deployment logs:&lt;/p&gt;

&lt;p&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%2Fuploads%2Farticles%2Fri0b1h4y8xz793bch6ik.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%2Fuploads%2Farticles%2Fri0b1h4y8xz793bch6ik.png" alt="image of deployment log from Netlify with a success message Build command from Netlify app"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&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%2Fuploads%2Farticles%2Fal349pgdg937s98ybqyg.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%2Fuploads%2Farticles%2Fal349pgdg937s98ybqyg.png" alt="image of deployment log from Netlify with a success message Netlify build complete which confirms the success of the application deployment"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note: These settings can also be applied when deploying an application to Vercel.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>netlify</category>
      <category>react</category>
      <category>webdev</category>
    </item>
    <item>
      <title>The Unofficial Official Beginner's Guide to starting out in Developer Relations.</title>
      <dc:creator>Ifeoma</dc:creator>
      <pubDate>Mon, 09 Jan 2023 11:36:24 +0000</pubDate>
      <link>https://forem.com/ifeoma/the-unofficial-official-beginners-guide-to-starting-out-in-developer-relations-48op</link>
      <guid>https://forem.com/ifeoma/the-unofficial-official-beginners-guide-to-starting-out-in-developer-relations-48op</guid>
      <description>&lt;p&gt;&lt;a href="https://dev.tourl"&gt;&lt;/a&gt;So you have done your research on Developer relations and confirmed that it is the next step you would like to take in your career. Now you will want to be sure about the actions you can take in developing a career in Developer Relations&lt;/p&gt;

&lt;p&gt;In this post, I will share details on how you can build a career in Developer Relations starting where you are, with what you have.&lt;/p&gt;

&lt;h3&gt;
  
  
  Identify a role in Developer Relations and be enthusiastic about it:
&lt;/h3&gt;

&lt;p&gt;Developer relations consists of various roles that require different skill sets such as Technical Writing, Public speaking, Community management, and Developer education. It is important to try one of these skills using your strengths and being consistent with these skill sets. For instance, through past experiences, I identified Public speaking and Writing as the skills related to Developer relations which I thrive at and I later grew these skills by managing developer communities, speaking at technical conferences, developer education, writing and participating in local technical events.&lt;/p&gt;

&lt;h3&gt;
  
  
  Develop Interpersonal skills:
&lt;/h3&gt;

&lt;p&gt;As a developer relations engineer, you will be interacting with people a lot, now I know this can seem daunting for those of us who are introverts but the hack to this is making sure that the interaction is organic. When you meet participants or fellow speakers from a conference you will be speaking at, try to start organic conversations with them for example: try to know why they attended the conference, who they will be looking forward to speaking and what their favorite session was, don not get offended or displeased if you were not their best speaker instead try to find out why they enjoyed that speaker's session. Interact with other speakers and do it organically no because you are aiming to gain a sort of connection to the other speakers for certain beneficial reasons, people have a way of telling if you are walking up to them just for your own sake. Always remember that you will interact with people a lot, either through speaking or community management which is direct, or writing technical articles which people will use which is indirect.&lt;/p&gt;

&lt;h3&gt;
  
  
  Educate your audience:
&lt;/h3&gt;

&lt;p&gt;The main purpose of being a developer relations engineer is to educate the audience and this can be done by learning the goals of your audience, your readers, your listeners, and whatever medium or tools you use when creating content. Make sure you are able to relate to the enthusiasts. Always ensure your audience has a takeaway from the content you create, the event you speak at, or the article you have published. A way to make sure of this is by asking the audience themselves, and get in touch with your target audience, there is no one in a better position to give you feedback than your target audience, the people you intend to reach.&lt;/p&gt;

&lt;h3&gt;
  
  
  Enjoy what you do:
&lt;/h3&gt;

&lt;p&gt;The only way to give your best at something is to show up and totally enjoy what you are doing and that includes being a Developer Relations Engineer. Whether you are writing, teaching, speaking at a conference or managing a community make sure to give it your best and completely enjoy it, you can achieve this by doing more research on whatever you are ought to deliver on and its in turn will make you confident.&lt;/p&gt;

&lt;p&gt;This article was inspired by a session taken by &lt;a href="https://twitter.com/TejasKumar_" rel="noopener noreferrer"&gt;Tejas Kumar&lt;/a&gt; at the DX Mentorship programme. He has a youtube channel where he shares insights on Developer Relations and a video I have enjoyed watching is this:&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/W7QXnRMjhH0"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>watercooler</category>
      <category>website</category>
    </item>
    <item>
      <title>How to Set up Tailwind with Vue 3</title>
      <dc:creator>Ifeoma</dc:creator>
      <pubDate>Sat, 17 Jul 2021 16:16:52 +0000</pubDate>
      <link>https://forem.com/ifeoma/how-to-set-up-tailwind-with-vue-3-2p1j</link>
      <guid>https://forem.com/ifeoma/how-to-set-up-tailwind-with-vue-3-2p1j</guid>
      <description>&lt;p&gt;This blog post addresses adding the Tailwind CSS framework to a Vue project. &lt;/p&gt;

&lt;p&gt;According to the &lt;a href="https://tailwindcss.com/docs" rel="noopener noreferrer"&gt;official Tailwind CSS documentation &lt;/a&gt; Tailwind CSS is a utility first framework for rapidly building custom user interfaces. Simply put, its a quick way to creating visually pleasing interfaces without having to write your own custom CSS and now we will be adding it to our Vue 3 project.&lt;/p&gt;

&lt;p&gt;If you aren't already in the project directory, you can navigate to it with the command :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd my-vue-project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;where &lt;em&gt;my-vue-project&lt;/em&gt; is the name of your project's folder&lt;/p&gt;

&lt;p&gt;then install Tailwind and its peer-dependencies :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;when you check the &lt;code&gt;package.json&lt;/code&gt; file in your project you should see this added to your dependencies&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@tailwindcss/postcss7-compat": "^2.2.4"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;it confirms that tailwind has now been added to your project, but that is not all with the set up.&lt;/p&gt;

&lt;p&gt;Next, we have to generate the configuration files for Tailwind and PostCSS :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx tailwindcss init -p

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;when you check your project files you'll notice two files have been added - &lt;br&gt;
&lt;code&gt;tailwind.config.js&lt;/code&gt; and &lt;code&gt;postcss.config.js&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;The config file &lt;code&gt;tailwind.config.js&lt;/code&gt; contains paths to components and pages of our application and it is in this file we also add customizations&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//tailwind.config.js

module.exports = {
  purge: [],
  darkMode: false, // or 'media' or 'class'
  theme: {
    extend: {},
  },
  variants: {
    extend: {},
  },
  plugins: [],
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Next, we will update the &lt;code&gt;purge&lt;/code&gt; property :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// tailwind.config.js

module.exports = {
 purge: [
    './src/**/*.html',
    './src/**/*.vue',
    './src/**/*.jsx',
  ],
  darkMode: false, // or 'media' or 'class'
  theme: {
    extend: {},
  },
  variants: {
    extend: {},
  },
  plugins: [],
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;What is happening here?&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;The &lt;code&gt;purge&lt;/code&gt; property just as the name denotes purges unused css styles which was generated by tailwind on installation, this does not in any way affect the styles by third party CSS used in your project. Check &lt;a href="https://tailwindcss.com/docs/optimizing-for-production" rel="noopener noreferrer"&gt;here&lt;/a&gt; to read up more about this.&lt;/p&gt;

&lt;p&gt;Next, Inside the &lt;code&gt;src&lt;/code&gt; folder we are going to create a subfolder called &lt;code&gt;styles&lt;/code&gt; and inside the &lt;code&gt;styles&lt;/code&gt; folder we create a file &lt;code&gt;tailwind.css&lt;/code&gt;, note that this file can be named however you deem fit, I use &lt;code&gt;tailwind.css&lt;/code&gt; here as it is more descriptive and you should also give it a descriptive name. Type this in your terminal :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mkdir src/styles &amp;amp;&amp;amp; touch src/styles/tailwind.css

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Another alternative to creating the subfolder is to create it in your code editor.&lt;/p&gt;

&lt;p&gt;Inside &lt;code&gt;tailwind.css&lt;/code&gt; add this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/* ./src/styles/tailwind.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;What is happening here ?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;We made use of the directive &lt;code&gt;@tailwind&lt;/code&gt;to import tailwind's styles. Now we have to import &lt;code&gt;tailwind.css&lt;/code&gt; into the &lt;code&gt;main.js&lt;/code&gt; file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { createApp } from 'vue';
import App from './App.vue';
import './styles/tailwind.css'; //Here

createApp(App).mount('#app');

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, let us create something simple using Tailwind. In the &lt;code&gt;App.vue&lt;/code&gt; file add this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;template&amp;gt;
  &amp;lt;div class="justify-center flex items-center bg-blue-500 h-screen"&amp;gt;
    &amp;lt;div class="text-4xl text-white"&amp;gt;
      This is Tailwind 🙂
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/template&amp;gt;

&amp;lt;script&amp;gt;
export default {
  name: 'App',
};
&amp;lt;/script&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is what should show up on your screen :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1625489494325%2FBapzoDy9Q.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%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1625489494325%2FBapzoDy9Q.png" alt="Screen Shot 2021-07-05 at 1.51.11 PM.png"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tailwindcss</category>
      <category>vue</category>
    </item>
    <item>
      <title>Nevertheless, Ifeoma Coded.</title>
      <dc:creator>Ifeoma</dc:creator>
      <pubDate>Tue, 03 Mar 2020 17:59:08 +0000</pubDate>
      <link>https://forem.com/ifeoma/nevertheless-ifeoma-coded-1ib7</link>
      <guid>https://forem.com/ifeoma/nevertheless-ifeoma-coded-1ib7</guid>
      <description>&lt;h1&gt;
  
  
  What Equality in tech means to me is ...
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/3lx8dhPAfFoUgXPPQa/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/3lx8dhPAfFoUgXPPQa/giphy.gif" alt="The future is equal!"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Equality in tech&lt;/strong&gt; is attending meetups without wondering if you would be the only woman in a room filled a hundred men, wondering if you would have to put up with a male speaker's sexist joke and the laughter from other men that follow after, then there is you looking around and wondering if no other person finds what the speaker said is wrong.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Equality in tech&lt;/strong&gt; is a colleague or a senior not looking down on you or doubting your capabilities mainly because your gender differs from his.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Equality in tech&lt;/strong&gt; is tech companies, offices and workspaces respecting the women in those spaces and making the environment feel like a safe space so that women can progress professionally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Equality in tech&lt;/strong&gt; is women being in spaces where they feel confident enough to express themselves without doubt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Equality in tech&lt;/strong&gt; is women speakers being given the same opportunity to speak as their male counterparts.&lt;/p&gt;

&lt;p&gt;This is what &lt;strong&gt;Equality in tech&lt;/strong&gt; means to me as a young woman who works in tech.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Happy International Women's Day! You are Awesome! 🎉&lt;/em&gt;&lt;/p&gt;

</description>
      <category>wecoded</category>
      <category>womenintech</category>
    </item>
  </channel>
</rss>
