Categories
JavaScript

JavaScript for optimizers #20: Testing optimized phone fields

In this article, we will be testing optimized phone fields according to Baymard. It involves disabling auto-correction, getting the right keypad with numbers, and setting the right autocomplete.

Categories
JavaScript

JavaScript for optimizers #19: Testing optimized e-mail fields

In this article, we will be testing out optimized e-mail fields according to Baymard. It involves disabling auto-correction, getting the right keypad, and auto-capitalization.

Categories
JavaScript

JavaScript for optimizers #17: Adding a back-to-top button

In this article, we will be adding a back-to-top button.

We’re going to apply the changes below:

We are adding a back-to-top button
We are adding a back-to-top button
Categories
JavaScript

JavaScript for optimizers #16: Adding a site-wide benefits bar

In this article, we are adding a site-wide responsive benefits bar with JavaScript.

Our hypothetical case for this chapter is about adding benefits to a website. UX research from CXL showed that adding benefits underneath the header can be an effective way of communicating your unique selling points (USPs) to a visitor.

Categories
JavaScript

JavaScript for optimizers #15: Creating image elements

In this article, we are creating image elements with JavaScript.

Our hypothetical case for this chapter is about maintaining a modern, relevant design. Some websites might look outdated because of the lack of modern design elements. Large hero images can give your website a boost in that aspect.

Categories
JavaScript

JavaScript for optimizers #14: Adding unique selling points

In this article, we will be adding unique selling points to your webpage with JavaScript.

Research from CXL showed that the benefits listed with bullet points are most memorable and most preferable. 

Categories
JavaScript

JavaScript for optimizers #13: Refresh page button

Let’s create another way to refresh with a refresh page button!

This blog post will take you through the process of adding a button that will refresh the page while ignoring the cache.

Categories
JavaScript

JavaScript for optimizers #12: Copy to clipboard button

Losing your coupon code sucks. A copy to the clipboard button would have saved me the hassle of convincing the customer service that I received one.

Our hypothetical case for this chapter is about adding a copy to a clipboard button for users that get a coupon code offered on a webpage.

Categories
JavaScript

JavaScript for optimizers #11: Show and hide divs on click

In this article, we want the user to show and hide divs on click.

Our hypothetical case for this chapter is about giving the user the freedom to hide the elements they don’t want to see.

Categories
JavaScript

JavaScript for optimizers #9: Adding and removing button icons

In this article, we are retaking a look at icons like the previous article. Sometimes changing the icon isn’t enough. What if you need to remove or add an icon? Our hypothetical case for this chapter is about adding and removing button icons.