<?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: khazifire</title>
    <description>The latest articles on DEV Community by khazifire (@khazifire).</description>
    <link>https://dev.to/khazifire</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%2F662875%2Fa2ea42ec-e0db-439c-87f8-e9902cce197d.webp</url>
      <title>DEV Community: khazifire</title>
      <link>https://dev.to/khazifire</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/khazifire"/>
    <language>en</language>
    <item>
      <title>Centering a div made easy with Tailwind CSS</title>
      <dc:creator>khazifire</dc:creator>
      <pubDate>Sat, 29 Jan 2022 16:54:33 +0000</pubDate>
      <link>https://dev.to/khazifire/centering-a-div-made-easy-with-tailwind-css-5ekj</link>
      <guid>https://dev.to/khazifire/centering-a-div-made-easy-with-tailwind-css-5ekj</guid>
      <description>&lt;p&gt;Somehow centering a div is a problem that most people face, especially beginners getting started with web development. I have been working with Tailwind CSS and I wanted to quickly show you how to center a div using Tailwind.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;We will be exploring two methods of centering a div with Tailwind CSS. There is no right and wrong choice, so feel free to use whichever method you feel most comfortable using. Lets dive in!&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Centering a div using Flex in Tailwind
&lt;/h2&gt;

&lt;p&gt;We will start by using flex to center a div vertically and horizontally on a page. But before that, if you have not integrated Tailwind within your html project, check my &lt;a href="https://dev.to/khazifire/how-to-add-tailwind-css-to-your-html-project-g66"&gt;previous article&lt;/a&gt; for a quick run through on how you can add tailwind to your html project.&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;div class="flex justify-center items-center h-screen"&amp;gt;
      Centered using flex
&amp;lt;/div&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;Lets break down what we just did:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Flex:&lt;/strong&gt; adds the CSS flex property (display:flex).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;justify-center:&lt;/strong&gt; used to center the div horizontally&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;items-center:&lt;/strong&gt; used to center the content vertically&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;h-screen:&lt;/strong&gt; not necessary but it sets the height of the div to 100vh (height:100vh).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That was easy right ? Lets move on to the second way of centering a div with Tailwind CSS.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Centering a div using Grid in Tailwind
&lt;/h2&gt;

&lt;p&gt;A second option of centering an html element is by using Grid. This approach is very similar to flex, but with a few changes.&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;div class="grid place-items-center h-screen"&amp;gt;
  Centered using Grid
&amp;lt;/div&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;Lets break down what we just did:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Grid:&lt;/strong&gt; give the element a CSS grid property (display:grid).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;place-items-center:&lt;/strong&gt; places grid items on the center of their grid areas &lt;a href="https://tailwindcss.com/docs/place-items" rel="noopener noreferrer"&gt;learn more&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;h-screen:&lt;/strong&gt; sets the height of the div to 100vh (height:100vh).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;I hope you can now center a div using either grid or flex😊. Thank you for reading. If you have any questions, feels free to reach me through twitter &lt;a href="https://twitter.com/khazifire" rel="noopener noreferrer"&gt;@khazifire&lt;/a&gt;. And don't forget to follow for more similar content.&lt;/p&gt;

</description>
      <category>tailwindcss</category>
      <category>html</category>
      <category>beginners</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How to add Tailwind CSS to your HTML project</title>
      <dc:creator>khazifire</dc:creator>
      <pubDate>Sun, 23 Jan 2022 15:02:10 +0000</pubDate>
      <link>https://dev.to/khazifire/how-to-add-tailwind-css-to-your-html-project-g66</link>
      <guid>https://dev.to/khazifire/how-to-add-tailwind-css-to-your-html-project-g66</guid>
      <description>&lt;p&gt;In this short article, you will learn how to create a simple HTML project using TailwindCSS.&lt;/p&gt;

&lt;h2&gt;
  
  
  What makes Tailwind great?
&lt;/h2&gt;

&lt;p&gt;Tailwinds makes life so much easier for people struggling with vanilla css. Tailwind provides low-level utility classes, that enables you to make unique designs without leaving your html file.  For more information read the &lt;a href="https://tailwindcss.com/" rel="noopener noreferrer"&gt;official documentation&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to add tailwind to your project?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Install Node
&lt;/h3&gt;

&lt;p&gt;Before installing tailwind, you need to have node installed on your computer. Node comes with a package manager (NPM) which is used to manage dependencies.&lt;/p&gt;

&lt;p&gt;To check if node is available on your computer, open a terminal and type these command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;node -v
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the case where node is missing from your computer, go to the official website of node and  &lt;a href="https://nodejs.org/" rel="noopener noreferrer"&gt;Download it&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Create a project
&lt;/h3&gt;

&lt;p&gt;To create a project we simply need to create a folder. Open a terminal on your computer and type the following commands:&lt;/p&gt;

&lt;p&gt;We will be creating our project on the desktop, the cd command is used to move between directories&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;cd Desktop
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The mkdir command is used to create a new directory, and in this case we are creating a new folder named tailwindProject&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;mkdir tailwindProject
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inside the folder we just created, we need to add a few more folders (src and styles folder)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;cd tailwindProject
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command creates two folder inside the tailwindProject directory&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;mkdir src styles
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. Installing Tailwind CSS using NPM
&lt;/h3&gt;

&lt;p&gt;In the terminal type this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;npm install -D tailwindcss
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tailwind comes with a configuration file used to customize tailwind theme; such as adding custom colors, fonts, and many other stuff. To create to tailwind config file, you simple need to run this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;npx tailwindcss init
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And then open your project with your favorite code editor. If you are using vscode, you can simply type this command in the terminal and it will automatically open your project&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;code .
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  4. Configure your template paths
&lt;/h3&gt;

&lt;p&gt;The configuration file is used to tell tailwind where to find template files which are using tailwind classes; this is important because tailwind uses that path to scan your html file for classes which will then be added to your style sheet.&lt;/p&gt;

&lt;p&gt;Inside your tailwind.config.js file, which was created in the step 3, add the path to your html files in the content. &lt;/p&gt;

&lt;p&gt;In my case all my html file will be stored in the src folder which was created in the previous steps.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;module&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;exports&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;./src/**/*.{html,js}&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
  &lt;span class="na"&gt;theme&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;extend&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="na"&gt;plugins&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;
  
  
  5. Add the Tailwind directives to your CSS
&lt;/h3&gt;

&lt;p&gt;Inside the styles folder, create a CSS file named tailwind.css or any name of your choice. And add the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@tailwind&lt;/span&gt; &lt;span class="n"&gt;base&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@tailwind&lt;/span&gt; &lt;span class="n"&gt;components&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@tailwind&lt;/span&gt; &lt;span class="n"&gt;utilities&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Apart from the directives of tailwind, you can also use that file to add any custom CSS.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Start the Tailwind CLI build process
&lt;/h3&gt;

&lt;p&gt;You are almost done, the next step involves building the css file containing utility classes.&lt;/p&gt;

&lt;h4&gt;
  
  
  6.1 Open package.json file
&lt;/h4&gt;

&lt;p&gt;And add the following script:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;scripts&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:{&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;dev&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;npx tailwindcss -i ./styles/tailwind.css -o ./styles/output.css --watch&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;},&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The above script uses the file containing the tailwind directives as an input, and create a css containing all the utility classes being used in the project. &lt;/p&gt;

&lt;h4&gt;
  
  
  6.2 Run the script
&lt;/h4&gt;

&lt;p&gt;Inside the terminal, type this command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;npm run dev
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In addition, that command will be used every time you start working on your project. &lt;/p&gt;

&lt;h3&gt;
  
  
  7. Start using Tailwind in your HTML
&lt;/h3&gt;

&lt;p&gt;Open the project in your favorite code editor and start writing some html code. Most importantly, don't forget to link the stylesheet to the output.css file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"en"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;charset=&lt;/span&gt;&lt;span class="s"&gt;"UTF-8"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;http-equiv=&lt;/span&gt;&lt;span class="s"&gt;"X-UA-Compatible"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"IE=edge"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1.0"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;link&lt;/span&gt;  &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"/styles/output.css"&lt;/span&gt; &lt;span class="na"&gt;rel=&lt;/span&gt;&lt;span class="s"&gt;"stylesheet"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Tailwind Starter&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"bg-gray-800"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"text-center mt-12"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;h1&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"text-4xl text-yellow-500 font-bold"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Heap Heap Arrayy!&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"text-xl text-white mt-4"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt; I have created my first html project using tailwind. &lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  8. Test it with live server
&lt;/h3&gt;

&lt;p&gt;Open your code in the browser, and check if everything works. If the css styles are not showing, then you probably missed a step. You can double check your file structure with the file i used in creation this tutorial &lt;a href="https://github.com/khazifire/tailwindStarter" rel="noopener noreferrer"&gt;TailwindProject&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Thank you for reading
&lt;/h3&gt;

&lt;p&gt;if you have any questions, feels free to reach me through twitter &lt;a href="https://twitter.com/khazifire" rel="noopener noreferrer"&gt;@khazifire&lt;/a&gt;. And don't forget to follow for more similar content.&lt;/p&gt;

</description>
      <category>tailwindcss</category>
      <category>css</category>
      <category>html</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How I built my design portfolio website from scratch using Tailwind and Nextjs?</title>
      <dc:creator>khazifire</dc:creator>
      <pubDate>Thu, 13 Jan 2022 04:20:37 +0000</pubDate>
      <link>https://dev.to/khazifire/how-i-built-my-design-portfolio-website-from-scratch-using-tailwind-and-nextjs-2ab3</link>
      <guid>https://dev.to/khazifire/how-i-built-my-design-portfolio-website-from-scratch-using-tailwind-and-nextjs-2ab3</guid>
      <description>&lt;p&gt;&lt;strong&gt;Outline:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;Introduction&lt;/li&gt;
    &lt;li&gt;Workflow and Tips
         &lt;ul&gt;
             &lt;li&gt;Planning&lt;/li&gt;
             &lt;li&gt;Designing&lt;/li&gt;
             &lt;li&gt;Feedback&lt;/li&gt;
             &lt;li&gt;Developing&lt;/li&gt;
             &lt;li&gt;Deploying&lt;/li&gt;
                              
         &lt;/ul&gt;
     &lt;/li&gt; 
     &lt;li&gt;Resources (tools I used)&lt;/li&gt;
     &lt;li&gt;Conclusion&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;I used my twitter account &lt;a href="https://twitter.com/khazifire" rel="noopener noreferrer"&gt;@khazifire &lt;/a&gt; to document the process of my portfolio design and development progress. And a few people reached out to me regarding the design (how I came up with the user interface), technicalities (what tools I used to make and build the portfolio), as well as the timeline (process) of my portfolio.&lt;/p&gt;

&lt;p&gt;In this blog, I will briefly explain my design process: starting with the planning (gathering information and brainstorming), the designing (creating user interface designs), the development (implementing the designs), and finally the deployment (publishing the website). In addition, I have also included some design tips which saved my life while I was building my portfolio 😂&lt;/p&gt;

&lt;h2&gt;
  
  
  Timeline
&lt;/h2&gt;

&lt;p&gt;A popular Swahili proverb says “Haraka haraka haina baraka”, meaning we should always be patient because rushing things may lead to major problems and complications. I was not in a rush while creating the website. I started designing my portfolio website in November 2021 but ended up realizing it was not coming up as I had previously expected. In December 2021, I discarded all that I had done and started from scratch with a clear and fresh mindset.&lt;/p&gt;

&lt;p&gt;I would spend a few hours each day working on my portfolio website since I was a bit free during my Christmas break. It took me 3 weeks to complete the entire project; 1 week was required to gather inspiration from other people's portfolio websites, and 2 weeks were spent designing and developing the project, where coding was done.&lt;/p&gt;

&lt;p&gt;That being said, let's now talk about how I developed my portfolio and the checklist I made for myself. I believe these steps will help you understand how I approached the entire project. Regardless of how you choose to build your portfolio, these steps and checklists should be applicable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Workflow (Process)
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Planning
&lt;/h3&gt;

&lt;p&gt;My first step in building my website was on the information I wanted to include on it. This included information found on various pages. The next step involved designing the navigation and Information Architecture (IA). Information Architecture is the process of bringing together different elements to create something understandable (how information is presented).&lt;/p&gt;

&lt;p&gt;I spent a couple of days gathering inspiration which prompted me to design a minimal website. Moreover, believe it or not, the reference for the home page was taken from the menu of old video games. After I decided on what to do, I made some rough sketches in Figma, and went on improving them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkhazifire.com%2F_next%2Fimage%3Furl%3D%252Fblog_img%252Finspiration1.png%26w%3D384%26q%3D75" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkhazifire.com%2F_next%2Fimage%3Furl%3D%252Fblog_img%252Finspiration1.png%26w%3D384%26q%3D75" alt="old screen from a video game" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The Designing
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Typeface:
&lt;/h4&gt;

&lt;p&gt;From my experience, typography is the most important element in designing, and choosing the typeface was the most important aspect while designing my portfolio website. I was looking for a monospace font which can easily be rendered, as well as used for listing code snippets. In addition, I also considered a typeface which has some old vibe feeling and brings us back to the past. After playing around with a few fonts, I ended up choosing Inconsolata.&lt;/p&gt;

&lt;h4&gt;
  
  
  Color:
&lt;/h4&gt;

&lt;p&gt;For most web designers and front-end developers, choosing color is one of the hardest aspects of designing. But it's not always that complicated, you can decide on colors to use after going through some color inspirations on websites like Coolors, ColorHunt, and many others. For my portfolio website, I chose a minimal design; As a result, all I had to do was find a color that goes well with black. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;(Design tip: don't use pure black in your design, use shades of black.) I choose to work with yellow, dark grey, greyish white, and a shade of black.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Icons and Images:
&lt;/h4&gt;

&lt;p&gt;Icons can be used to add more details to information and actions on a website. I aimed to use icons with a style that merges seamlessly with the typography I used on the website. All the icons used in this project were from Fontawesome. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;(Design tip: if you create your own icons, make sure they are exported as SVG. When developing it's easier to work with SVG than png, jpeg icons).&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In addition, if you include pictures, consider using high quality images in your design, you can use some of the tools such as Unsplash and Pexels to find free, non copyrighted images.&lt;/p&gt;

&lt;h4&gt;
  
  
  User Interface Design (Putting everything together):
&lt;/h4&gt;

&lt;p&gt;Once I decided on the typeface and color, I started working on the final design which was based on the sketches made while gathering inspirations. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;(Design tip: don't finalize your design after making it, finalize it the day after. Doing this helps you avoid making biased decisions).&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

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

&lt;p&gt;The web design I made was minimal and simple. I did not want to design something trendy for my website but rather classic and easy to use. After everything was done, I shared my designs on twitter and forwarded them to a few friends; so that they could look at it and share their thoughts on it. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;(Design tip: you can do this in any way that you are comfortable) .&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

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

&lt;h3&gt;
  
  
  The tools and technologies
&lt;/h3&gt;

&lt;p&gt;Ideally, you should choose development tools before designing; because in some cases you may not be able to implement certain designs with some tools. You can either use No-Code tools, such as Webflow, Wix,Weebly; or go the hard and challenging way and build your portfolio website from scratch.&lt;/p&gt;

&lt;p&gt;Being a web designer with some interests in frontend development and backend development, I accepted the challenge of developing everything from nothing. Creating the website from scratch was a challenging process yet remarkable and fun. I'm not saying it was easy, but it helped me learn the pain developers face when web designers make complicated designs (user interface).&lt;/p&gt;

&lt;p&gt;For the portfolio website, I used NextJs, a Javascript framework, TailwindCss, a utility first CSS framework, and Github, a version control system. NextJs was new to me, it took me a few hours and some research work to get the basics. So why did I use Nextjs: it has good features such as server-side rendering (renders pages on the server), has good documentation, lots of amazing YouTube tutorials (e.g Nextjs tutorial by The Net Ninja). Anyways, enough technical terms, I'm not a backend developer, so make sure to check the official site of Nextjs for a better explanation.&lt;/p&gt;

&lt;p&gt;Designing the website took me longer than implementing the design. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;(Design tip: designing (planning) before developing (coding) makes life so much easier since you end up coding while having a clear picture in mind).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;After the coding was done, I spent a few hours working on adding content, optimizing the SEO (search engine optimization which helps rank your website on search engines), meta description, and finally uploaded the favicon (the small icon that shows next to a website name)&lt;/p&gt;

&lt;h3&gt;
  
  
  The deployment
&lt;/h3&gt;

&lt;p&gt;I implemented all the necessary elements and fixed some minor errors. I finally hosted my website on Vercel (a platform that can be used to host static websites) and connected it with my custom domain name. Deploying the website was pretty interesting. I drowned in errors but learned my lesson. Before deployment, make sure you have no errors hanging around somewhere in your code.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Resources (tools and technologies)
&lt;/h2&gt;

&lt;p&gt;I used the following tools in the implementation of my website, and they are all free to use.&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;Planning: Pen &amp;amp; Paper, &lt;a href="https://www.figma.com/figjam/" rel="noopener noreferrer"&gt;Figjam&lt;/a&gt;
&lt;/li&gt;
    &lt;li&gt;Timeline&lt;/li&gt;
    &lt;li&gt;Design: &lt;a href="https://figma.com" rel="noopener noreferrer"&gt;Figma&lt;/a&gt;
        &lt;ul&gt;
            &lt;li&gt;Colors: &lt;a href="https://coolors.co/" rel="noopener noreferrer"&gt;coolors&lt;/a&gt;, &lt;a href="https://colorhunt.co/" rel="noopener noreferrer"&gt;Colorhunt&lt;/a&gt;
            &lt;/li&gt; 

            &lt;li&gt;Images: &lt;a href="https://unsplash.com/" rel="noopener noreferrer"&gt;Unsplash&lt;/a&gt;
            &lt;/li&gt;

            &lt;li&gt;Typeface: &lt;a href="https://fonts.google.com/specimen/Inconsolata#standard-styles" rel="noopener noreferrer"&gt;Inconsolata&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt; Icons: &lt;a href="https://fontawesome.com/" rel="noopener noreferrer"&gt;Fontawesome&lt;/a&gt;
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/li&gt; 
    &lt;li&gt;Development: &lt;a href="https://nextjs.org/" rel="noopener noreferrer"&gt;Nextjs&lt;/a&gt; + &lt;a href="https://tailwindcss.com/" rel="noopener noreferrer"&gt;TailwindCss&lt;/a&gt;
&lt;/li&gt;
    &lt;li&gt;Deployment: &lt;a href="https://github.com/" rel="noopener noreferrer"&gt;Github&lt;/a&gt; + &lt;a href="https://vercel.com/" rel="noopener noreferrer"&gt;Vercel&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Thank you for spending your time reading this article ♥. If you find this article useful, please consider sharing it on your social networks. I will be publishing more articles in the upcoming days. Please consider following me on Twitter &lt;a href="https://twitter.com/khazifire" rel="noopener noreferrer"&gt;@khazifire &lt;/a&gt;  for updates. If you have any questions feel free to contact me.&lt;/p&gt;

&lt;p&gt;The portfolio website is available here &lt;a href="https://khazifire.com" rel="noopener noreferrer"&gt;khazifire.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Better late than never, Happy New Year.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>portfolio</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>productivity</category>
    </item>
    <item>
      <title>The 4 Best Color Sites on the Internet for web developers</title>
      <dc:creator>khazifire</dc:creator>
      <pubDate>Thu, 05 Aug 2021 15:35:01 +0000</pubDate>
      <link>https://dev.to/khazifire/the-4-best-color-sites-on-the-internet-for-web-developers-5nk</link>
      <guid>https://dev.to/khazifire/the-4-best-color-sites-on-the-internet-for-web-developers-5nk</guid>
      <description>&lt;h4&gt;
  
  
  If you are a designer/web developer/etc, then you must know the pain of choosing colors.
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fv8sain1nfkhymy1cdsgc.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fv8sain1nfkhymy1cdsgc.gif" alt="crying" width="400" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;h2&gt;
  
  
  Color is a power which directly influences the soul. - Wassily Kandinsky
&lt;/h2&gt;
&lt;/blockquote&gt;

&lt;p&gt;Many people, including myself,  find it hard to choose colors. With endless options/various, picking the perfect color to use in your design or presentation is at times overwhelming and may even feel impossible.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkahv6nsocqhb8p1jsk2v.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkahv6nsocqhb8p1jsk2v.gif" alt="choosing" width="480" height="386"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  But why should you struggle when you can use these 4 free online tools.
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. &lt;a href="https://coolors.co" rel="noopener noreferrer"&gt;Coolors&lt;/a&gt;:
&lt;/h4&gt;

&lt;p&gt;Coolors is my favorite, allows you to create your color palette or get inspired by thousands of stunning color schemes. It's just perfect &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fd8sbiikfi068ti7rr0h5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fd8sbiikfi068ti7rr0h5.png" alt="image.png" width="800" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  2. &lt;a href="https://mycolor.space" rel="noopener noreferrer"&gt;My Color&lt;/a&gt; :
&lt;/h4&gt;

&lt;p&gt;We all have colors that we like, for example, I love dark tones. This tool generates color palates based on your favorite color, so if you like blue, it will generate colors that go alongside blue.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Firxz8e6rt0v4sbwtdjqm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Firxz8e6rt0v4sbwtdjqm.png" alt="image.png" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  3. &lt;a href="https://colorhunt.co" rel="noopener noreferrer"&gt;Color Hunt&lt;/a&gt;:
&lt;/h4&gt;

&lt;p&gt;Choosing colors is like a hunt, it's either you find the color you like or return empty-handed. This tool helps you discover the perfect palette for your next project and also inspires with new colors pallets each day&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F9k6eoecakf9pvirfwh4s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F9k6eoecakf9pvirfwh4s.png" alt="image.png" width="800" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  4. &lt;a href="http://colormind.io" rel="noopener noreferrer"&gt;ColorMind&lt;/a&gt;:
&lt;/h4&gt;

&lt;p&gt;This tool uses deep learning to generate color schemes, for example, you can even upload any picture of your choice, and it will generate color palates from that picture&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fjz9847elfnssszp98rh8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fjz9847elfnssszp98rh8.png" alt="image.png" width="680" height="367"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Summary:
&lt;/h2&gt;

&lt;p&gt;Choosing colors is hard, but its not impossible; by using the tools listed above, you will be able to find amazing colors to use in your project, presentations, designs, or anything that involves colors.&lt;/p&gt;

&lt;p&gt;Best of luck utilizing these free assets on your future visual communication projects or presentations.&lt;/p&gt;

&lt;p&gt;If you enjoyed this post, follow me on on &lt;a href="https://twitter.com/khazifire/" rel="noopener noreferrer"&gt;twitter&lt;/a&gt; for similar content. &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>productivity</category>
      <category>uiweekly</category>
      <category>design</category>
    </item>
  </channel>
</rss>
