<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Silvestar Bistrović on Medium]]></title>
        <description><![CDATA[Stories by Silvestar Bistrović on Medium]]></description>
        <link>https://medium.com/@malimirkeccita?source=rss-821762e31b6e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jX-yqGgIrWWylYXzYOuaxg.jpeg</url>
            <title>Stories by Silvestar Bistrović on Medium</title>
            <link>https://medium.com/@malimirkeccita?source=rss-821762e31b6e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:27:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@malimirkeccita/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[UI Dev Newsletter #26]]></title>
            <link>https://medium.com/@malimirkeccita/ui-dev-newsletter-26-95b27be822ec?source=rss-821762e31b6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/95b27be822ec</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Silvestar Bistrović]]></dc:creator>
            <pubDate>Wed, 14 Oct 2020 06:03:48 GMT</pubDate>
            <atom:updated>2020-10-14T06:03:48.533Z</atom:updated>
            <content:encoded><![CDATA[<ul><li><a href="https://bit.ly/33MoXHi">The Widening Responsibility for Front-End Developers</a><br>Chris Coyier covers all aspects of the front-end developer role in great detail.</li><li><a href="https://bit.ly/33O8HFN">:focus-visible Is Here</a><br>Matthias Ott explains how to use a new CSS feature, :focus-visible, including JavaScript polyfill.</li><li><a href="https://bit.ly/3nEofDV">Full-Bleed Layout Using CSS Grid</a><br>Josh Comeau shows an elegant solution to make a tricky modern layout using CSS grid.</li><li><a href="https://bit.ly/3jQ0LcN">How to Make an Unobtrusive Scroll-to-Top Button</a><br>Marcel Rojas shows three different JavaScript methods on how to reveal a “scroll-to-top” button.</li><li><a href="https://bit.ly/3iQzGVm">How to Detect When a Sticky Element Gets Pinned</a><br>David Walsh shows how to determine when an element becomes sticky.</li><li><a href="https://bit.ly/3nI9W1o">Webpack 5 release</a><br>Webpack releases a new version which contains architectural improvements and new features.</li><li><a href="https://bit.ly/3dm0J9Z">Beautiful CSS 3D Transform Examples</a><br>Polypane showcases CSS 3D transforms which create depth and visually interesting elements on your page using perspective.</li><li><a href="https://bit.ly/2GZ0VQE">How One Guy Ruined #Hacktoberfest2020 #Drama</a><br>Joel Thoms writes about a flood of low quality PR spam.</li></ul><p>Happy coding!</p><p><a href="https://bit.ly/34155z3">Subscribe to the newsletter here!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95b27be822ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Third Year Of Freelancing]]></title>
            <link>https://medium.com/@malimirkeccita/my-third-year-of-freelancing-b72301fe3264?source=rss-821762e31b6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b72301fe3264</guid>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[careers]]></category>
            <dc:creator><![CDATA[Silvestar Bistrović]]></dc:creator>
            <pubDate>Mon, 08 Jun 2020 11:52:13 GMT</pubDate>
            <atom:updated>2020-06-08T11:52:50.350Z</atom:updated>
            <content:encoded><![CDATA[<h4>Freelance Insights</h4><h4>Read the freelancing report including clients and tasks analysis.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WkClz7yzcRSEsaMs9kIgyQ.jpeg" /></figure><p>It is time for another yearly overview of my freelancing career: the third year.</p><p>You could read the report on my <a href="https://develop.silvestar.codes/articles/my-first-year-of-freelancing/">first</a> and <a href="https://develop.silvestar.codes/articles/my-second-year-of-freelancing/">second</a> year, too.</p><h3>CLIENTS</h3><p>During the last year, I have been working with four clients on multiple projects. The clients contacted me via:</p><ul><li><a href="https://www.toptal.com/#trust-nothing-but-brilliant-freelancers">Toptal</a>,</li><li>recommendations, and</li><li>my website.</li></ul><p>All clients but one had more than one project where they needed my expertise.</p><p>Only one client came from Europe, Germany, while others came from the United States. I have a continuous agreement with all my clients. Some clients need my services more often, some only a few times a year. The important thing is that my schedule is almost always full, with very few windows opened for new opportunities.</p><h3>TASKS AND ASSIGNMENTS</h3><p>The tasks for the last year could be summarized in two main categories:</p><ul><li>user interface development, and</li><li>page speed optimizations.</li></ul><p>User interface development assumes the following tasks:</p><ul><li>building and maintaining styleguides,</li><li>developing reusable components,</li><li>creating layouts and templates,</li><li>converting designs to pages, and</li><li>creating user interface animations.</li></ul><p>Page speed optimizations assume the following tasks:</p><ul><li>optimizing CSS delivery by extracting Critical CSS and purifying the unused CSS code,</li><li>optimizing JavaScript delivery by deferring and optimizing the JavaScript code,</li><li>minifying the code, including HTML, CSS and JavaScript,</li><li>optimizing and compressing images,</li><li>optimizing font delivery, and</li><li>improving scores by applying the best practices.</li></ul><p>I realized that I don’t have a preference for technology stack. I have been working on the following stacks:</p><ul><li>WordPress/WPengine,</li><li>Shopify,</li><li>Jekyll/Netlify/Netlify CMS, and</li><li>Hugo/Netlify/Netlify CMS.</li></ul><p>If the project is frontend related, I am quite positive I could work on it as long as it is not a JavaScript-heavy application.</p><h3>SIDE PROJECTS</h3><p>Last year I published two side projects:</p><ul><li>Code Line Daily, and</li><li>The UI Development Mentoring Program.</li></ul><p><a href="https://cld.silvestar.codes/">Code Line Daily</a> is a website dedicated to a single line of code that produces stunning results. The lines are mostly PHP, JavaScript, CSS, and HTML code. It is also available as a <a href="https://chrome.google.com/webstore/detail/code-line-daily/jfgojeolhopchbgfdgodicnaimmkbpbg">Chrome extension</a>, and it has an open API, which I used to develop a small widget on my <a href="https://develop.silvestar.codes/">homepage</a>.</p><blockquote><em>As I am getting older, I appreciate the time away from the computer more, and I am trying to work on side projects only during my “office time”.</em></blockquote><p><a href="https://mentor.silvestar.codes/">The UI Development Mentoring Program</a> is a new initiative in which I am trying to help beginners to get better in UI development. Besides the mentoring part, you could find other useful sources on the site, like <a href="https://mentor.silvestar.codes/resources">learning resources</a> and <a href="https://mentor.silvestar.codes/reads">daily reads</a>. You could <a href="https://mentor.silvestar.codes/reads#newsletter">subscribe to the newsletter</a>, too. The newsletter contains hand-picked frontend and UI articles and tools.</p><p>I am still maintaining my other projects like <a href="https://www.npmjs.com/package/starter-project">Starter Project</a> and <a href="https://www.npmjs.com/package/starter-project-cli">Starter Project CLI</a>. I am utilizing these to make development easier for myself on both client’s and personal projects, no matter which platform is in use.</p><p>Working on side projects is like a hobby for me. I like to get away from the client’s projects and play around with my projects instead. As I am getting older, I appreciate the time away from the computer more, and I am trying to work on side projects only during my “office time”.</p><h3>REMOTE WORKING</h3><p>Having multiple clients at the same time could often involve difficulties with time management and organization. It is essential to organize your time, but there is one other critical aspect: <em>communication</em>.</p><p>Whenever I start a new engagement, I tend to communicate the preferred way of working on a project. It is vital to establish trust from the very beginning. That way, my clients know all about my working habits and my preferred method of working.</p><p>For example, I like to establish an agreement that all tasks will be resolved within 24 hours period. If I am blocked within that time, I usually send my client an email or a message announcing what is blocking me — that way, the client respects my time and could plan tasks according to my schedule.</p><blockquote><em>It is vital to establish trust from the very beginning. That way, my clients know all about my working habits and my preferred method of working.</em></blockquote><p>Another example of honest communication is when one client decides to do a significant update or a whole new project. In that case, I inform all other clients that my availability will be decreased for that period. That is often communicated at least a couple of weeks in advance. Again, other clients usually respect my availability and plan the tasks accordingly.</p><p>I never hide the fact that I am working with other clients. I am always very open, and all my clients respect that. If I have a problem or concern, I usually communicate it very early because I want to resolve it sooner rather than later.</p><h3>PROBLEMS</h3><p>During the last year, I got a significant amount of job offers, and I rejected a lot of them. Some proposals came via professional networks like <a href="https://www.linkedin.com/in/starbist/">LinkedIn</a>, and some came directly from my site.</p><p>There are two significant reasons for rejecting an offer:</p><ul><li>uneducated recruiters who don’t understand my profile and skillset,</li><li>client disagreement.</li></ul><p>The first reason lies in the fact that recruiters are not adequately educated about <a href="https://css-tricks.com/the-great-divide/">the Great (Frontend) Divide</a>. I understand that React is a hot requirement these days and everybody works with it, but I don’t.</p><p>I don’t:</p><ul><li>develop applications,</li><li>use React,</li><li>use TypeScript, or</li><li>think React nor TypeScript should on every job posting.</li></ul><p>I do:</p><ul><li>develop websites,</li><li>use Vanilla JavaScript, and</li><li>think React is overused.</li></ul><blockquote><em>I like to think that I am fair, and I give every client a chance to convince me why I should work on their project.</em></blockquote><p>The other reason why I reject proposals is that the client and I are not fit. Here are the most common reasons:</p><ul><li>I am not too fond of the project, and</li><li>I am not too fond of the client.</li></ul><p>Here is the example of the project I am not too fond of: optimize WordPress site built with page builders.</p><p>Here is the example of the client I am not too fond of: could you make a landing page within one day.</p><p>Other reasons are mostly disagreements about the rate or estimation.</p><p>I like to think that I am fair, and I give every client a chance to convince me why I should work on their project. The problem emerges when the client feels the other way around — that I should persuade him/her to work on their project. When this happens, I know the communication would be the problem, so I avoid these clients.</p><h3>CONCLUSION</h3><p>My third year of freelancing is undoubtedly the most successful one. With my family expanded by a new member, I managed to dedicate my time to work on high-quality projects like <a href="https://develop.silvestar.codes/portfolio/westwing/">Westwing</a>, <a href="https://develop.silvestar.codes/portfolio/creditcardinsider/">Credit Card Insider</a>, <a href="https://develop.silvestar.codes/portfolio/huggable/">Huggable</a> and <a href="https://develop.silvestar.codes/portfolio/dominodatalab/">Domino Data Lab</a>. All thanks to honest and open communication, quality time management and support from my family.</p><p><em>Originally published at </em><a href="https://www.silvestar.codes/articles/my-third-year-of-freelancing/"><em>https://www.silvestar.codes</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b72301fe3264" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tips On Learning Web Development]]></title>
            <link>https://medium.com/@malimirkeccita/tips-on-learning-web-development-434a88300028?source=rss-821762e31b6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/434a88300028</guid>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Silvestar Bistrović]]></dc:creator>
            <pubDate>Wed, 27 May 2020 19:54:23 GMT</pubDate>
            <atom:updated>2020-05-27T19:54:23.896Z</atom:updated>
            <content:encoded><![CDATA[<h4>WEB DEVELOPMENT</h4><h4>Just a few tips for beginner web developers</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QTR_Avoz87ac-CMxWiiW8Q.jpeg" /></figure><p>A couple of years ago, I wrote an article about called <a href="https://www.silvestar.codes/articles/modern-frontend-developer-skills-and-tools/">“The essential skill of a developer”</a>. That particular skill is <strong>learning</strong> or the need to continue learning new things. Some people noted this is not a revolutionary conclusion or a breakthrough. It isn’t, indeed, but I do believe learning is the essential skill for every developer.</p><p>If you are a beginner, where would you begin these days? Would you learn backend, frontend, PHP, NodeJS, React, JavaScript, CSS, Sass? Would you watch courses, read books or articles, would you take classes or go to boot camps?</p><p>There are so many choices these days, and I believe some people might be overwhelmed and discouraged at the beginning. I got some ideas about how to start and where to begin, especially if you are interested in the frontend user interface development.</p><h3>Learn The Basics</h3><p>I noticed a lot of people are confused about the basics: the servers, the databases, the client, the browsers. As a web developer, your responsibility is:</p><ul><li>to know where the data is stored,</li><li>how to fetch it,</li><li>how to bring it to the browser, and</li><li>how to optimize asset delivery.</li></ul><p>Take your time and learn how the Internet works. Don’t skip steps; try to understand everything from DNS to browser engines. You don’t have to know every detail, though, stick to the basics.</p><p>Without this knowledge, you might be in a situation when you node your head during the conversation but you don’t understand the half of it. That might lead to missing the vital part of the interview or a meeting.</p><h3>Stick to the plan</h3><p>Choosing the right path might be a difficult task, especially when starting. If you are good with math, you might want to solve problems with backend technologies. If you are more of an esthetic type, you might want to create layouts and templates with frontend technologies. That is the major development divide, but the modern development path has so many options, so it is up to you to discover what you enjoy the most.</p><p>If you look at the <a href="https://github.com/kamranahmedse/developer-roadmap">Developer Roadmap</a>, you might be overwhelmed at first. I suggest you take a long look at these graphs and try to figure out what attracts you the most. Once you decide which way to go, try to stick with it. At least, try not to roam outside of that area to much.</p><h3>Master the skill</h3><p>When you start learning, you might be quite overwhelmed by the number of new terminologies. That might lead to major loss of track, but that is something that you would fight with all the time anyway. I still find myself reading the fifth article when I only wanted to read one.</p><p>You might want to make a list or a plan or a schedule to avoid wasting time as much as possible. A simple schedule or Trello board could help you focus on getting there, especially if you set up deadlines for yourself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q0g190ax_U-JQtLj-6xFlQ.jpeg" /><figcaption><em>Image Credit: </em><a href="https://unsplash.com/photos/26MJGnCM0Wc"><em>Kaleidico on Unsplash</em></a></figcaption></figure><p>Following courses or tutorials is a challenge, but writing code alongside might be even more challenging. You might be tempted to copy-paste the code, but that could turn out to be a devastating decision. If you copy-paste the code, you won’t learn anything. Even worse, you might not even understand how it works. That might have severe consequences in the future, like overpromise and providing incorrect estimates to your client or boss, which might affect your reputation or even a job.</p><p>The best way to learn is to type every word. Understanding every line and getting familiar with the code is useful not only to make the code work but also for finding bugs and fixing problems.</p><h3>Stay focused</h3><p>As I stated at the beginning of the article, learning is essential for every developer. It is ok to read about shiny new techniques and tools, but don’t immediately stick with it and try to implement it into your projects. Old, stable, well-documented systems should be your first choice, mostly. The new and shiny might be exciting, but it may be a problem to solve problems and bugs along the way.</p><p>However, if you want to implement new finding into your project, consider writing about it. You might even discover something new that might help others. Either way, it would be a good exercise for you, as you will learn a new thing, and for others, as they could use your knowledge to implement the same thing quickly.</p><h3>Stay up-to-date</h3><p>The above advice might seem contradictor to this one, but it is not. Reading about new and shiny things is an excellent way to find out about new possibilities to understand where the industry is heading. If you like to be more engaged with the community, you should consider sharing your thoughts by commenting on the posts or engaging on social networks. There are also a lot of closed communities, like Slack communities, where you might find a lot of interesting reads and bits of advice.</p><h3>Think, organize, and then code</h3><p>If you are a beginner, you might never see a specification or design for the project. You will probably immediately jump straight to coding. Before you do, you should learn about project management, and try to manage your projects like a professional.</p><p>Learn to use tools, try to break the project into phases and tasks, and try to define deadlines. You might be surprised how much easier it is to code when you predicted the problems at the beginning. These predictions would get better as you gain more experience.</p><p>One other thing: don’t feel guilty if you don’t follow the project tasks and deadlines strictly, especially if you are the only one on the project. Consider these rules as guidelines, not strict rules.</p><h3>Find a tutor</h3><p>If you could find a person, a mentor, who could guide you along your journey, you might skip a few steps. The mentor might give you career advice, help you with the project or guide you when you are in doubt.</p><p>Take advantage of this opportunity, and don’t hesitate to ask a lot of questions or talk about the problems and possible solutions. Every mentor likes thirsty mentees who wish to prove themselves.</p><h3>Conclusion</h3><p>If you want to learn or improve your Frontend or User Interface skills like HTML, CSS, or JavaScript, I might be able to guide you as I started <a href="https://mentor.silvestar.codes/">The UI Development Mentoring Program</a> this year. You could <a href="https://mentor.silvestar.codes/apply/">apply to become a mentee</a>, or you could <a href="https://mentor.silvestar.codes/resources/">find useful resources</a> and <a href="https://mentor.silvestar.codes/tips/">tips</a>.</p><p>This post is available in the form of slides, too:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.slideshare.net%2Fslideshow%2Fembed_code%2Fkey%2Fz7VP30SVY4xzCh&amp;display_name=SlideShare&amp;url=https%3A%2F%2Fwww.slideshare.net%2FSilvestarBistrovi%2Flearning-mentoring-tips-part-1&amp;image=https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fmentoringtips2-200328090253-thumbnail-4.jpg%3Fcb%3D1585387400&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=slideshare" width="600" height="500" frameborder="0" scrolling="no"><a href="https://medium.com/media/ad9215282a3c67f775c40a6c7045f82a/href">https://medium.com/media/ad9215282a3c67f775c40a6c7045f82a/href</a></iframe><p>Happy coding!</p><p>This post is part of <strong>The UI Development Mentoring Program</strong> series:</p><ul><li><a href="https://medium.com/@malimirkeccita/a-story-of-becoming-a-web-developer-c12ef6a187d7">A Story of Becoming a Web Developer</a></li><li>Tips About Learning Web Development</li></ul><p><em>Originally published at </em><a href="https://www.silvestar.codes/articles/tips-on-learning-web-development/"><em>https://www.silvestar.codes</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=434a88300028" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Story of Becoming a Web Developer]]></title>
            <link>https://medium.com/@malimirkeccita/a-story-of-becoming-a-web-developer-c12ef6a187d7?source=rss-821762e31b6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c12ef6a187d7</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[inspiration]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Silvestar Bistrović]]></dc:creator>
            <pubDate>Sat, 09 May 2020 09:38:26 GMT</pubDate>
            <atom:updated>2020-05-27T19:55:35.262Z</atom:updated>
            <content:encoded><![CDATA[<h4>Web Development</h4><h4>From dev-zero to dev hero</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LswZAMzyAWE2vYRk.jpg" /></figure><p>Let me tell you a story about Silvestar, a fellow who learned how to code, took some chances during his career and become a solid, confident web developer.</p><p>Silvestar never coded in his life. He thought he would work as an IT engineer. But the situation at the market made him apply to a web developer job ad. Future boss provided an opportunity for him to learn about web development. If Silvestar succeeds, he could work in this company. He was not the only candidate, so he needed to work extra hard to prove his worth.</p><p>In the beginning, Silvestar was overwhelmed and didn’t know where to start. The boss helped candidates by providing learning materials. The boss also gave the assignment to every candidate. Few times a month, the boss organized a class where he showed the solution, answered questions from candidates, and talked about programming.</p><blockquote><em>Everybody has to start somewhere.</em></blockquote><blockquote>I started from zero.</blockquote><p>After a few months, Silvestar started to like programming. He didn’t sleep many nights because he had new ideas about how to solve problems. For every issue he addressed, he thought he is ready for work. But with every new assignment, he also learned he is not ready yet. Finally, after about a half a year, the boss decided to give him and a couple of other candidates a chance to prove themselves on a project. He was hired, he became a developer.</p><p>In about a few months, as project complexity increased, Silvestar figured out what are his strengths and weaknesses. His role was all-around developer, but he liked the frontend: HTML, CSS, and jQuery. He enjoyed working on a user interface in any form, from slicing PSD to HTML, to adding interactions.</p><p>He was working on different projects for a few years. Then a new opportunity arose. A local startup was hiring a frontend developer, and Silvestar decided to give it a shot. After completing a challenging task that he thought he could not do, he was hired. The company was big, with more than 20 people organized in different teams. He was part of a development team working on a solid product. He was quite happy and satisfied.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V55ZHMQKlpLR7JXlNTt0PA.jpeg" /><figcaption>I<em>mage Credit: </em><a href="https://unsplash.com/photos/hluOJZjLVXc"><em>Dan Meyers on Unsplash</em></a></figcaption></figure><p>During this time, Silvestar learned a lot by attending meetings, collaborating with colleagues, working in teams, and presenting his work to other team members. He worked on challenging user interface parts, and he learned a lot about different Git workflows, project management techniques and tools, and coding principles and standards. Everyone was friendly and helpful.</p><p>Then, after a couple of years, the company was acquired by some larger organization which led to shutting down the company in a few months because the product showed as not being sustainable. Silvestar and all workers were let go.</p><p>During the time in a local startup, Silvestar heard of <a href="https://www.toptal.com/resume/silvestar-bistrovic#trust-nothing-but-brilliant-freelancers">Toptal</a>, a network of talents working remotely as freelancers. Silvestar was tempted to give it a go, but his family and friends were suspicious that was the right call. He applied nevertheless. After a couple of attempts, Silvestar got in. He was lucky as he was one of the first of the talents that were accepted as UI developers. He got his first gig within a couple of months.</p><blockquote><em>Fear is the compass.</em></blockquote><blockquote>I made some bold choices at the given moment, but they all paid off.</blockquote><p>It has been three years since Silvestar started with freelance work. He invested a lot of time in his professional development, and he decided to improve his skillset by learning new technologies and techniques. He decided to share his findings on his blog. He had the opportunity to prove his worth on challenging project, and he collaborated with amazing clients and developers from all over the world.</p><p>All in all, Silvestar is happy. He still has his doubts. He is still learning how to improve as a professional and as a developer. He still has to search for the same solutions online and still has to debug the same old bugs and issues. But he is not complaining, because he knows it is part of his job. For most of the time, Silvestar is quite happy how things turned out.</p><h3>Disclaimer</h3><p>In case you were wondering, I am Silvestar. And in case you are asking yourself why I am writing this it is because I wanted to tell you a story about how I become a freelance web developer:</p><ul><li>I started from zero,</li><li>I had many doubts and fears,</li><li>I made some bold choices at the given moment, but they all paid off,</li><li>I never stopped learning.</li></ul><p>I hope this story inspired you to start with a new career or to start chasing your dreams. Remember, it is a process, and it takes time to succeed. But know that hard-work would pay off.</p><h3>Conclusion</h3><p>I would like to hear your story one day. That is why I started <a href="https://mentor.silvestar.codes/">The UI Development Mentoring Program</a>. I created a new site where you could <a href="https://mentor.silvestar.codes/apply/">apply to become a mentee</a>, or you could <a href="https://mentor.silvestar.codes/resources/">find useful resources</a> and <a href="https://mentor.silvestar.codes/tips/">tips</a>.</p><p>If you need more inspiration, read these tips I gathered during my career:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.slideshare.net%2Fslideshow%2Fembed_code%2Fkey%2F2qFWv8ieXFZuUt&amp;display_name=SlideShare&amp;url=https%3A%2F%2Fwww.slideshare.net%2FSilvestarBistrovi%2Fmentoring-tips-1&amp;image=https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fxug6cjdyqj2c8quulgrj-signature-831118be542bc0d787f5031e11f3d2419c7444966d12aa23c23d164fe7f48911-poli-200328055843-thumbnail-4.jpg%3Fcb%3D1585386361&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=slideshare" width="600" height="500" frameborder="0" scrolling="no"><a href="https://medium.com/media/45191b8c72c818c07adcd52ae625fb1a/href">https://medium.com/media/45191b8c72c818c07adcd52ae625fb1a/href</a></iframe><p>Happy coding!</p><p>This post is part of <strong>The UI Development Mentoring Program</strong> series:</p><ul><li>A Story of Becoming a Web Developer</li><li><a href="https://medium.com/@malimirkeccita/tips-on-learning-web-development-434a88300028">Tips About Learning Web Development</a></li></ul><p><em>Originally published at </em><a href="https://www.silvestar.codes/articles/a-story-of-becoming-a-web-developer/"><em>https://www.silvestar.codes</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c12ef6a187d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Favorite VS Code Settings]]></title>
            <link>https://itnext.io/my-favorite-vs-code-settings-b38899a48896?source=rss-821762e31b6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b38899a48896</guid>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[text-editor]]></category>
            <category><![CDATA[ide]]></category>
            <dc:creator><![CDATA[Silvestar Bistrović]]></dc:creator>
            <pubDate>Mon, 06 Apr 2020 10:07:05 GMT</pubDate>
            <atom:updated>2020-04-06T10:07:05.688Z</atom:updated>
            <content:encoded><![CDATA[<h4>Visual Studio Code</h4><h4>Breadcrumbs, bars, saving and formatting, window management, and minimap</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LiuMzfzeNsowBm1-bkxZaQ.jpeg" /></figure><p>Last week I saw <a href="https://twitter.com/mattbierner/status/1241039298750746624">an interesting tweet about showing modified tabs in the VS Code</a> from Matt Bierner. Although I already knew about this super useful setting, it made me revisit my VS Code settings.</p><p>By the way, the setting could be found as “Workbench &gt; Editor: Highlight Modified Tabs” in VS Code Settings. If you also want to see the modified indicator in your current VS Code window, go to Settings, search “Window: Title”, and add ${dirty} option. Here is how it looks in my settings:</p><pre>${dirty} ${activeEditorMedium}${separator}${rootName}</pre><h3>Modified settings</h3><p>I have 364 modified settings in my VS Code. To see these modified settings, go to Settings, and select “Show modified settings” from the drop-down menu or type @modified in the input field. Some of these settings aren&#39;t modified in a way that they have a non-default value-they are just present in the settings.json file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n5b7tudHfT3Sj_FQwdPooQ.png" /><figcaption>Modified VS Code Settings</figcaption></figure><blockquote><em>Tip: you could see this file by clicking the “Open Settings” icon.</em></blockquote><p>I am not going to write about all these settings. I am going to describe my favorite settings:</p><ul><li>breadcrumbs,</li><li>bars,</li><li>saving and formatting,</li><li>window management, and</li><li>minimap.</li></ul><h4>Breadcrumbs</h4><p>I like to have breadcrumbs turned on. However, I don’t prefer cluttered breadcrumbs with unnecessary information. That’s why I turned off all fancy settings, like showing icons or file contents (classes, constants, etc.) in my breadcrumbs. Here’s how it looks:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0mLu2QQBOkOF4ffSIwADgA.png" /><figcaption>VS Code Breadcrumbs</figcaption></figure><h4>Bars</h4><p>From the very start, I was quite fond of the VS Code interface. Activity bar, status bar and sidebar are handy features that hold a lot of information. I like to display the activity bar and sidebar on the right side. That way toggling the sidebar won’t affect my primary window location which otherwise may cause distraction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7n7lc_JfvLPXP_qT4j0RTg.png" /><figcaption>VS Code Settings: Status Bar and Activity Bar</figcaption></figure><p>I particularly like my status bar. In it, I could see the following information:</p><ul><li>the name of the Git branch I am currently working on,</li><li>the status of Git synchronisation,</li><li>the number of errors and warnings from linters,</li><li>the name of the current project (<a href="https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager">Project Manager extension</a>),</li><li>how much time I spent working (<a href="https://marketplace.visualstudio.com/items?itemName=WakaTime.vscode-wakatime">Wakatime extension</a>),</li><li>the position of cursor and length of selected text,</li><li>“spaces vs tabs” preference,</li><li>which encoding the file uses,</li><li>which end of file sequence the file uses,</li><li>the depth of the indent of the current line, and</li><li>what is the current time.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2qsth1TWwfBzvoyMZxZvHg.png" /><figcaption>VS Code Status Bar</figcaption></figure><p>Note that not all information is visible in the screenshot.</p><h4>Saving and Formatting</h4><p>I prefer not to allow VS Code to format my code automatically. The main reason is that I tend to save files often as I usually use <a href="https://www.browsersync.io/">BrowserSync</a> or <a href="https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer">Live Server extension</a> to see the changes in the browser.</p><p>I turned off the following settings: “Editor: Format on Save” and “Files: Auto Save”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DI60b46bR0Uq8Qwf8Wbgzw.png" /><figcaption>VS Code Settings: Format on Save and Auto Save</figcaption></figure><p>I also turned off all settings related to formatting:</p><ul><li>“Editor: Format on Paste”,</li><li>“Editor: Format on Save”, and</li><li>“Editor: Format on Type”.</li></ul><p>I usually use <a href="https://marketplace.visualstudio.com/items?itemName=HookyQR.beautify">Beautify</a> plugin to format my code. Here are my settings for the plugin:</p><pre>{<br>  &quot;beautify.language&quot;: {<br>    &quot;css&quot;: [<br>      &quot;css&quot;,<br>      &quot;scss&quot;<br>    ],<br>    &quot;html&quot;: [<br>      &quot;htm&quot;,<br>      &quot;html&quot;,<br>      &quot;njk&quot;,<br>      &quot;pug&quot;,<br>      &quot;liquid&quot;,<br>      &quot;php&quot;,<br>      &quot;erb&quot;<br>    ],<br>    &quot;js&quot;: {<br>      &quot;filename&quot;: [<br>        &quot;.jshintrc&quot;,<br>        &quot;.jsbeautify&quot;<br>      ],<br>      &quot;type&quot;: [<br>        &quot;javascript&quot;,<br>        &quot;json&quot;<br>      ]<br>    }<br>  }<br>}</pre><blockquote><em>Tip: To prevent losing the unsaved changes on exit, set the “Files: Hot Exit” to </em><em>onExitAndWindowClose.</em></blockquote><h4>Window management</h4><p>VS Code allows you to configure the window behaviour. I prefer the following VS Code window settings:</p><pre>{<br>  &quot;window.closeWhenEmpty&quot;: false,<br>  &quot;window.newWindowDimensions&quot;: &quot;inherit&quot;,<br>  &quot;window.openFilesInNewWindow&quot;: &quot;off&quot;,<br>  &quot;window.openFoldersInNewWindow&quot;: &quot;on&quot;,<br>  &quot;window.restoreFullscreen&quot;: false,<br>  &quot;window.restoreWindows&quot;: &quot;all&quot;,<br>  &quot;window.title&quot;: &quot;${dirty} ${activeEditorMedium}${separator}${rootName}&quot;,<br>  &quot;window.titleBarStyle&quot;: &quot;custom&quot;,<br>}</pre><p>Besides already mentioned Window Title settings, I like to open files in the current window, open folders in the new window, inherit windows size for the new window and restore all windows after the restart. I also like to keep the current window opened after closing the last tab and open recently closed window in “windowed”, not full-screen mode.</p><h3>Minimap</h3><p>I am using minimap since I first saw this feature in Sublime Text. I find it quite useful, especially with longer files. It makes it easier to find and navigate certain parts of code for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uxYdb_NIFenWgWWIZoswYQ.png" /><figcaption>VS Code Minimap</figcaption></figure><h3>Conclusion</h3><p>There are so many meaningful settings in VS Code. You might be overwhelmed by the number of options, but every choice is very well explained, which is helpful. Also, most default values are enough to make you start using the editor easily. However, when you feel the editor should behave differently, try to search for the option and set it to your preference. And don’t forget to share your settings with the community.</p><p>Now, what are your favorite VS Code settings?</p><p><em>Originally published at </em><a href="https://www.silvestar.codes/articles/my-favorite-vs-code-settings/"><em>https://www.silvestar.codes</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b38899a48896" width="1" height="1" alt=""><hr><p><a href="https://itnext.io/my-favorite-vs-code-settings-b38899a48896">My Favorite VS Code Settings</a> was originally published in <a href="https://itnext.io/">ITNEXT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I just finished redesigning my site]]></title>
            <link>https://medium.com/@malimirkeccita/i-just-finished-redesigning-my-site-f53b5d7064bf?source=rss-821762e31b6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f53b5d7064bf</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Silvestar Bistrović]]></dc:creator>
            <pubDate>Mon, 23 Mar 2020 05:22:03 GMT</pubDate>
            <atom:updated>2020-03-23T05:22:03.379Z</atom:updated>
            <content:encoded><![CDATA[<h4>Web Design and Development</h4><h4>Now the dark mode is available</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dpJHuj93c3yo63ExDf-n5g.jpeg" /></figure><p>During the last week, I have been working on redesigning my site. Here is the list of all changes:</p><ul><li>refreshed design,</li><li>added dark mode,</li><li>updated Disqus configuration,</li><li>updated responsive images, and</li><li>updated headers.</li></ul><h3>Refreshed design</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wz8bXs9svZSt3wzdVuWu9A.png" /><figcaption>Screenshot of the redesigned site — the light mode.</figcaption></figure><p>Since I am not a designer, I have started with a couple of prototypes on Codepen:</p><ul><li><a href="https://codepen.io/CiTA/pen/LYVbmKd">Article Card</a>, and</li><li><a href="https://codepen.io/CiTA/pen/gOpLzMz">Profile Card</a>.</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2FCiTA%2Fembed%2Fpreview%2FLYVbmKd%3Fheight%3D600%26slug-hash%3DLYVbmKd%26default-tabs%3Dcss%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2FCiTA%2Fpen%2FLYVbmKd&amp;image=https%3A%2F%2Fscreenshot.codepen.io%2F156411.LYVbmKd.small.2d56514b-22a6-47c4-8649-88ea50210df8.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/e212a53f6e136d329786a1174b1ed90d/href">https://medium.com/media/e212a53f6e136d329786a1174b1ed90d/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2FCiTA%2Fembed%2Fpreview%2FgOpLzMz%3Fheight%3D600%26slug-hash%3DgOpLzMz%26default-tabs%3Dcss%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2FCiTA%2Fpen%2FgOpLzMz&amp;image=https%3A%2F%2Fscreenshot.codepen.io%2F156411.gOpLzMz.small.a0bbb223-5b8e-44c3-97a9-b95f5fc1eb31.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/9d440c38a2c1c85fc434f1d8f43e56c8/href">https://medium.com/media/9d440c38a2c1c85fc434f1d8f43e56c8/href</a></iframe><p>Then I have <a href="https://twitter.com/malimirkeccita/status/1231233665667149824">asked a question about which design is better on Twitter</a>, and most people choose the centred version. I liked that one more, too.</p><p>Finally, I have updated HTML and CSS code. I have removed hard-coded sections from the theme, and I used Hexo built-in features.</p><h3>Added dark mode</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nlHifZokxzJkYdA4Hj_0og.png" /><figcaption>Screenshot of the redesigned site — the dark mode.</figcaption></figure><p>I wanted to add the dark mode to my site, so I introduced CSS Variables to my Scss codebase. I have four major modes:</p><ul><li>light-mode,</li><li>dark-mode,</li><li>mixed-mode, and</li><li>comment-mode.</li></ul><pre>@mixin light-mode {<br>  --color-alpha: #12e09f;<br>  --color-beta: #e01258;<br>  --color-gamma: #f5f5f5;<br>  --color-delta: #C2FAE8;<br>  --color-epsilon: #FAC2D4;<br>  --color-chi: #4f4f4f;<br>  --color-psi: #1f1f1f;<br>  --color-omega: #fff;<br>}<br><br>@mixin dark-mode {<br>  --color-alpha: #e01258;<br>  --color-beta: #12e09f;<br>  --color-gamma: #3e3e3e;<br>  --color-delta: #C20A38;<br>  --color-epsilon: #42AE8C;<br>  --color-chi: #e1e1e1;<br>  --color-psi: #fff;<br>  --color-omega: #1f1f1f;<br>}<br><br>@mixin mixed-mode {<br>  --color-alpha: #12e09f;<br>  --color-beta: #FAC2D4;<br>  --color-gamma: #4f4f4f;<br>  --color-delta: #e01258;<br>  --color-epsilon: #C2FAE8;<br>  --color-chi: #fff;<br>  --color-psi: #1f1f1f;<br>  --color-omega: #3e3e3e;<br>}<br><br>@mixin comment-mode {<br>  --color-gamma: #d5d5d5;<br>  --color-psi: #1f1f1f;<br>}</pre><p>The first two are used globally. The third one, mixed-mode, is used for pages with forms, like <a href="https://www.silvestar.codes/contact/">the Contact page</a>. The last one, comment-mode, is used to style Disqus comments.</p><p>I published an article <a href="https://www.silvestar.codes/articles/page-builders-might-not-be-a-good-idea/">about page builders</a> recently, and it gained many responses. I noticed strange behaviour with my Disqus comments: different comments appeared based on different URL parameters. To fix that, I had to use <a href="https://help.disqus.com/en/articles/1717129-url-mapper">URL Mapper</a> to merge all comments based on the correct URL and set the unique identifier:</p><pre>this.page.identifier = UNIQUE_PAGE_IDENTIFIER</pre><h3>Updated responsive images</h3><p>A long time ago, I bookmarked the article <a href="https://css-tricks.com/images-are-not-static-content/">“Images Are Not Static Content”</a>. The gist of the article is not to serve only static images to users, but images tailored to the needs and context of the browser and user.</p><p>Since I am using <a href="https://cloudinary.com/">Cloudinary service</a> as my “Dynamic Media Platform”, as they like to call it, I decided to take advantage of the platform.</p><blockquote><em>“Because images have such a high impact on website performance, images must be tailored according to the capabilities and context of the browser and user.”</em></blockquote><p>I ditched the <a href="https://github.com/maliMirkec/hexo-cloudinary">hexo-cloudinary</a> package, a Hexo tag plugin I created before, and I developed a new Hexo tag plugin: <a href="https://github.com/maliMirkec/hexo-cldnry">hexo-cldnry</a>. It uses the Cloudinary Node.js SDK, Cloudinary JavaScript library, and Clients Hints feature for creating the automated responsive images. You could learn more about it on by <a href="https://cloudinary.com/documentation/responsive_images#automating_responsive_images_with_javascript">reading the Responsive Images Guide</a>.</p><p>If you need help setting the Hexo plugin, feel free to <a href="https://www.silvestar.codes/contact/">contact me</a> or <a href="https://github.com/maliMirkec/hexo-cldnry/issues/new">open a new issue on GitHub</a>.</p><h3>Updated headers</h3><p>To be able to use <a href="https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/client-hints">Client Hints</a>, I had to enable it on Netlify:</p><pre>Accept-CH: Downlink,RTT,Device-Memory,Save-Data,DPR,Width</pre><p>Enabling Client Hints helps Cloudinary make better decisions which image to deliver to the end-user. I added Feature Policy headers and now <a href="https://securityheaders.com/?q=https%3A%2F%2Fwww.silvestar.codes%2F&amp;followRedirects=on">Security Headers tool</a> shows A+ score for my site.</p><h3>Conclusion</h3><p>I am quite happy how things turned out. My site is still very performant, which is very important to me.</p><p>A personal site redesign is a great way to improve your skillset, but don’t do it too often and without the plan. Here are some of the items from my todo list for the next iteration:</p><ul><li>add Code Line Daily widget on the homepage,</li><li>consider adding a twitter feed, and</li><li>consider investing time in print css.</li></ul><p><em>Originally published at </em><a href="https://www.silvestar.codes/articles/i-just-finished-redesigning-my-site/"><em>https://www.silvestar.codes</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f53b5d7064bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page builders might not be a good idea]]></title>
            <link>https://itnext.io/page-builders-might-not-be-a-good-idea-d044878a901e?source=rss-821762e31b6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d044878a901e</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[page-builder]]></category>
            <category><![CDATA[wordpress]]></category>
            <dc:creator><![CDATA[Silvestar Bistrović]]></dc:creator>
            <pubDate>Mon, 02 Mar 2020 08:08:34 GMT</pubDate>
            <atom:updated>2020-03-02T08:08:34.177Z</atom:updated>
            <content:encoded><![CDATA[<h4>WordPress</h4><h4>7 problems of a page builder</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*TZJWQG5s71sQD0iC.jpg" /></figure><p>Here’s what I think: page builder might not be a good idea. In this post, I wanted to share my thoughts about page builders and why you might think twice before you consider using it (again).</p><p><em>The observations are subjective but based on my experience. I am referring to the WordPress and Shopify ecosystems here, but these problems could be found on other platforms, too.</em></p><blockquote><em>Disclaimer: If you use page builders and you don’t have these problems, please let me know in the comment section. I would very much like to learn how you manage to do it.</em></blockquote><h3>TL;DR</h3><p>Here are the most common problems, in my opinion:</p><ol><li>The content is not reusable (you cannot reuse content on other pages).</li><li>The design is not consistent (pages often don’t look the same).</li><li>The site is not maintainable (change on one page doesn’t propagate to other pages).</li><li>The content is not maintainable (the content cannot be easily extracted from the database).</li><li>The site is not very performant (page builders load a lot of extra assets).</li><li>There’s always a missing feature (page builders cannot solve all your problems).</li><li>Getting to know page builder doesn’t make you a developer (leave the job to a professional).</li></ol><h3>A little bit of history</h3><p>During my time in web development, I have stumbled continuously on projects that are built using page builders. Page builders are tools that allow the building of website pages without writing code (mostly).</p><p>Back in the day in 2014, I tried to build my page builder ( <a href="https://twitter.com/citacms">Twitter page still exists</a> :)). It was conceived as a drag-n-drop solution like most modern page builders work today. After a while, I realized that the world doesn’t need another tool. Although that was the right decision, it was based on the wrong arguments. At that time, I didn’t know anything about performance or accessibility or maintainability, which I would never get right if I would develop an all-around solution. These were only a few of the worst enemies of a page builder. Now, let me tell you a story about other problems with page builders.</p><h3>Many problems page builders introduce</h3><p>When using page builders, most users build page by page. There is no original design or structure. Why would you pay for something that you could do by yourself?</p><p>So they start by creating the first page. Then they start playing around with the page builder, and once they are satisfied, they declare the page completed. Then they create the second page. Again, they start playing around with the page builder and once again, they claim the page finished.</p><p>But what happens next? On both pages, there is the same component. They update the component on one page but forget to update it on the other page. And here’s the first problem: <strong>the content is not reusable</strong>.</p><p>That is a real-world scenario. It happened to me, and not once. Sure, there is an option to save the component and reuse it on the other page. But users don’t use this option.</p><p>Even when users create a reusable component, often they add an inline style to each instance. And that is the second problem: <strong>the design is not consistent</strong>. Most page builders offer custom styling in terms of adding extra paddings and margins, colours and fonts on each component. These settings are almost always hidden under some settings and are a few clicks away. Users forget where these settings are. That adds visual inconsistency to the site, which is almost always an unfortunate side-effect.</p><p>That brings out the third problem: <strong>the site is not maintainable</strong>. This problem is a nightmare for most developers. Developers don’t like to repeat themselves. Developers want reusable, well-structured code that is easily manipulated in their favourite code editors. Developers don’t like to code inside the browser without the fancy features like autocompletion or intellisence. But users don’t care because they never used code editor. You cannot miss something that you never experienced.</p><p>So, while the site is small and there are only a few pages, it is not a problem to update components manually. The problem occurs when the site is not so small anymore. Users often buy or develop a new theme at this point. And now we come to the fourth problem: <strong>the content is not migratable</strong>.</p><p>Since most page builders do not save the raw information, aka the content, we cannot migrate the content to a new theme easily. Page builders store shortcodes, HTML code, and inline styling alongside with content. There is no straightforward method for extracting the gibberish for the actual content. That means all existing content will be ignored and wasted. It will exist only while the page builder exists, and users will have to write new content. Sometimes it is what they want anyway, but when that is not the case, rewriting the content will be tedious, often blocking issue.</p><p>Now that we mentioned the gibberish, we discover the fifth problem: <strong>the site is not very performant</strong>. That is the point when users like to improve their PageSpeed Insights score. Unfortunately, page builders introduce several issues, from inlining CSS to loading extra assets, like CSS, JavaScript and font files. Users don’t know about these problems until they see red scores on speed testing tools. At this point, some users like to install additional plugins.</p><p>And that leads us to the sixth problem: <strong>there is always a missing feature</strong>. No page builder could offer a complete all-around solution for every user. When users install plugins, sometimes they don’t work alongside page builders. Now users like to develop a new feature. These tasks are not simple, and they introduce extra costs.</p><p>And that is the seventh problem: <strong>using a page builder doesn’t make you a developer</strong>. Developers and users don’t think alike. Developers’ brain works completely different, and it is always trying to solve problems in the most efficient way. Experienced developers predict and anticipate problems way before they emerge.</p><p>I don’t want to offend anyone here, but building pages is more than just writing content and placing it somewhere on the page. You should leave this job to a professional, especially if you want to maintain the site on a longer run. Ask the expert to propose the alternative solution for you, like building a custom WordPress theme or using a static site generator, for example.</p><h3>Conclusion</h3><p>Page builders are useful tools for playing around and maybe even learning how pages work. But page builders are imagined as a universal tool for all possible scenarios, and that usually doesn’t work.</p><p>So cherish your data, it is the essential part of your website. You might think it is the design, but users get back for content, not design. Leave your content in the hands of a professional instead of page builder.</p><p><em>Originally published at </em><a href="https://www.silvestar.codes/articles/page-builders-might-not-be-a-good-idea/"><em>https://www.silvestar.codes</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d044878a901e" width="1" height="1" alt=""><hr><p><a href="https://itnext.io/page-builders-might-not-be-a-good-idea-d044878a901e">Page builders might not be a good idea</a> was originally published in <a href="https://itnext.io/">ITNEXT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create a multi-step form the easy way]]></title>
            <link>https://itnext.io/how-to-create-a-multi-step-form-the-easy-way-c41e3745ed51?source=rss-821762e31b6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c41e3745ed51</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[forms]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Silvestar Bistrović]]></dc:creator>
            <pubDate>Wed, 05 Feb 2020 12:59:45 GMT</pubDate>
            <atom:updated>2020-02-11T13:46:35.808Z</atom:updated>
            <content:encoded><![CDATA[<h4>Static Forms</h4><h4>Learn how to add a multi-step form in few easy steps</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AK-UGsFFdDSaxFtY1AtUXg.jpeg" /></figure><p>Recently I wanted to add a multi-step form to my site. Since my site runs on Hexo, a static page generator, I had some doubts about how to execute this task. I already had a static form on my site, and I didn’t want to spend too much time on the development of features like steps, show/hide logic or validation.</p><p>I was delighted to learn that <a href="https://kwes.io/docs/multistep-forms">Kwes now offers a multi-step form functionality</a>. Before I tell you how I did it, let’s see what a multi-step form, sometimes also referred to as multi-page form, is.</p><h3>A multi-step form</h3><p>A multi-step form is a long-form that is broken into pieces. The reason for doing this is to make the form easier to complete. Each step represents grouped inputs that are related to each other, so users are not frightened by the length of the form. It might be more comfortable for users to fill the information step by step because their minds should process fewer fields at the time.</p><p>You might have seen multi-steps forms on checkout or shipping forms. Multi-steps forms are also used for wizards such as signing up forms, and there is an increased appearance of multi-step login forms recently. These are just common scenarios when to use them, but every longer form could be broken into pieces.</p><blockquote><em>Before switching to a multi-step form, you might want to make A/B tests to make sure your conversion rate doesn’t drop.</em></blockquote><p>The conversion rate is one of the most substantial benefits of a multi-step form. It is believed that multi-step forms have a better conversion rate. Other benefits include the first impression, which is less overwhelming to users, and progress bars, which encourage users to proceed with the form.</p><p>All these benefits should be taken with reserve. Without real numbers, you cannot know for sure. A single-step form with many input fields is often considered as a significant obstacle for most users. As a trade-off, you should reduce the number of inputs which might not be ideal.</p><h3>Adding a multi-step form with Kwes</h3><p>Kwes documentation makes it quite straightforward to follow and to create a multi-step form.</p><p>Before that, let’s refresh our memory <a href="https://dev.to/starbist/how-to-add-a-contact-form-to-a-static-website-2oji">how to add the static form using Kwes</a>:</p><ul><li>Add a website from the Kwes dashboard.</li><li>Add a form from the Kwes dashboard.</li><li>Add required script tag before the closing body tag: &lt;script src=&quot;https://kwes.io/js/kwes.js&quot;&gt;&lt;/script&gt;.</li><li>Add the wrapper element with the required kwes-form class.</li><li>Add the form element with the action URL provided in the Kwes dashboard.</li><li>Add the input fields and validation rules.</li></ul><p>Here’s how the code looks for now:</p><pre>&lt;html&gt;<br>  &lt;body&gt;<br>    &lt;div class=&quot;kwes-form&quot;&gt;<br>      &lt;form method=&quot;POST&quot; action=&quot;path/to/kwes&quot;&gt;<br>        // form code<br>      &lt;/form&gt;<br>    &lt;/div&gt;<br>    &lt;script src=&quot;https://kwes.io/js/kwes.js&quot;&gt;&lt;/script&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre><p>To enable a multi-step form, I have added the multi-step attribute to the form element.</p><p><em>I had to add </em><em>true value to the </em><em>multi-step attribute to make my HTML linter happy.</em></p><p>Next, I have divided the form into steps by wrapping related inputs with form-step elements. That&#39;s it! To make a multi-step form with Kwes, all you need to do is to add a single wrapper div to every step. I never knew it would be that easy.</p><p>My form has only two steps, so I have only two form-step elements. On the first step, I am asking a question about the contact type, and on the next step, I am gathering contact information.</p><pre>&lt;div class=&quot;kwes-form&quot;&gt;<br>  &lt;form method=&quot;POST&quot; action=&quot;path/to/kwes&quot; multistep=&quot;true&quot;&gt;<br>    &lt;form-step&gt;<br>      // form code<br>    &lt;/form-step&gt;<br>    &lt;form-step&gt;<br>      // form code<br>    &lt;/form-step&gt;<br>  &lt;/form&gt;<br>&lt;/div&gt;</pre><p>Of course, that’s not all. Kwes is packed with other impressive features. These are the ones that I included in my form:</p><ul><li>custom headers,</li><li>custom styling,</li><li>cloaking,</li><li>logic visibility toggling, and</li><li><a href="https://dev.to/starbist/animated-wizard-progress-23li">animated SVG progress bar</a>.</li></ul><h3>Custom Headers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OtETBpENtRAqWru5LfUPWg.png" /></figure><p>Kwes provides adding custom headers to each step-a title of the current step. There are two types of headers: simple and complex.</p><p>Simple headers are used for textual headers. I have added simple headings to my form.</p><pre>&lt;form-step heading=&quot;1. Contact type&quot;&gt;<br>  // form code<br>&lt;/form-step&gt;<br>&lt;form-step heading=&quot;2. Contact information&quot;&gt;<br>  // form code<br>&lt;/form-step&gt;</pre><p>If you like to add icons, graphics or anything other than just title text, then you could use a complex header. All of the custom header content should be added inside &lt;div slot=&quot;heading&quot;&gt;&lt;/div&gt; element. It is advisable to place this element as a first child of the form-step element.</p><h3>Custom Styling</h3><p>Adding custom styling to Kwes forms are quite straightforward. You could use classes with kw- prefix to add custom styling.</p><p>For example, you could use kw-multistep-footer class to customize the step section footer, as I did on my site.</p><h3>Cloaking</h3><p>I have used <a href="https://kwes.io/docs/form-components">the cloaking technique</a> provided by Kwes to hide the uncompiled form. That means the form wouldn’t be visible until it is compiled by Kwes JavaScript file. To do this, add v-cloak attribute to the kwes-form wrapper element and then use the following CSS snippet to hide the form:</p><pre>[v-cloak] {<br>  display: none;<br>}</pre><h3>Logic Visibility Toggling</h3><p>Another great feature of Kwes form builder is the ability to toggle the visibility of an input field based on other field values. This show/hide logic behaviour is what I needed to create the second step dynamically. The visibility is achieved by adding kw-show attribute to the element. In my case, I am hiding mentoring related fields if the contact type is &quot;General&quot;.</p><pre>&lt;div kw-show=&quot;fields.step == &#39;Mentoring&#39;&quot;&gt;...&lt;/div&gt;</pre><h3>Animated SVG Progress Bar</h3><p>Progress bars often help users understand how much steps are left until the submission. Since this element only serves as a visual indicator, I decided to make <a href="https://dev.to/starbist/animated-wizard-progress-23li">a little SVG that is animated</a> on click. The animation is a CSS animation of the stroke of the SVG path.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*TkJoZxnhLjdKG3jOr6U5-g.gif" /></figure><p>Here’s the complete form, including the SVG and JavaScript code:</p><pre>&lt;div class=&quot;kwes-form form&quot; v-cloak=&quot;true&quot;&gt;<br>  &lt;svg class=&quot;steps&quot; viewBox=&quot;0 0 850 250&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;<br>    &lt;path d=&quot;m225 125c0 50-50 100-100 100s-100-50-100-100 50-100 100-100 100 50 100 100h400c0-50 50-100 100-100s100 50 100 100-50 100-100 100-100-50-100-100&quot; fill=&quot;none&quot; stroke=&quot;#f5f5f5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; stroke-width=&quot;50&quot;/&gt;<br>    &lt;path class=&quot;steps__path&quot; d=&quot;m225 125c0 50-50 100-100 100s-100-50-100-100 50-100 100-100 100 50 100 100h400c0-50 50-100 100-100s100 50 100 100-50 100-100 100-100-50-100-100&quot; fill=&quot;none&quot; stroke=&quot;#12e09f&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; stroke-width=&quot;50&quot;/&gt;<br>  &lt;/svg&gt;<br>  &lt;form method=&quot;POST&quot; action=&quot;path/to/kwes&quot; multistep=&quot;true&quot;&gt;<br>    &lt;form-step heading=&quot;1. Contact type&quot;&gt;<br>      &lt;label class=&quot;radio&quot;&gt;What kind of inquiry are you interested in?&lt;/label&gt;<br>      &lt;div class=&quot;kw-radio-group&quot;&gt;<br>        &lt;input id=&quot;General&quot; type=&quot;radio&quot; name=&quot;step&quot; value=&quot;General&quot; label=&quot;General&quot; checked=&quot;checked&quot; /&gt;<br>        &lt;input id=&quot;Mentoring&quot; type=&quot;radio&quot; name=&quot;step&quot; value=&quot;Mentoring&quot; label=&quot;Mentoring&quot; /&gt;<br>    &lt;/div&gt;<br>    &lt;/form-step&gt;<br>    &lt;form-step heading=&quot;2. Contact information&quot;&gt;<br>      &lt;div kw-show=&quot;fields.step == &#39;Mentoring&#39;&quot;&gt;<br>        &lt;label class=&quot;radio&quot;&gt;Are you interested in career mentoring or technical mentoring?&lt;/label&gt;<br>        &lt;div class=&quot;kw-radio-group&quot;&gt;<br>          &lt;input id=&quot;Career&quot; type=&quot;radio&quot; name=&quot;mentoring&quot; value=&quot;Career&quot; label=&quot;Career&quot; checked=&quot;checked&quot; /&gt;<br>          &lt;input id=&quot;Technical&quot; type=&quot;radio&quot; name=&quot;mentoring&quot; value=&quot;Technical&quot; label=&quot;Technical&quot; /&gt;<br>        &lt;/div&gt;<br>        &lt;div class=&quot;desc&quot;&gt;<br>          &lt;p&gt;&lt;small&gt;Career mentoring means I help you make decisions regarding your career.&lt;/small&gt;&lt;/p&gt;<br>          &lt;p&gt;&lt;small&gt;Technical mentoring means I help you gain new skills or improve the current skill level.&lt;/small&gt;&lt;/p&gt;<br>        &lt;/div&gt;<br>      &lt;/div&gt;<br>      &lt;label for=&quot;Name&quot;&gt;What is your name?&lt;/label&gt;<br>      &lt;input id=&quot;Name&quot; type=&quot;text&quot; name=&quot;name&quot; rules=&quot;required&quot; /&gt;<br>      &lt;label for=&quot;Email&quot;&gt;Please tell me your email address&lt;small&gt;(I would use it only for direct communication)&lt;/small&gt;.&lt;/label&gt;<br>      &lt;input id=&quot;Email&quot; type=&quot;email&quot; name=&quot;email&quot; rules=&quot;required|email|max:255&quot; /&gt;<br>      &lt;div kw-show=&quot;fields.step == &#39;Mentoring&#39;&quot;&gt;<br>        &lt;label for=&quot;Note&quot;&gt;Tell me why I should mentor you?&lt;/label&gt;<br>      &lt;/div&gt;<br>      &lt;div kw-show=&quot;fields.step != &#39;Mentoring&#39;&quot;&gt;<br>        &lt;label for=&quot;Note&quot;&gt;What is your message?&lt;/label&gt;<br>      &lt;/div&gt;<br>      &lt;textarea id=&quot;Note&quot; name=&quot;note&quot; rules=&quot;required&quot; rows=&quot;6&quot;&gt;&lt;/textarea&gt;<br>      &lt;div kw-show=&quot;fields.mentoring == &#39;Technical&#39;&quot;&gt;<br>        &lt;label for=&quot;Note2&quot;&gt;Tell me which skills do you want to aquire or approve?&lt;/label&gt;<br>        &lt;textarea id=&quot;Note2&quot; name=&quot;note2&quot; rules=&quot;required_if:mentoring,Technical&quot; rows=&quot;6&quot;&gt;&lt;/textarea&gt;<br>      &lt;/div&gt;<br>    &lt;/form-step&gt;<br>  &lt;/form&gt;<br>  &lt;script&gt;<br>  document.addEventListener(&#39;click&#39;, function (e) {<br>    for (var target = e.target; target &amp;&amp; target !== this; target = target.parentNode) {<br>      if (target.matches(&#39;.kw-multistep-button&#39;)) {<br>        var $form = document.querySelector(&#39;.form&#39;);<br><br>        if (target.classList.contains(&#39;kw-multistep-button-next&#39;)) {<br>          $form.classList.remove(&#39;step1&#39;);<br>          $form.classList.add(&#39;step2&#39;);<br>        }<br><br>        if (target.classList.contains(&#39;kw-multistep-button-previous&#39;)) {<br>          $form.classList.remove(&#39;step2&#39;);<br>          $form.classList.add(&#39;step1&#39;);<br>        }<br><br>        break;<br>      }<br>    }<br>  }, false);<br>  &lt;/script&gt;<br>&lt;/div&gt;</pre><h3>Conclusion</h3><p>The complete functioning form could be found on my <a href="https://www.silvestar.codes/contact/">Contact page</a>.</p><p>I have noticed one extra benefit-far fewer spams. Other benefits of adding a multi-step form using Kwes are::</p><ul><li>I didn’t have to spend too much time on design,</li><li>I didn’t have to spend too much time on validation, and</li><li>I didn’t have to spend too much time on development.</li></ul><p>With Kwes, everything is so easy and works as expected. You should give it a try.</p><p><em>Originally published at </em><a href="https://dev.to/starbist/how-to-create-a-multi-step-form-the-easy-way-51cp"><em>https://dev.to</em></a><em> on February 5, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c41e3745ed51" width="1" height="1" alt=""><hr><p><a href="https://itnext.io/how-to-create-a-multi-step-form-the-easy-way-c41e3745ed51">How to create a multi-step form the easy way</a> was originally published in <a href="https://itnext.io/">ITNEXT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The UI Development Mentoring Program]]></title>
            <link>https://itnext.io/the-ui-development-mentoring-program-bf060f27b293?source=rss-821762e31b6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf060f27b293</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[user-interface]]></category>
            <category><![CDATA[mentorship]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Silvestar Bistrović]]></dc:creator>
            <pubDate>Tue, 21 Jan 2020 16:02:22 GMT</pubDate>
            <atom:updated>2020-01-22T14:49:38.194Z</atom:updated>
            <content:encoded><![CDATA[<h4>Mentorship</h4><h4>Become an UI Developer</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LotVmMwZbM69S53OzJ1CSA.jpeg" /></figure><p>I had this idea for a while, and I have decided to give it a shot with mentoring. Last week I <a href="https://dev.to/starbist/do-you-think-remote-mentoring-could-work-2p2e">asked a question about mentoring on dev.to</a> and the community responded positively. This encouraged me to start my own mentoring program for UI developers.</p><p>Since I work remotely, I am talking about remote mentoring here. That means I would accept applications from all over the world.</p><blockquote>Note that I am located in Croatia, and I speak only English and Croatian. 🇭🇷</blockquote><h3>Background</h3><p>You could read more about me on <a href="https://www.silvestar.codes/">my personal site</a>, but here’s the short version.</p><p>I am an experienced web engineer who has been working with web technologies since 2011. I have started my career as a PHP backend developer. I slowly progressed to becoming a frontend developer, and now I work as a UI developer. I have been working in a local company and later in a local startup until 2017 when I started working as a remote freelance developer. I am also part of the <a href="https://www.toptal.com/#trust-nothing-but-brilliant-freelancers">Toptal talent network</a>.</p><p>Regarding my mentoring and teaching experience, I have organized coding school in a company where I used to work. I am writing a blog for years where I try to share some technical tips and techniques and my freelance experience. I did some online mentoring via <a href="https://www.codementor.io/@malimirkeccita/">Codementor</a> before. Currently, I am mentoring my friend to become a UI developer.</p><p>You could find more about my online presence by <a href="https://www.silvestar.codes/links/">visiting My links section</a> on my site.</p><h3>What is UI development</h3><p>UI development, or User Interface development, is part of the frontend web development that is focused on the user interface. The necessary skills needed for this role are HTML, CSS and JavaScript. Many other skills fall under this category like templating, naming conventions, best practices, optimizations, testing, cross-browser compatibility, and more. UI development in 2020 is not clearly defined, and that is what makes it hard, but also fun.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DCtVY47mrgTM_ODR.jpg" /></figure><p>Your main task as a UI developer is to present and deliver the content to every user on every device in the most accessible and most performant way. Sometimes you will slice PSD designs into templates, sometimes you will develop unique components, sometimes you will fix style bugs and errors. Developing user interfaces is always challenging, especially now in 2020, with so many different screens and devices to be targeted.</p><p>As a UI developer, you should be able to create modern, responsive and optimized websites. If you think about it, every website or web app need an interface. The user interface is the final layer presented to every user. It understands much more than HTML, CSS and JavaScript. It understands fonts, graphic assets, SVG, icons, animations, favicons, performance, painting, rendering, auditing, testing, and more.</p><p>UI skills are often overlooked, as I already <a href="https://www.toptal.com/css/why-you-need-a-css-developer">wrote about last year</a>, but it is, or at least it should be, a vital part of every project. These skills could be combined with other skills, and you could become a frontend or full-stack developer or even a UI designer-you are the one who decides.</p><h3>The programs</h3><p>There are two kinds of mentoring programs: one that is career-based and one that is skill-based.</p><p>The career-based mentoring program would be focused on UI developer role, and you could expect advice on what this role is, what to expect, and how to overcome challenges. I would try to provide honest opinions based on your skillset and my experience.</p><p>The skill-based mentoring program is designed as a set of levels where you would gradually acquire or improve skills needed for this role.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xi2Pijs82wwbnTiQ.jpg" /></figure><p>There are four levels, as I see them:</p><ul><li>basic level,</li><li>intermediate level,</li><li>advanced level, and</li><li>tools and soft skills.</li></ul><p>If you finish the basic level, you should be able to create a styled HTML document with a little bit of JavaScript functionality.</p><p>If you finish the intermediate level, your pages should be responsive. You should understand and use some advanced paradigms like naming conventions and third-party libraries.</p><p>If you finish the advanced level, you should be able to build pages with at least one system like WordPress or static page generator. You should understand how browsers work and apply the latest best techniques.</p><p>As a bonus point, I would like to engage you to use standard tools in development, like project management, versioning control and communication tools. Also, if you need advice on some soft skills like verbal or writing communication, I am here to help you.</p><p><a href="https://docs.google.com/document/d/1fqhbu3zX1V4LBjPxParJNzDjJwFecx3cQ3-b0vXHwBE/edit?usp=sharing">The full specification of the program stages could be found here.</a></p><h3>The process</h3><p>There is one important thing to note here: I am not a teacher, and I wouldn’t give lessons. I would, however, talk with you and answer your questions.</p><p>I would try to:</p><ul><li>make you think like a developer,</li><li>make you speak like a developer,</li><li>make you think about possible problems and how to avoid them,</li><li>help you reach your career goals.</li></ul><p>To be able to do this efficiently, we need to understand each other and respect each other. I appreciate my time; therefore, I would appreciate yours, and I would expect you to do the same for me. Having said that, I would share my calendar with you, and you would be able to arrange a session where we could talk in person. You could expect other forms of communication, like emails and Slack channels, too. Note that I might not be able to answer those in real-time.</p><h3>Requirements</h3><p>The only requirement for this program is your strong desire to become a UI developer. Your background or current skill level doesn’t matter. But know that <a href="https://www.silvestar.codes/articles/modern-frontend-developer-skills-and-tools/">a developer’s job requires constant learning</a>.</p><p>There won’t be “deadlines” because you should choose your own pace. We are all different. Maybe you decided to switch the profession, or you have other priorities. I don’t mind as long as you have the determination to become a UI developer.</p><h3>Apply now</h3><p>I have yet to decide how to charge for this program. One thing is for sure: you wouldn’t regret it, and it won’t be expensive.</p><p>If you are interested, please <a href="https://www.silvestar.codes/mentoring/">fill out the form</a>. Let’s start this journey together. 🙌</p><p><em>Originally published at </em><a href="https://www.silvestar.codes/articles/the-ui-development-mentoring-program/"><em>https://www.silvestar.codes</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf060f27b293" width="1" height="1" alt=""><hr><p><a href="https://itnext.io/the-ui-development-mentoring-program-bf060f27b293">The UI Development Mentoring Program</a> was originally published in <a href="https://itnext.io/">ITNEXT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to animate SVG signature]]></title>
            <link>https://itnext.io/how-to-animate-svg-signature-40adf8aa15c4?source=rss-821762e31b6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/40adf8aa15c4</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[svg]]></category>
            <dc:creator><![CDATA[Silvestar Bistrović]]></dc:creator>
            <pubDate>Thu, 09 Jan 2020 09:36:32 GMT</pubDate>
            <atom:updated>2020-01-09T09:36:32.822Z</atom:updated>
            <content:encoded><![CDATA[<h4>SVG Animation</h4><h4>Build animated SVG signature with JavaScript and CSS</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kvXG5Np4gJ_fpXSxoNCcDg.jpeg" /></figure><p>Let’s see how to animate SVG signature with a little bit of JavaScript and CSS. In this demo, I would show you how to use JavaScript function to calculate SVG path length and CSS animation to animate SVG strokes. You could see the final result on <a href="https://www.silvestar.codes/about-me/">About page</a> or <a href="https://codepen.io/CiTA/full/abzJqQv">CodePen</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*5pOzvEJ7IUEnJM1FoGd57Q.gif" /></figure><h3>SVG Signature</h3><p>Let’s start by creating an SVG signature. I am using Sketch to make SVG paths for letters. Here’s how it looks in Edit mode:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-wfeFnz4tSyNGF2ue5fgMw.png" /></figure><p>It contains eight different paths for different paths of signature. For example, one path represents the letter “S”, one path represents the dot, and so on.</p><p>Once I have exported the SVG from Sketch, I reordered paths in such a way that they appear as I want them to animate: first the letter “S”, then the dot, then the letter “B” and so on. Also, I have added autograph and autograph__path classes for easier JavaScript manipulation and styling. Here&#39;s the final file:</p><pre>&lt;svg class=&quot;autograph&quot; height=&quot;103&quot; viewBox=&quot;0 0 424 103&quot; width=&quot;424&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;<br>  &lt;g fill=&quot;none&quot; fill-rule=&quot;evenodd&quot; stroke=&quot;#000&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; stroke-width=&quot;3&quot; transform=&quot;translate(2 2)&quot;&gt;<br>    &lt;path class=&quot;autograph__path&quot;<br>    d=&quot;m52.9053119 30.5944651c4.4979146-5.981029 6.3597765-11.3263744 5.5855855-16.0360361-2.1621621-13.15315311-10.9863929-13.558429-15.4908974-13.558429-10.0900901 0-20 7.99987048-20.7253188 13.558429-3.0543891 23.4076405 31.8852386 28.5472234 30.7253188 52.441571-.9009009 18.5585586-12.9740033 27.7974004-25 29-12.6126126 1.2612613-28.33708674-6.8576105-27-18 .48048048-4.004004 5.81381381-7.6706707 16-11&quot; /&gt;<br>    &lt;path class=&quot;autograph__path&quot;<br>    d=&quot;m61.9059048 93.3815042c1.7863267-3.215388-4.287184-4.6444494-4.6444494-1.4290614-.3572653 2.143592 2.8581227 4.6444494 4.6444494 1.4290614z&quot; /&gt;<br>    &lt;path class=&quot;autograph__path&quot; d=&quot;m102 1c-1.633522 27.1862259-3.3001883 44.8528926-5 53s-7.033145 22.1471074-16 42&quot; /&gt;<br>    &lt;path class=&quot;autograph__path&quot;<br>    d=&quot;m100.288288 6.6036036c4.152508-3.963964 8.176532-5.945946 12.072072-5.945946 11.531532 0 17.63964 3.3423424 16.63964 14.3423424 0 13-12.06006 22.3543543-32 28 21.430945-5.8755744 31.400915 1.8721733 29.90991 23.2432432-1.081081 15.4954958-25.606607 24.6336338-48.90991 27.7567568 18.3783784-31.111111 44.546547-46.5975976 58-49 7.684578-1.3722461.201094 23.4415679-4 51 9.626744-23.6648293 10.754389-40.1268415 26.472991-48.7743243 3.062782-1.6849689 5.899902-2.8000991 9.527009-2.2256757 2.58117.4087788 5.287656.9554275 10 6-7-8-16.06468-6.1122883-19.527009-1.6121622-10.472991 13.6121622 15.527009 13.6121622 16.527009 29.6121622.666667 10.6666667-5.666667 16.3333333-19 17-16.664879 2.1642702 8.261928 6.47368 29-21 9.19448-12.1807945 18.19448-36.8474612 27-74-21.276288 33.987688-24.609621 65.6543547-10 95 21.886044-29.4751082 26.735893-49.2438774 35-51 9.609609-2.042042 6.726727 21.4504503 0 51 4.444444-39.2792794 18.42042-58.8078078 38-51-8.828829 2.1621621-15.315998 15.4560012-16.711712 28.1171176-1.126809 10.2217665 4.625073 22.8828824 11.711712 22.8828824 12.252252 0 19.279279-10.0010654 19.279279-20.5405401 0-23.0630631-9.234234-30.4594599-12.477477-30.4594599 12.432432 3.9639639 30.297297-6.8468469 31.198198 0 2.644012 20.0944903-19 51 5 51 22 0 19.936937-49.1981982 23-51 2.342343 8.6486486 18.480018-2.1232717 18 0-3.570281 15.7924726-11.376494 44.5410656-10 51 4.504505-13.1531532 17-47 45.900901-51.1711712 6.669031-.9625192 8.255066 5.4033441 3.963964 18.5585586 4.204205-13.3333334 2.882883-19.5195196-3.963964-18.5585586-13.059803 1.8329549-22.530745 8.0837151-28.69016 31.4759854-1.237235 12.5179014 1.692518 19.0829633 8.789259 19.6951858 4.616353.3982441 10.995909-1.7223734 19.138668-6.3618524&quot; /&gt;<br>    &lt;path class=&quot;autograph__path&quot; d=&quot;m178 30c11-4 54 6 73.734117 1.8554251&quot; /&gt;<br>    &lt;path class=&quot;autograph__path&quot; d=&quot;m419 1-21 27.333&quot; /&gt;<br>    &lt;path class=&quot;autograph__path&quot;<br>    d=&quot;m140.729905 31.3135042c1.786326-3.215388-4.287184-4.6444494-4.64445-1.4290614-.357265 2.1435921 2.858123 4.6444494 4.64445 1.4290614z&quot; /&gt;<br>    &lt;path class=&quot;autograph__path&quot;<br>    d=&quot;m360.729905 31.3135042c1.786326-3.215388-4.287184-4.6444494-4.64445-1.4290614-.357265 2.1435921 2.858123 4.6444494 4.64445 1.4290614z&quot; /&gt;<br>  &lt;/g&gt;<br>&lt;/svg&gt;</pre><p>It is vital to make SVG with strokes, as we are going to animate strokes. Every path or stroke has its length. We are going to use these strokes and lengths in our animation.</p><h3>JavaScript calculation</h3><p>To calculate the length of a stroke, we could use a manual method of guessing approximate length. We should use two dash attributes in this case:</p><ul><li>stroke-dasharray, which makes the stroke dashed, and</li><li>stroke-dashoffset, which pushes the stroke position out of the visible path.</li></ul><p>These two properties should be equal to make it work. Now we could try to guess how long is the stroke. But we are programmers, and we don’t have to guess: we could do it programmatically. Here’s the concept of how it should work:</p><ul><li>First, we set the overall desirable animation duration.</li><li>Next, we make use of <a href="https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/getTotalLength">getTotalLength()</a> function to calculate overall path length combined.</li><li>Next, we calculate animation durations and delays for each path by the ratio of the overall path length.</li><li>Next, we set stroke-dasharray and stroke-dashoffset which would position the dashed stroke outside of the visible path.</li><li>Finally, we start the animation by adding the class animated to the document body.</li></ul><p>Here’s the whole JavaScript function (with comments for easier understanding):</p><pre>const calcPaths = (totalDur) =&gt; {<br>  // unset &#39;animated&#39; class to body which will reset the animation<br>  document.body.classList.add(&#39;animated&#39;)<br><br>  // get all SVG elements - lines and dots<br>  const paths = document.querySelectorAll(&#39;.autograph__path&#39;)<br><br>  // prepare path length variable<br>  let len = 0<br><br>  // prepare animation delay length variable<br>  let delay = 0<br><br>  // escape if no elements found<br>  if (!paths.length) {<br>    return false<br>  }<br><br>  // set duration in seconds of animation to default if not set<br>  const totalDuration = totalDur || 7<br><br>  // calculate the full path length<br>  paths.forEach((path) =&gt; {<br>    const totalLen = path.getTotalLength()<br>    len += totalLen<br>  })<br><br>  paths.forEach((path) =&gt; {<br>    const pathElem = path<br><br>    // get current path length<br>    const totalLen = path.getTotalLength()<br><br>    // calculate current animation duration<br>    const duration = totalLen / len * totalDuration<br><br>    // set animation duration and delay<br>    pathElem.style.animationDuration = `${duration &lt; 0.2 ? 0.2 : duration}s`<br>    pathElem.style.animationDelay = `${delay}s`<br><br>    // set dash array and offset to path length - this is how you hide the line<br>    pathElem.setAttribute(&#39;stroke-dasharray&#39;, totalLen)<br>    pathElem.setAttribute(&#39;stroke-dashoffset&#39;, totalLen)<br><br>    // set delay for the next path - added .2 seconds to make it more realistic<br>    delay += duration + 0.2<br>  })<br><br>  // set &#39;animated&#39; class to body which will start the animation<br>  document.body.classList.add(&#39;animated&#39;)<br>  return true<br>}<br>calcPaths(5)</pre><blockquote><em>Be sure to check </em><a href="https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/getTotalLength#Browser_compatibility"><em>the browser compability</em></a><em> before you use this technique.</em></blockquote><h3>CSS Animation</h3><p>CSS Animation consists of setting the final stroke-dashoffset back to zero.</p><p>I have used linear for animation-timing-function and forwards for animation-fill-mode. The first attribute makes the animation linear, which seemed the most natural to me. The second one tells the animation to stay at 100% state.</p><pre>.autograph__path {<br>  opacity: 0;<br>  animation-timing-function: linear;<br>  animation-fill-mode: forwards;<br><br>  .animated &amp; {<br>    opacity: 1;<br>    animation-name: line;<br>  }<br>}<br><br>@keyframes line {<br>  100% {<br>    stroke-dashoffset: 0;<br>  }<br>}</pre><p>I have used opacity to prevent flick during the load time. It works better when used in combination with Critical CSS.</p><h3>Conclusion</h3><p>There you have it, an animated SVG signature. With a little bit of SVG, JavaScript and CSS knowledge, you could create appealing drawing animation. I have found more than a couple of plugins that handle animations like this one, but I always prefer using less code. I have made this demo in less than 100 lines of code. See the full demo here:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2FCiTA%2Fembed%2Fpreview%2FabzJqQv%3Fheight%3D600%26slug-hash%3DabzJqQv%26default-tabs%3Dhtml%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;url=https%3A%2F%2Fcodepen.io%2FCiTA%2Fpen%2FabzJqQv&amp;image=https%3A%2F%2Fscreenshot.codepen.io%2F156411.abzJqQv.small.8c4d728c-4999-4e16-962e-3632ea7356d5.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/09f635928bc8f6eda58d5e7a409e0404/href">https://medium.com/media/09f635928bc8f6eda58d5e7a409e0404/href</a></iframe><p><em>Originally published at </em><a href="https://www.silvestar.codes/articles/how-to-animate-svg-signature/"><em>https://www.silvestar.codes</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40adf8aa15c4" width="1" height="1" alt=""><hr><p><a href="https://itnext.io/how-to-animate-svg-signature-40adf8aa15c4">How to animate SVG signature</a> was originally published in <a href="https://itnext.io/">ITNEXT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>