UX Design8 minute read

Coding for Designers: How Much Should We Know?

Much of the design community is wondering: does graphic design require coding? Some favor seeking out the unicorns who can do both, design and coding, while others claim they don’t exist or only get in the way.


Toptalauthors are vetted experts in their fields and write on topics in which they have demonstrated experience. All of our content is peer reviewed and validated by Toptal experts in the same field.

Much of the design community is wondering: does graphic design require coding? Some favor seeking out the unicorns who can do both, design and coding, while others claim they don’t exist or only get in the way.


Toptalauthors are vetted experts in their fields and write on topics in which they have demonstrated experience. All of our content is peer reviewed and validated by Toptal experts in the same field.
Jon Vieira
Verified Expert in Design

Jônatas is a detail-oriented digital art director who uses UI, UX, visual and motion design to make technology simple for everyone.

Read More

Expertise

PREVIOUSLY AT

Meta
Share

Take something at which you excel then push yourself further.

A large section of the design community is locked in debate over whether designers should code. Some favor seeking out the unicorns who can do both, while others claim they don’t exist, or only get in the way.

Many designers think that designers and developers need to collaborate, but each discipline should stick to what they know. Others see no problem with professionals wearing multiple hats. Many developers see designers who code a threat, while others see them as welcome collaborators who have learned to speak their language.

The sweet spot, which is called “shared understanding,” is probably somewhere in the middle. Knowing a bit about code doesn’t mean a designer has to become an expert coder, but simply understand a developer’s perspective.

The UI, or the “presentation layer” is a designer’s playground, but focusing on that alone is akin to only considering the facade of a building. Great designers understand that being familiar with the technological underpinnings that deliver their designs not only makes a designer more impressive, it significantly boosts their career prospects.

As Aaron Walter, VP of Design Education at InVision, stated in a Toptal Design Talks article: “It’s not going to kill a designer if they knew a little bit about how to write some HTML and CSS, maybe a little bit of JavaScript.”

Designers who code are better collaborators.

The whole “should designers learn to code” topic is hotly debated. Though some great designers are also good at coding, many believe that undivided focus on a particular skill, such as web designing, will make a professional stronger. Many also believe that today, being a multi-skilled designer is a big plus, and that there should be nothing in the way of a designer having another useful skill, such as coding, under their belt.

The question is, how much coding should designers know? Would designers be wasting their time, or crossing boundaries into the developer’s territory and potentially stepping on toes?

The Benefits of Knowing Basic HTML and CSS

Designers would benefit greatly from acquiring some foundational knowledge of what’s called the “front end” (the presentation layer) driven by HTML (Hyper Text Markup Language) and CSS (Cascading Style Sheets, a language that describes the component styles in an HTML document), and would perhaps be surprised by how easy it is to learn the basics of UI code.

HTML and CSS don’t involve programming logic. The letter M in HTML stands for “Markup,” a way to describe the coded structure of page elements which are the building blocks of pages. HTML with CSS and JavaScript, form a triad of foundational technologies for the World Wide Web.

Designers could merge knowledge of programming and design.

In layman’s terms, HTML is an architectural map that tells the browser what to display, and CSS, or Cascading Style Sheets, is the code that tells the browser how to display things.

Metaphorically speaking, if HTML is the skeleton of a page, CSS would describe the height, the body shape, the skin, eye color, hair color, etc. The language has a very simple code structure that determines typography, colors, positions and dimensions.

Understanding Code and How to Code Is Understanding Pixels

Learning how to code the front-end UI and previewing it, gives designers the opportunity to immediately see how things are displayed when viewed on various devices. If designers play with HTML and CSS, they’ll notice that everything is measured in pixels (there are other measurement units such as “ems” and percentages that will ultimately be converted to pixels).

Understanding measurements and code structure, i.e., how pages are displayed, will provide a deeper understanding of the front-end development process. That in turn will cause designers think more deeply about their designs and how to make them more efficient for that process. They will know what can be easily achieved and what would be more challenging.

Coding for designers is a great asset.

Front-end JavaScript and Ajax Know-how Make a Designer a Unique Asset

This is where things can start to get complicated, but it’s also where a lot of fun happens. If a designer is an analytical thinker, or exceptionally motivated, they’ll get a lot out of learning JavaScript and Ajax (Asynchronous JavaScript and XML). Why?

Demonstrating front-end UI technical knowledge and being conversant in Ajax will go a long way to earning the respect of developers. Being able to reference JavaScript and Ajax and how to use them will boost a designer’s ability to articulate a particularly sophisticated design idea to developers, e.g., the design of a specific functionality in the UI.

A designer’s perspective will broaden if they are comfortable knowing exactly how far technology can take them, and how far they can push it to innovate. Going deep into coding and various technologies is not necessary—if a designer knows the basics of HTML, CSS and JavaScript, with a sprinkling of Ajax, they’ll already be miles ahead of the competition. A coding designer will be a unique asset to any company and the product team.

About programming and design

Designers Can Take It to the Next Level with JavaScript Basics

Although designers could stop here and have the back end (the data access layer) implemented by developers, they can make a design more dynamic by adding some scripting. Enter JavaScript (a scripting language), which is a programming language for the web.

In the early 2000s when the web was still evolving, agencies such as Fantasy and Firstborn made a big impression on the web design community when they took advantage of JavaScript in unusual, innovative, and creative ways.

JavaScript can update and change both HTML and CSS, and can calculate, manipulate, and validate data. It can be used to display dynamic interactions, animate elements, create responsive communication with the back end or server, and more.

There is no limit to what can be accomplished with JavaScript in front-end development. It is a programming language: functions, objects, logic, conditionals, math, math, and more math—which can be a little challenging for some. But it’s not that hard to learn, especially considering what the majority of clients require.

Why is JavaScript important for designers?

Learning to Code Will Improve Collaboration with Developers

Would romantic relationships be easier if men and women could read each other’s minds? Some people think so. The same thing applies to designers and developers.

Knowing how developers think, and what they need to be able to do their job, will make a designer a great asset to any multidisciplinary team. This approach is useful for internal communications as well as idea pitches because they will have more of an idea about what to expect from the other members of the team. If designers can do this, they will be in a much better position to propose more robust solutions to clients.

Designers Who Code Will See More Job Opportunities

In every design job opportunity, knowing how to code can make a big difference in the screening processes as well as the day to day work. At Toptal, we see a bunch of opportunities for professionals with this hybrid profile, and startups out there are eager to find people that can take over both the design and front end of their early-stage applications.

Coding for designers is an advantage.

Still, there are some designers and programmers who dislike one another prying into each other’s business. Some may be threatened, some may be challenged, and some may be too lazy to learn something new. But the truth is, each should analyze their options, and focus on what will increase their chances of success.

Designers may not have enough time to learn everything, but knowing vanilla HTML and CSS should be enough to add a significant distinction between a flourishing career and a dead-end one. It should be a quick and easy process for designers to take the first steps. The more they know, the more they can expand their horizons when it comes to job opportunities.

Should Designers Learn to Code?

Adaptability and flexibility working with other teams, the ability to tackle a variety of projects, and a wide set of skills with which to take on various responsibilities is always in high demand. Is there a designer anywhere who wouldn’t want to have an edge over others when it comes to highly-coveted jobs at exciting startups, or big established tech companies?

Designers have their approaches, processes, arsenal of design tools, and deliverables, but that’s only part of the equation. Exploring, and garnering an understanding of how UI designs are delivered using various digital technologies, can take designers to the next level and boost their ability to deliver great designs.

Increasingly, more and more work opportunities in the design field include “nice-to-haves” such as basic web-development and prototyping skills using HTML, CSS, and JavaScript. It’s for each designer to decide how much to take on; clearly the need is out there.

Designers who code see more job opportunities.

Is AI Going to Eliminate Front-end Developers?

One question remains though: Is coding for designers going to stay relevant in the longer term? There is an inkling among designers that with AI and machine learning, designers will soon be able to design without code. Just drag-and-drop and move things around on the screen, then press a button and AI codes the whole thing. In other words, jobs for these types of front-end developers will quickly disappear.

Where designers are concerned, the answer may lie in thinking short-term vs long-term. In the near future, AI will not take over, and designers who code may still be in high demand. For the short term, designers who want to stand out should keep certain basic coding skills such as JavaScript and Ajax in their arsenal.

Mastery of Coding for Designers Will Boost Careers

UI designers who have a desire to grow and boost their skillset have a few options at their disposal. They can brush up on a variety of design skills and move into other roles such as visual design, UX, or even UX research. They can also incrementally climb the ladder into more senior, principal, lead, manager, and director-level roles.

However, to really boost their careers, designers may want to delve more into development. Acquiring deep knowledge of various technologies that drive digital products today will equip them with a highly desirable set of skills. That in turn will open more doors to job opportunities at companies big and small.

Should designers code? Maybe, maybe not. But designers who code, or at least demonstrate deep knowledge of various technologies, will become a great asset to any multidisciplinary team, and it will definitely pay off in the long run.

Understanding the basics

  • Do UX designers need to code?

    UX designers who code can demonstrate front-end coding knowledge and JavaScript concepts would earn the respect of developers. Designers who can blend programming and design, even a little, can make themselves a great asset to any multidisciplinary team and will see more doors open to greater job opportunities.

  • Should designers learn to code?

    Learning to code for designers is not necessary. But if they know a bit about code, they can understand a developer’s perspective. It doesn’t mean that they have to be an expert coder. But it would greatly benefit them if they knew a little about how to code HTML and CSS, maybe a little bit of JavaScript.

  • Why is JavaScript important?

    JavaScript is an important programming language because it can be used to display dynamic interactions on web pages. As a scripting language, it’s used by nearly 95% of all websites. Web developers can integrate the scripts seamlessly into HTML to make web pages interactive and respond to users instantaneously.

  • What is the purpose of using JavaScript?

    JavaScript enables web developers to create dynamic and interactive web apps. It can be used to display dynamic interactions between the front end and the back end without reloading a page, such as animating elements, pulling data from various sources, and performing math calculations to display relevant data.

  • What is difference between front end and back end?

    The front end, a.k.a. the “presentation layer,” is what people see in a user interface (UI) on various devices, and the back end is where data resides. The terms front end and back end refer to the separation of concerns between the presentation layer (front end), and the data access layer (back end).

Hire a Toptal expert on this topic.
Hire Now
Jon Vieira

Jon Vieira

Verified Expert in Design

London, United Kingdom

Member since October 28, 2015

About the author

Jônatas is a detail-oriented digital art director who uses UI, UX, visual and motion design to make technology simple for everyone.

Read More
authors are vetted experts in their fields and write on topics in which they have demonstrated experience. All of our content is peer reviewed and validated by Toptal experts in the same field.

Expertise

PREVIOUSLY AT

Meta

World-class articles, delivered weekly.

Subscription implies consent to our privacy policy

World-class articles, delivered weekly.

Subscription implies consent to our privacy policy

Join the Toptal® community.