<?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: SMAmmar</title>
    <description>The latest articles on DEV Community by SMAmmar (@smammar).</description>
    <link>https://dev.to/smammar</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%2F211786%2F1adf4c4a-85e8-4da0-9801-f4419974b7c6.JPG</url>
      <title>DEV Community: SMAmmar</title>
      <link>https://dev.to/smammar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/smammar"/>
    <language>en</language>
    <item>
      <title>Free to Use Form</title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Tue, 31 Mar 2020 10:30:54 +0000</pubDate>
      <link>https://dev.to/smammar/free-to-use-form-3573</link>
      <guid>https://dev.to/smammar/free-to-use-form-3573</guid>
      <description>&lt;p&gt;Hello Guys,&lt;br&gt;
I have decided to create and reuse opensource components.&lt;br&gt;
Here is the first step, I replicated Freecodecamp Survey Form and made it opensource.&lt;br&gt;
So if anyone of you people need a template survey form, feel free to use it :)&lt;br&gt;
Techstack:&lt;/p&gt;

&lt;h4&gt;
  
  
  HTML5
&lt;/h4&gt;

&lt;h4&gt;
  
  
  CSS3
&lt;/h4&gt;

&lt;p&gt;Link to Git Repository:&lt;br&gt;
&lt;a href="https://github.com/SMAmmar/survey_form"&gt;Survey Form&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;**Don't Forget to Contribute to the repo. Cheers!!&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>Advice Regarding Interview</title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Fri, 20 Mar 2020 07:16:47 +0000</pubDate>
      <link>https://dev.to/smammar/advice-regarding-interview-4m03</link>
      <guid>https://dev.to/smammar/advice-regarding-interview-4m03</guid>
      <description>&lt;p&gt;Hello Devians,&lt;br&gt;
I am a final year student and have an Interview Tomorrow.The position that I am being offered is a Software Engineer Intern.For that reason, I want the help and advice of DEVIAN's as to what things to skim and what kind of questions can I be asked.&lt;/p&gt;

</description>
      <category>interview</category>
      <category>help</category>
      <category>internship</category>
    </item>
    <item>
      <title>Free to use Portfolio</title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Thu, 02 Jan 2020 16:24:20 +0000</pubDate>
      <link>https://dev.to/smammar/free-to-use-portfolio-526a</link>
      <guid>https://dev.to/smammar/free-to-use-portfolio-526a</guid>
      <description>&lt;p&gt;Hello Fellow Devians,&lt;br&gt;
I have created a website portfolio, which is fully opensource.&lt;br&gt;
Now I want to share it with developers who need a boilerplate for their portfolios.&lt;/p&gt;

&lt;h2&gt;
  
  
  Also I was looking for helpers, who could help me make it look more better and friendly. The portfolio is free to constructive criticism.
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Hosted Version
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://smammar.github.io/my_portfolio/"&gt;https://smammar.github.io/my_portfolio/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Github repository
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/SMAmmar/my_portfolio"&gt;https://github.com/SMAmmar/my_portfolio&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Looking forward to your suggestions and contributions :)&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>help</category>
      <category>design</category>
      <category>contributorswanted</category>
    </item>
    <item>
      <title>Improving Web Portfolio</title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Sat, 28 Dec 2019 10:34:33 +0000</pubDate>
      <link>https://dev.to/smammar/improving-web-portfolio-55kb</link>
      <guid>https://dev.to/smammar/improving-web-portfolio-55kb</guid>
      <description>&lt;p&gt;Hello guys, I just created this portfolio recently. The issue I am facing is that when you click the hamburger icon, a portrait overlay should appear on the left-hand side, but it is not showing.&lt;br&gt;
I would like the help of my fellow DEVIAN's.&lt;br&gt;
Here is the link to my Github repository.&lt;br&gt;
&lt;a href="https://github.com/SMAmmar/my_portfolio"&gt;https://github.com/SMAmmar/my_portfolio&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here is the deployed version link&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://smammar.github.io/my_portfolio/"&gt;https://smammar.github.io/my_portfolio/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>portfolio</category>
      <category>css</category>
      <category>saas</category>
      <category>help</category>
    </item>
    <item>
      <title>Python to React</title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Sat, 23 Nov 2019 07:22:44 +0000</pubDate>
      <link>https://dev.to/smammar/python-to-react-51a0</link>
      <guid>https://dev.to/smammar/python-to-react-51a0</guid>
      <description>&lt;p&gt;Hello guys&lt;br&gt;
I have performed sentiment analysis in python using Vader library,but now I want to send this data to react front end.&lt;br&gt;
How can I do it ?&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>help</category>
      <category>react</category>
      <category>python</category>
    </item>
    <item>
      <title>The REACT SHOW , Chapter1: Introduction</title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Wed, 06 Nov 2019 07:29:01 +0000</pubDate>
      <link>https://dev.to/smammar/the-react-show-chapter1-introduction-2cb6</link>
      <guid>https://dev.to/smammar/the-react-show-chapter1-introduction-2cb6</guid>
      <description>&lt;p&gt;Hello Guys, My name is Syed Mohammad Ammar but you guys can call me Ammar.&lt;/p&gt;

&lt;p&gt;So As promised I am here with the first series of our REACT tutorials.&lt;br&gt;
So now I will be giving you a plan, as to how I am going to follow up on these tutorials.&lt;/p&gt;

&lt;h6&gt;
  
  
  1. The Basic React Concept Series
&lt;/h6&gt;

&lt;h6&gt;
  
  
  2. A small React project which will implement the concepts
&lt;/h6&gt;

&lt;h6&gt;
  
  
  3. A Large Project ,covering the advance React concepts.
&lt;/h6&gt;

&lt;p&gt;So let's get started without wasting any time.&lt;/p&gt;

&lt;p&gt;The first question that will come into the minds of many learners would be&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is React ?&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;React is a JavaScript library for building user interfaces. It is maintained by Facebook and a community of individual developers and companies. React can be used as a base in the development of single-page or mobile applications, as it is optimal for fetching rapidly changing data that needs to be recorded.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Next, thing that would come in mind is,to &lt;/p&gt;

&lt;h2&gt;
  
  
  Why pursue React?##
&lt;/h2&gt;

&lt;p&gt;I will be giving 9 reasons. Why I consider as React my goto option as a Javascript Extension for frontend.&lt;/p&gt;

&lt;p&gt;1.&lt;strong&gt;Facebook built it&lt;/strong&gt;&lt;br&gt;
The fact that they created React should immediately lend credibility to the library.&lt;/p&gt;

&lt;p&gt;2.&lt;strong&gt;Most loved frameworks, libraries, and technologies being used today&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jfS1QJbo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/s8lmv6jk9xaxyjf1wvo0.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jfS1QJbo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/s8lmv6jk9xaxyjf1wvo0.PNG" alt="Stack Overflow Developer Survey 2019"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h6&gt;
  
  
  Stack Overflow Developer Survey 2019
&lt;/h6&gt;

&lt;p&gt;3.&lt;strong&gt;It can be used to produce any type of web applications, native mobile apps, command-line interfaces, avionics and much more.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;4.&lt;strong&gt;It allows developers to write their apps within JavaScript. JSX is one of the greatest features that not only makes ReactJS easy but fun too. Developers can easily make a new UI feature and see it appear in real-time. It brings HTML directly into your JS.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;5.&lt;strong&gt;React is capable of building any complex UI keeping state out of the DOM. React employs a Virtual DOM that ensures maximum efficiency by only re-rendering nodes whenever it is required.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;6.&lt;strong&gt;On performance, the assessment reveals that ReactJS yields better performance. AngularJS becomes relatively slow when there are very many users because anything in its scope changes. Besides, the digest cycle in AngularJS requires running multiple times before stabilizing if a user triggers an update. ReactJS does not experience this issue because it has a dependency tracking system that uses an async queuing. Though after the arrival of Angular 4, the Angular community has improved this to a lot better extent.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;7.&lt;strong&gt;Everything in ReactJS is JS. Every HTML structure is expressed through JSX while the latest trends add CSS management inside JS as well.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;8.&lt;strong&gt;For a new developer to get started with ReactJS, the learning step is less steep compared to AngularJS. One only needs to get familiar with JS and HTML in the case of ReactJS. However, learning AngularJS is a lengthy process that requires following very many concepts. Less experienced developers often find it very difficult to get started with AngularJS compared to ReactJS.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;9.&lt;strong&gt;Though there is a little dependency, ReactJS makes it easy to import components. Also, it is very good for JS debugging.&lt;/strong&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Here's another comparison of ReactJS with other frameworks and libraries.
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--u8xXmue---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/4v7mxddrksbfjzmy38ve.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--u8xXmue---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/4v7mxddrksbfjzmy38ve.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Future of React!
&lt;/h4&gt;

&lt;p&gt;In the arena of technology, Companies and developers are always looking for better methods of giving their businesses a competitive advantage. One great technology for helping enterprises to outdo their competitors when creating web apps is ReactJS.&lt;br&gt;
ReactJS allows enterprises to craft apps with better UI to enhance user experiences. &lt;br&gt;
Businesses that use ReactJS are assured of better performance compared to those that use other frameworks. Because ReactJS helps to prevent updating of DOM, it means that the apps will be faster and deliver better UX.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;So I hope I had ignited the curiosity for learning React.&lt;br&gt;
I will meet you guys in the next part with the basic concepts of React.js&lt;br&gt;
&lt;strong&gt;So stay tuned to the REACT SHOW&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>react</category>
      <category>javascript</category>
      <category>redux</category>
    </item>
    <item>
      <title>Need a Suggestion</title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Tue, 05 Nov 2019 17:37:16 +0000</pubDate>
      <link>https://dev.to/smammar/need-a-suggestion-3of6</link>
      <guid>https://dev.to/smammar/need-a-suggestion-3of6</guid>
      <description>&lt;p&gt;Hey Guys,&lt;br&gt;
I have started learning React, and want to have a better learning experience with the developer community also. Therefore I am deciding on creating a React Tutorial Series here on DEV, where I will be explaining each React concept in detail, though I will also be learning at the same time. Also will be sharing some cool resources that will help in enhancing the React skills.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;So I just wanted the green signal from my beloved DEVIAN's if they will support  me in my cause?&lt;/strong&gt;&lt;/p&gt;

&lt;h6&gt;
  
  
  Cover Image: Photo by Emily Morter on Unsplash
&lt;/h6&gt;

</description>
      <category>react</category>
      <category>tutorial</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Why go for SASS </title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Thu, 31 Oct 2019 12:26:40 +0000</pubDate>
      <link>https://dev.to/smammar/why-go-for-sass-15ek</link>
      <guid>https://dev.to/smammar/why-go-for-sass-15ek</guid>
      <description>&lt;p&gt;If you are new to web design you must have heard the term of CSS preprocessors such as SASS, or LESS. Today in this article we are going to discuss the SASS preprocessor.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are Preprocessors?&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;A program or tool that has its Syntax which gets compiled later into CSS code.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A Preprocessor has its own clean and easy to write CSS code for developers. Then when you want to use the Preprocessor code you convert it into standard CSS code, as the Browser doesn't understand the Preprocessor syntax. Some popular CSS Preprocessors are SASS, LESS, and Stylus.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lsy3zCAx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/549kc7yqpu83glbtl2ck.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lsy3zCAx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/549kc7yqpu83glbtl2ck.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Choose SASS over others&lt;/strong&gt;&lt;br&gt;
First and foremost is the usage of the awesome Compass library, that SASS offers. As it is regularly maintained and contributed by a large online community.Features that Compass offer is dynamic map generation, legacy browser hacks and cross-browser support for CSS3 features&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;So what is SASS?&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--y3GQhxiK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/owzg3k6ta4itnd1hsygl.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--y3GQhxiK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/owzg3k6ta4itnd1hsygl.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
SASS is one of the most popular and widely used Preprocessor. It helps the developer in writing a more clean and better CSS3 code version. For further details, you can visit their website&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://sass-lang.com/"&gt;Reference: SASS official website&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;FEATURE#1: Variables&lt;/em&gt;&lt;br&gt;
Numerous CSS classes can contain the same rule in a Project. For example, there are 10 rectangles to be used on our page with different background colors.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;.rectangle-1 {&lt;br&gt;
   width: 100px;&lt;br&gt;
   height: 100px;&lt;br&gt;
   background: green; &lt;br&gt;
}&lt;br&gt;
.rectangle-2 {&lt;br&gt;
   width: 100px;&lt;br&gt;
   height: 100px;&lt;br&gt;
   background: purple; &lt;br&gt;
}&lt;br&gt;
.............&lt;br&gt;
.rectangle-10 {&lt;br&gt;
   width: 100px;&lt;br&gt;
   height: 100px;&lt;br&gt;
   background: orange; &lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;But after some, there's come's a change requirement from the Client-side, and now he wants 50 of these rectangles. Writing in CSS3 would be a lot of pain for any developer, as he has to replicate the same code 50 times thus increasing the redundancy.&lt;br&gt;
So here comes the use of CSS Preprocessors.&lt;br&gt;
Sass provides a solution:&lt;strong&gt;variables&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Returning to our example&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$rectangle-width: 100px;&lt;br&gt;
   $rectangle-height: 100px;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Later when a change is needed, only we have to change the variable values instead of changing the values in each code block.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$rectangle-width: 200px;     // changed from 100px to 200px&lt;br&gt;
   $rectangle-height: 200px;    // that's all!&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;



&lt;p&gt;&lt;code&gt;.rectangle-1 {&lt;br&gt;
   width: $box-width;  // using variables now instead of pixels&lt;br&gt;
   height: $box-height;&lt;br&gt;
   background: green; &lt;br&gt;
}&lt;br&gt;
.rectangle-2 {&lt;br&gt;
   width: $box-width;&lt;br&gt;
   height: $box-height;&lt;br&gt;
   background: purple; &lt;br&gt;
}&lt;br&gt;
......&lt;br&gt;
.rectangle-50 {&lt;br&gt;
   width: $box-width;&lt;br&gt;
   height: $box-height;&lt;br&gt;
   background: orange; &lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;CSS also supports variables but older browser versions,and Internet explorer doesn't support it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Xquzf-pm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/5hx2ax50aiqaz7khp5yx.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Xquzf-pm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/5hx2ax50aiqaz7khp5yx.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;FEATURE#2: Nesting&lt;/em&gt;&lt;br&gt;
The CSS3 does not support nesting. Therefore we can not write a class within a class. As the project starts to get larger and larger readability problem arises, and the structure of code is also disrupted.&lt;br&gt;
Here's a sample code of Navigation Bar which we are going to use as the example here.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qMgnX2r4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/4c5iecverdushlcj9673.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qMgnX2r4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/4c5iecverdushlcj9673.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;HTML5 supports nesting, but in CSS3 we can not do nesting, therefore, the respective CSS code is like.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;nav ul{ margin: 0;&lt;br&gt;
           padding: 0;&lt;br&gt;
         }&lt;br&gt;
   nav li{ display: inline-block;}&lt;br&gt;
   nav a { display: block;&lt;br&gt;
           padding: 5px 10px;&lt;br&gt;
           color: black;}&lt;br&gt;
   nav a:hover{ color: blue;&lt;br&gt;
                cursor: pointer;&lt;br&gt;
               }&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;We have to repeat &lt;strong&gt;nav&lt;/strong&gt; every time while defining the CSS for each tag. However, SASS solves this issue as it provides nesting.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2r-XJLQ6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/7qd5b2ek3uio78msw4oy.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2r-XJLQ6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/7qd5b2ek3uio78msw4oy.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The above image is the CSS code converted into SASS syntax. Here you can see the code is properly structured and looks more appealing to read. Also, redundancy is removed.&lt;/p&gt;

&lt;h4&gt;
  
  
  It is not recommended to nest deeper than 3 levels
&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;FEATURE#3: Mixins&lt;/em&gt;&lt;br&gt;
What if we want to use multiple rules together.CSS fails over here, but then comes to rescue SASS who make use of mixins.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are mixins?&lt;/strong&gt;&lt;br&gt;
Mixins are Sass functions that group CSS declarations together. We can reuse them later like &lt;strong&gt;variables&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We can create a mixin with &lt;strong&gt;@mixin&lt;/strong&gt; command, followed by a name.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;@mixin mixin_font{&lt;br&gt;
        font-family: Arial, Monospace, Helvetica;&lt;br&gt;
        font-size: 12px;&lt;br&gt;
        }&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Or we can create a parameterised mixin function.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$font-color: blue;&lt;br&gt;
   @mixin mixin_font($font-color) {&lt;br&gt;
    font-family: Arial, Monospace, Helvetica;&lt;br&gt;
    font-size: 12px;&lt;br&gt;
    color: $font-color;}&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;After creating it we can use it any class.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;p{ @include mixin_font; }&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h4&gt;
  
  
  Making use of Mixin is a good practice to get rid of redundancy
&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;FEATURE#4: Imports&lt;/em&gt;&lt;br&gt;
The last feature that I like the most is &lt;strong&gt;Imports&lt;/strong&gt; as it creates chunks of large CSS files.This makes readability and maintainabiltly easier.Also it is fast as SASS does not require &lt;strong&gt;https request&lt;/strong&gt;,but CSS does &lt;strong&gt;need it&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;@import 'file';&lt;br&gt;
   @import 'File_1';&lt;br&gt;
.class {&lt;br&gt;
  // Code to go in here&lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We don't need to use &lt;em&gt;.scss&lt;/em&gt; extension in the file path.SASS is smart.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So these are the important features, I think that makes SASS the most popular CSS Preprocessor.&lt;/p&gt;

&lt;p&gt;I hope you find this article helpful. If there is something you don’t understand, comment your questions below. Also if you think I missed something do comment it down to.&lt;/p&gt;

</description>
      <category>css</category>
      <category>saas</category>
      <category>preprocessors</category>
      <category>design</category>
    </item>
    <item>
      <title>Design Pattern Series, Abstract Factory </title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Fri, 25 Oct 2019 17:31:39 +0000</pubDate>
      <link>https://dev.to/smammar/design-pattern-series-abstract-factory-141l</link>
      <guid>https://dev.to/smammar/design-pattern-series-abstract-factory-141l</guid>
      <description>&lt;p&gt;First all Hello fellow Devian's.This is my first series to write proper articles in the field of Design Patterns. So if I am wrong somewhere, please feel free to correct me in the comments section.&lt;/p&gt;

&lt;p&gt;I decided to create this series as a part of my learning journey. So ready to  start  the first one&lt;/p&gt;

&lt;p&gt;Abstract Factory Pattern is included in the Creational Design Pattern. As it provides an interface for creating families of related or dependent objects without specifying their concrete class. Abstract Factory Pattern is like a Factory design pattern (we will see this later in the series). Basically, Abstract Factory is a super-factory pattern, as it has another layer of abstraction over factory pattern.&lt;br&gt;
We can implement the Abstract Factory Pattern when objects tend to follow this kind of model. At runtime, the Abstract Factory is coupled with any concrete factory class which can create objects of the desired type.&lt;br&gt;
A little Sneak Peek into the Abstract Factory UML model:&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fitza5l85eptlgjuzssbz.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fitza5l85eptlgjuzssbz.png" alt="Alt Text"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Basic Terms used in UML:&lt;br&gt;
Client: Uses only Interface declared by Abstract factory and Abstract Product classes.&lt;br&gt;
Product: Defines a product object to be created by the corresponding concrete factory and implements the Abstract Product Interface.&lt;br&gt;
Concrete Factory: Implements the operations declared in the Abstract factory to create concrete Products.&lt;br&gt;
Abstract Factory: Declares an interface for operations that create abstract product objects. &lt;/p&gt;

&lt;p&gt;The gist of Abstract Factory Pattern:&lt;br&gt;
So Abstract factory just provides interfaces for creating families of related or dependent objects without specifying their concrete class.&lt;br&gt;
The client creates a concrete implementation of the abstract factory and then uses the generic interfaces to create concrete objects. Client doesn’t care about which concrete it gets from the Abstract factory. As it makes use of the general interfaces.&lt;/p&gt;

&lt;p&gt;Applicability:&lt;br&gt;
• A system should be independent of how its products are created, composed, and represented.&lt;br&gt;
• A system should be configured with one of the multiple families of products.&lt;br&gt;
• A family of related product objects is designed to be used together, and the designer must enforce it.&lt;br&gt;
• You want to provide the class library of products, and just want to reveal the interfaces, not their implementations.&lt;/p&gt;

&lt;p&gt;Pros:&lt;br&gt;
This pattern is successful when the client doesn’t know what exactly he/she wants to create.&lt;br&gt;
• Isolation of Concrete Classes, The pattern basically helps you control the classes of objects. Because a factory encapsulates the process of creating product objects. Thus, the client manipulates instances through their abstract interfaces.&lt;br&gt;
• Product families are exchanged very easily, The concrete factory class appears only once in an application, where it’s instantiated. This makes it easy to change the concrete factory an application uses.&lt;br&gt;
• Consistency should prevail among the products that are being created. As it’s important that an application use objects from only one family at a time. So the Abstract factory makes this task easier.&lt;/p&gt;

&lt;p&gt;Cons:&lt;br&gt;
• It’s difficult to support new kinds of products in the Abstract factory. That’s because Abstract factory interfaces fix the set of products that can be created. It is difficult to modify the whole architecture when a new product is added to the Abstract factory.  Supporting new kinds of products requires extending the factory interface, which involves changing the Abstract factory class and all its subclasses.&lt;/p&gt;

</description>
      <category>designpattern</category>
      <category>design</category>
    </item>
    <item>
      <title>How to be consistent with programming?</title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Sat, 05 Oct 2019 06:26:21 +0000</pubDate>
      <link>https://dev.to/smammar/how-to-be-consistent-with-programming-im1</link>
      <guid>https://dev.to/smammar/how-to-be-consistent-with-programming-im1</guid>
      <description>&lt;p&gt;Hey guys&lt;br&gt;
I have recently been into development progress, and am struggling a lot. But at the same time, I feel like these competitions like Hacktoberfest are really big motivations for a coder like me, who likes to keep things simple. As things get really tough my motivation level drops to zero, and after some time I lose interest in that problem. Then I move on to the next problem and leave the previous behind.&lt;br&gt;
After learning the basics,  when I try to dive into the complex part of let's say Javascript, React. I fail to do so.&lt;br&gt;
I was hoping Anybody from the community can help me out in this regard, like what things am I doing wrong, or my approach to solving the problem is entirely wrong.&lt;br&gt;
I would appreciate your people's precious guidelines and will welcome every harsh comment. So feel free to express yourself :)&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Does Xiomi redmi 7 supports Google AR core</title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Fri, 04 Oct 2019 18:12:03 +0000</pubDate>
      <link>https://dev.to/smammar/does-xiomi-redmi-7-supports-google-ar-core-2b83</link>
      <guid>https://dev.to/smammar/does-xiomi-redmi-7-supports-google-ar-core-2b83</guid>
      <description>&lt;p&gt;Can Xiomi Redmi 7 support Google AR core? I have checked the specs needed to run the AR core, and the phone has it. But it is not listed on supported devices section in Google AR documentation&lt;/p&gt;

</description>
      <category>android</category>
      <category>augmentedreality</category>
      <category>google</category>
      <category>xiomi</category>
    </item>
    <item>
      <title>How can I improve this flip card design </title>
      <dc:creator>SMAmmar</dc:creator>
      <pubDate>Thu, 15 Aug 2019 20:09:06 +0000</pubDate>
      <link>https://dev.to/smammar/how-can-i-improve-this-flip-card-design-435p</link>
      <guid>https://dev.to/smammar/how-can-i-improve-this-flip-card-design-435p</guid>
      <description>&lt;p&gt;Hello guys ,I am out of ideas for designing this flip card.I need help of people who can help me get better of this card.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://codepen.io/muhammad-ammar-the-bashful/pen/eYOJgVZ"&gt;https://codepen.io/muhammad-ammar-the-bashful/pen/eYOJgVZ&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Considering in mind that I have to design 120 of them and align them in a grid,so I want some cool ideas that,I can use on this card.&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
    </item>
  </channel>
</rss>
