Designers Should Code: Build an App From Scratch

Original Source: https://www.webdesignerdepot.com/2022/05/designers-should-code-build-an-app-from-scratch/

A breakdown of a simple app, from UI design to deployment, that shows off why coding is a magic tool for designers.

Figma, Adobe XD, Photoshop, Wacom Tablet, sketchbook… all tools for interfaces and web designers, yes? Take 2 minutes, and try to remember why you want to become a designer and why you enjoy designing stuff.

Chances are it’s because you like to create; you’re a creative person. Maybe you started with artistic experiences as a child, then turned that creative energy into problem-solving while continuing to express it visually: You became a designer, a creative problem solver.

Today, I’ll try to show you how coding is an underrated tool to express your creative problem-solving mindset by building a real SVG generator from scratch. So let’s get into it!

Step 1: Don’t get an idea; solve a problem

We didn’t go into deep business considerations here, but seeing problems you face and deciding to solve them yourself is a great way to start.

During client work, I needed some SVG waves for illustrations. So I looked for a wave generator: There were a ton of wavy colorful wave generators with parametric inputs but no simple, perfect sine waves generator. I decided to draw it on my math tool GeoGebra and then export it to SVG.

Okay, but not fast. And we like to get our jobs done quickly. But wait… Why don’t we create a perfect sine waves generator? Without equations & boring math software to open, just a curve and an export button. You got it, now let’s design it.

Quick tips: If you are looking for a problem, look for memes in your field. They always show a deep, painful, well-known problem.

Step 2: Design the solution simple as possible

Two main rules: First rule, think about who will use it; the second rule, predict what they expect from how it works. So who? Front-end developers. What are they waiting for? A curve that can be edited with direct feedback and an export button.

Wireframe design

High-Fi design

A quick tip: You can grab the Figma design of the app for more technical tips on the design.

Step 3: Build it for real

As a designer, stopping at step two is perfectly fine. But imagine if you could build what you design! You already know you can create everything you want.

You can see coding as a way to translate your UI that will surely end with a .com application that is usable by everyone. This is why “best languages” don’t matter; coding is just a tool to express your creativity and build stuff for others. And as a designer, a creative person, this might sound…interesting.

UI to functionnal app

UI to functional app

Every web app interface can be translated from UI design to code with HTML/CSS/JS. There is how we can see the role of each of those 3 “languages”:

HTML: I want a button.

CSS: I want my button to look rounded.

JS: I want something to happen when I click on my button.

To build our app, I’ll use Svelte. Svelte is a JavaScript compiler that allows us to use all those three “languages” in one place. So, let’s see how code can translate our UI to functional things.

HTML button code

“Hey web browser, I want a button named “exportButton” and everything in a function named “downloadSVGpath” to be carried out when someone clicks on the button 🙂 Thanks”

CSS style button code

“Hey web browser, I want you to apply these style rules to my basic HTML button: I want a beautiful rounded corner at 16px, a mouse pointer when we hover it, I don’t want any borders, but I want a cool color gradient as a background color. Then, I want the font inside the button to have its color set to #fcfcfc and use the Inter typeface (bold, please). Like my Figma design, I also want to center stuff in the button and add padding. Oh, and add a subtle shadow 🙂 Thanks.”

Drawing SVG curve function

“Hey, web browser, each time our slider moves, I want to run this function: I want you to draw a curve inside a frame that I have defined inside my HTML code. I also want my curve stroke to look rounded at each cap and have a color and width I’ve defined inside variables. You will take the sine function parameters from the stored values of the sliders. Finally, while your x variable hasn’t reached the total width in the x-axis of our frame, you will solve the y-axis point position of the sine equation and draw the curve 🙂 Thanks.”

Quick tips: You can grab the source code files of the app to explore them.

Summary

Coding is just a tool that allows us to translate our very visual metaphors into something that everybody can use. How cool is that?!
Coding helps us to envision our design goals and forces us to see beyond the visual range: how is my button will be supposed to work? How does it look when hovering? How my popup modal can be designed for mobile devices?
Coding allows us to create the weird idea we designed “just for fun” instead of pushing the design case study into our portfolio under the “personal project” tag.
Coding shows us how much work is required to achieve what we designed. So we can better understand our design clients’ needs, challenges, and resource management.
Coding is flexible. You can replicate the Netflix website pixel perfect with pure HTML/CSS, the Vue Framework, or any other Web framework.

Source

p img {display:inline-block; margin-right:10px;}
.alignleft {float:left;}
p.showcase {clear:both;}
body#browserfriendly p, body#podcast p, div#emailbody p{margin:0;}

The post Designers Should Code: Build an App From Scratch first appeared on Webdesigner Depot.

Create Stunning Infographic With These Great Tips And Tutorials

Original Source: https://www.designsauthority.com/infographic-tutorials-tips/

Infographics are where data and information meet design. These graphic visual representations are able to quickly and effectively share knowledge with your audience. In Today’s post, you will learn how to create a stunning infographics with these very useful tutorials and articles. They will arm you with all the latest techniques and information to help … Read more

The post Create Stunning Infographic With These Great Tips And Tutorials appeared first on Designs Authority.

How to Learn JavaScript Fast: Six Simple Mind Tricks

Original Source: https://www.sitepoint.com/how-to-learn-javascript-fast/?utm_source=rss

Learning always takes more time than we’d like. If you’re learning JavaScript, these six mental tricks will help you get there faster.

Continue reading
How to Learn JavaScript Fast: Six Simple Mind Tricks
on SitePoint.

10 Cool Pure CSS Scrolling Text Animations

Original Source: https://1stwebdesigner.com/10-cool-pure-css-scrolling-text-animations/

Scrolling text on a website is almost as old as the internet. You may remember the days when marquees with horizontal scrolling text were all the rage, and we (some of us) thought it was one of the coolest things we’d seen on a website. Many years later we have left that, along with a collection of other relatively silly “web tricks”, behind, as technology and web development evolved into what we have to work with today. Now we no longer need Flash or some other bulky, clunky tools or code to make this happen.

In this post, we’ll show you a collection of scrolling text animations that are coded with only CSS – no JavaScript or anything else needed! Let’s take a look at some of the different ways this fun effect can be accomplished.

UNLIMITED DOWNLOADS: 500,000+ WordPress & Design Assets

Sign up for Envato Elements and get unlimited downloads starting at only $16.50 per month!

DOWNLOAD NOW

 

Hidden & scrolling text

Not just vertically scrolling, but also hidden. Hover over the window to check out this effect.

See the Pen
Hidden & scrolling text by Avaz Bokiev (@samarkandiy)
on CodePen.0

 

Breaking News Modal

A slow horizontal scrolling effect for breaking news.

See the Pen
Breaking News Scrolling Text Modal by KB (@notkieran)
on CodePen.0

 

Vertical scrolling word

A clean, smooth animation replacing a word in a line of text.

See the Pen
Vertical scrolling text by Azri Kahar (@azrikahar)
on CodePen.0

 

HTML marquee Tag

This one is so old school looking it’s a little painful.

See the Pen
HTML <marquee> Tag by Erna Ayuning Nareswari (@ashavenger)
on CodePen.0

 

Scrolling In A Window

A rotating words vertical scrolling effect.

See the Pen
Scrolling Text Window by Andretti Brown (@andrettibrown)
on CodePen.0

 

Horizontal scrolling animation

Another marquee effect very similar to the “good old days”.

See the Pen
Horizontal scrolling animation by VERDIEU Steeve (@flatpixels)
on CodePen.0

 

CSS3 Marquee

And yet another simple marquee effect.

See the Pen
CSS3 Marquee by Svetlin Yankulov (@Yankulov)
on CodePen.0

 

Moving Text – CSS Animation Setup w/ Marquee Tag

Multiple lines scrolling horizontally in different speeds and directions.

See the Pen
Moving Text – CSS Animation Setup w/ Marquee Tag by Chris Drinkut (@ChrisDrinkut)
on CodePen.0

 

Vertical Text Scroll

A combination of some previous examples, this one rotates through words vertically scrolling into view.

See the Pen
Vertically-scrolling Text by Matt Soria (@poopsplat)
on CodePen.0

 

Star Wars 3D Intro in CSS3

No collection would be complete without the Star Wars intro scrolling!

See the Pen
Star Wars 3D Intro in CSS3 by Scott Bram (@scottbram)
on CodePen.0

 

The Rise of GameFi in the Crypto World

Original Source: https://www.hongkiat.com/blog/gamefi/

Traditional games have given us such marvelous opportunities and endless enjoyment in exchange for our time and money. But things are about to change because GameFi is now a thing, and they will soon…

Visit hongkiat.com for full content.

The Easiest Way to Animate WordPress Websites: BeBuilder + Lottie

Original Source: https://www.sitepoint.com/the-easiest-way-to-animate-wordpress-websites-bebuilder-lottie/?utm_source=rss

The Easiest Way to Animate WordPress Websites: BeBuilder + Lottie

Lottie animation is the newest and most effective way to animate websites. Learn why Lottie with BeTheme creates better user experiences.

Continue reading
The Easiest Way to Animate WordPress Websites: BeBuilder + Lottie
on SitePoint.

10 Easy Ways To Graphic Design Without Even Thinking About It

Original Source: https://www.designsauthority.com/10-easy-ways-graphic-design-thinking/

A proper graphic design can enhance your business overnight. Now, the graphic designers have multitude of tools, which they are ready to master. It does not matter whether they are using Photoshop or Illustrator, it is mandatory for them to learn ways to use the tools well, for better results. And with little help, they … Read more

The post 10 Easy Ways To Graphic Design Without Even Thinking About It appeared first on Designs Authority.

15 Modal / Popup Windows Created With Only CSS

Original Source: https://1stwebdesigner.com/15-modal-popup-windows-created-with-only-css/

Do you need a modal popup on your website when a user clicks a link or button? We typically see these in use for logins, newsletter signups, advertising, and more. Most often they are created using a bit of JavaScript trickery, but these days they can relatively easily be coded with only CSS. In this post we’ll show you 15 examples of various ways this can be accomplished. Let’s have a look!

The UX Designer Toolbox

Unlimited Downloads: 500,000+ Wireframe & UX Templates, UI Kits & Design Assets
Starting at only $16.50 per month!


DOWNLOAD NOW

 

CSS Responsive Modal

This responsive example adjusts to the browser size and goes full screen on smaller devices.

See the Pen
CSS Responsive Modal by Thom Griggs (@thomgriggs)
on CodePen.0

 

CSS Modal

This example includes some smooth animations on open and close actions.

See the Pen
CSS Modal by Pete Nawara (@petebot)
on CodePen.0

 

CSS Modal :target Selector

A clever use of the :target selector to open a popup simply by toggling it’s opacity.

See the Pen
CSS Modal :target Selector by Jake Albaugh (@jakealbaugh)
on CodePen.0

 

Pure CSS Modal Box

Interesting use of labels and inputs to create a modal popup.

See the Pen
Pure CSS modal box by Kasper Mikiewicz (@Idered)
on CodePen.0

 

Pure CSS Modal

A really nice animation to open a full screen modal popup.

See the Pen
Pure CSS Modal by Mark Holmes (@SMLMRKHLMS)
on CodePen.0

 

Pure CSS Modal Popup

Another use of a label and input to utilize the checked state to show the modal.

See the Pen
Pure CSS modal by Austin Lord (@ohnoitsaustin)
on CodePen.0

 

Pure CSS Modals

Four different entry and exit animations are shown in this example.

See the Pen
Pure CSS Modals by Akshay (@akzhy)
on CodePen.0

 

Pure CSS Modal

Smooth animations highlight this example.

See the Pen
Pure CSS Modal – #15 by Ivan Grozdic (@ig_design)
on CodePen.0

 

Three CSS Modals

Three variations of background opacity are in this example.

See the Pen
CSS Modals (Modal v2) by Abubaker Saeed (@AbubakerSaeed)
on CodePen.0

 

CSS3 Modal Example

This modal popup slides up when it’s opened.

See the Pen
css3 modal example by Felipe Nunes (@willpower)
on CodePen.0

 

Pure CSS Modal window / Login & Sign up / Tabs / All Responsive

There is a LOT going on with this one, including tabs on the modal popup and responsive design throughout.

See the Pen
Pure CSS Modal window / Login & Sign up / Tabs / All Responsive by Andrew (@AndrewBeznosko)
on CodePen.0

 

CSS Modal

Another example using the :target selector, with a slide down modal entrance.

See the Pen
Css Modal by Jon Ander Pérez (@JonAnderDev)
on CodePen.0

 

Pure CSS modal dialog with sliding content

A somewhat simple setup, but with a content slider in it.

See the Pen
Pure CSS Modal + Slider by Marvin Orendain (@marv117)
on CodePen.0

 

CSS Modal Boxes for all browsers

A version that goes deep into older browser support.

See the Pen
CSS Modal Boxes for all browsers by Patrick (@cara-tm)
on CodePen.0

 

Modal (CSS Only)

For our final selection, we have a pretty standard modal popup with a smooth animated entrance and exit.

See the Pen
Modal (CSS only) by Simon (@Index)
on CodePen.0

 

Illustrator 3D Textured Text Effect Tutorial For Beginners

Original Source: https://www.designsauthority.com/illustrator-3d-textured-text-effect-tutorial-beginners/

One way to really make flyers and brochures stand out is with a 3D text effect on the front/cover. A text with a 3D effect added really pops off the page and draws the eye. Adding your own 3D effect to text is not as difficult as it may sound, especially if you can follow … Read more

The post Illustrator 3D Textured Text Effect Tutorial For Beginners appeared first on Designs Authority.

Collective #710

Original Source: https://tympanus.net/codrops/collective/collective-710/

Collective 710 item image

Inspirational Website of the Week: Erin Wesley

Elegance and sophisticated design elements, fine typography and lovely effects make this website a great web experience.

Get inspired

Collective 710 item image

[Array Builder]

Array Builder is a free tool to visualize the returned values of array transformations and computations made from map/filter/reduce.

Check it out

Collective 710 item image

Grid Tile Patterns

Daniel Velasquez is exploring infinite patterns made from grids.

Check it out

Collective 710 item image

Building a combined CSS-aspect-ratio-grid

Nils Binder shares the solution to a tricky problem using CSS aspect-ratio.

Read it

Collective 710 item image

Scrollex

Scrollex is a react library that lets you build beautiful scroll experiences using minimal code.

Check it out

Collective 710 item image

Fundomo

A fantastic project made by Julian Garnier made with Three.js and Anime.js. Read more about it here.

Check it out

Collective 710 item image

David: Creative Developer

The amazing portfolio of David Heckhoff made with fantastic WebGL 3D animation.

Check it out

Collective 710 item image

Building Table Sorting and Pagination in Alpine.js

Learn how to build a sortable, paged, dynamic table in Alpine.js. By Raymond Camden.

Check it out

Collective 710 item image

Using the Web Audio API to Turn my Keyboard into an Instrument

Tania Rascia shows how she built Keyboard Accordion with Svelte to make a musical keyboard.

Read it

Collective 710 item image

Stacks

Stacks provides everything you need to quickly design, build, and ship coherent experiences across all of Stack Overflow.

Check it out

Collective 710 item image

Contextual Spacing For Intrinsic Web Design

Stephanie Eckles shows how to use adaptive, contextual spacing techniques to deal with the unpredictability of browser environments.

Read it

Collective 710 item image

Dark side

Learn how to code a dark mode toggle that persists in the browser. By Roy Quilor.

Check it out

Collective 710 item image

RemixPress

RemixPress is a presentation layer built with React, Remix, MUI and GraphQl that works with Wordress as a headless CMS.

Check it out

Collective 710 item image

lists.sh

A simple microblog for lists.

Check it out

Collective 710 item image

Planby

Planby is a React based component that lets you implement your own Timeline. Learn more about it in this tutorial by Karol Kozer.

Check it out

Collective 710 item image

Snipli

A command-line interface for quickly sharing code snippets of your local files.

Check it out

Collective 710 item image

Internet spring cleaning: How to delete Instagram, Facebook and other accounts

Some tips on how to remove online clutter and delete your accounts on some social media platforms, specifically, the ones who use and abuse your data.

Read it

Collective 710 item image

Just Join IT

A new job board for Europe’s tech industry.

Check it out

Collective 710 item image

User friendly web games

A collection of user friendly web games that are not overly addictive.

Check it out

Collective 710 item image

Building a JavaScript Bundler

Learn the basics of building a JavaScript bundler in this tutorial by Christoph Nakazawa.

Check it out

Collective 710 item image

Deep Dive into Text Wrapping and Word Breaking

Learn about all the different ways to control how text wraps with CSS.

Read it

Collective 710 item image

Textualize

Projects that help make the terminal more powerful and beautiful.

Check it out

Collective 710 item image

Mechanical Watch

A beautifully illustrated guide on how to build a mechanical watch by Bartosz Ciechanowski.

Check it out

Collective 710 item image

From Our Blog
Inspirational Websites Roundup #37

A special selection of the most creative websites with the finest designs from the past couple of weeks to keep you up-to-date on the current trends.

Check it out

Collective 710 item image

From Our Blog
Image Trail Animation for an Intro

An experimental concept with an initial loader, a trail effect and an intro screen that animates to a new layout using GSAP’s Flip plugin.

Check it out

The post Collective #710 appeared first on Codrops.