Friday, November 22

Author: phpInfo

UX And HTML5: Let’s Help Users Fill In Your Mobile Form (Part 2)
Web Tricks

UX And HTML5: Let’s Help Users Fill In Your Mobile Form (Part 2)

UX And HTML5: Let’s Help Users Fill In Your Mobile Form (Part 2)UX And HTML5: Let’s Help Users Fill In Your Mobile Form (Part 2) Stéphanie Walter 2018-08-27T14:00:31+02:00 2018-08-27T20:14:44+00:00 In this second part, I want to focus more on mobile-specific capabilities. HTML5, for instance, has brought us a lot of really cool features to help users fill in mobile forms and format their data. We will see in detail how HTML5 attributes can help you with that. Then, we will go beyond “classic” form elements and see how to use mobile capabilities such as the camera, geolocation and fingerprint scanners to really take your mobile form experience to the next level ...
3 Essential Design Trends, September 2018
Web Tricks

3 Essential Design Trends, September 2018

While this tends to be the time of year when things start to slow a bit in the design world, there are still trends that are worth paying attention to as you plan future projects. One element that stands out quite distinctly is the use of the color purple in projects. This trend deserves a mention of its own (see No. 3) but also note the use of the color in examples from other projects in the other featured trends as well. Here’s what’s trending in design this month: 1. Elaborate Illustrations There’s just something about an elaborate illustration that draws the eye into a design. There’s a need to see all of the details and understand the intricacy of each line. Whether it’s a “designer thing” or not, illustrations are an interesting way to draw users into a website design. The more elab...
Popular Design News of the Week: August 20, 2018 – August 26, 2018
Web Tricks

Popular Design News of the Week: August 20, 2018 – August 26, 2018

Every week users submit a lot of interesting stuff on our sister site Webdesigner News, highlighting great content from around the web that can be of interest to web designers.  The best way to keep track of all the great stories and news being posted is simply to check out the Webdesigner News site, however, in case you missed some here’s a quick and useful compilation of the most popular designer news that we curated from the past week. Note that this is only a very small selection of the links that were posted, so don’t miss out and subscribe to our newsletter and follow the site daily for all the news. The Case for Slow Design   Why We Redesigned Our Website … Again   Ode to Gray   Introducing Ghost 2.0   WordPress is at a Crossroads   How to Grow as a Junior UI Designer   Thing...
CSS Tricks

Using CSS Clip Path to Create Interactive Effects, Part II

One of the biggest drawbacks of CSS clipping, at the time of writing, is browser support. Not having 100% browser coverage means different experiences for viewers in different browsers. We, as developers, can’t control what browsers support — browser vendors are the ones who implement the spec and different vendors will have different agendas. One thing we can do to overcome inconsistencies is use alternative technologies. The feature set of CSS and SVG sometimes overlap. What works in one may work in the other and vice versa. As it happens, the concept of clipping exists in both CSS and SVG. The SVG clipping syntax is quite different, but it works the same. The good thing about SVG clipping compared to CSS is its maturity level. Support is good all the way back to old IE browsers. Most...
Google Tag Manager Form Tracking: 7 Ways To Reach Your Goal
Google Tag Manager

Google Tag Manager Form Tracking: 7 Ways To Reach Your Goal

Updated: August 24th, 2018. While talking with marketers, I noticed that one of the most popular topics among them is form tracking. Unfortunately, in some cases form tracking might become a real pain in the butt (especially if a marketer has no clue what CSS or HTML is). But do not fear because in this blog post I’ll show you 7 Google Tag Manager form tracking techniques. Hint: some of them will require the developer’s input, but I’ll try my best to put everything in plain English.   Chapters of this blog post: Google Tag Manager Form Tracking – Basic Context Tag + Trigger Which Google Tag Manager Form Tracking Method Should You Choose? #1. Google Tag Manager Form Tracking With Form Auto-Event Listener #2. “Thank You” Page Tracking With Google Tag Manager #3. AJAX Form Tracking With Goog...
What is Conversion Linker in Google Tag Manager?
Google Tag Manager

What is Conversion Linker in Google Tag Manager?

Updated: August 24, 2018. In June 2017, Apple announced Intelligent Tracking Prevention (ITP), an initiative aimed at limiting third-party trackers from capturing cross-site browsing data and it will be launched really soon (or maybe it already is? Honestly, I’ve lost the track). This might become a problem for those who are using Google Ads (previously known as Google Adwords) because the ITP will block cookies which are an essential part of G Ads Conversion Tracking. In response, Google introduced several ways how to decrease the impact of the Intelligent Tracking Prevention. Conversion Linker Tag is one of those solutions. Do you need it? Everything is explained in this blog post. SUBSCRIBE & GET THE ULTIMATE LIST OF 120+ GOOGLE TAG MANAGER RESOURCES. FROM A TO...
CSS Tricks

::before vs :before

Note the double-colon ::before versus the single-colon :before. Which one is correct? Technically, the correct answer is ::before. But that doesn't mean you should automatically use it. The situation is that: double-colon selectors are pseudo-elements. single-colon selectors are pseudo-selectors. ::before is definitely a pseudo-element, so it should use the double colon. The distinction between a pseudo-element and pseudo-selector is already confusing. Fortunately, ::after and ::before are fairly straightforward. They literally add something new to the page, an element. But something like ::first-letter is also a pseudo-element. The way I reason that out in my brain is that it's selecting a part of something in which there is no existing HTML element for. There is no <span> around ...
A Basic WooCommerce Setup to Sell T-Shirts
CSS Tricks

A Basic WooCommerce Setup to Sell T-Shirts

WooCommerce is a powerful eCommerce solution for WordPress sites. If you're like me, and like working with WordPress and have WordPress-powered sites already, WooCommerce is a no-brainer for helping you sell things online on those sites. But even if you don't already have a WordPress site, WooCommerce is so good I think it would make sense to spin up a WordPress site so you could use it for your eCommerce solution. Personally, I've used WooCommerce a number of times to sell things. Most recently, I've used it to sell T-Shirts (and hats) over on CodePen. We use WordPress already to power our blog, documentation, and podcast. Makes perfect sense to use WordPress for the store as well! What I think is notable about our WooCommerce installation at CodePen is how painless it was, while doing...
Making Distributed Product Teams Work More Efficiently With monday.com
Web Tricks

Making Distributed Product Teams Work More Efficiently With monday.com

Making Distributed Product Teams Work More Efficiently With monday.comMaking Distributed Product Teams Work More Efficiently With monday.com Nick Babich 2018-08-23T14:00:26+02:00 2018-08-23T12:23:54+00:00 (This is a sponsored article.) The way that product teams work is changing: The software industry is quickly moving to remote work. In the US alone, 43% of employed Americans have spent at least some time working remotely, and that number has steadily increased in recent years. Many successful digital products on the market today were designed and developed by a distributed team. Such teams don’t have an office in the traditional sense. Everyone chooses to wor...
Laravel

How Do You Protect .env File From Public ?

How Do You Protect env File From Public :-If your are a developer and developing any app on laravel or Symfony then you certainly is familier with a file named as .env file  which is present in your root folder of laravel or Symfony directory. We use this file to store secret information about our app including app_key , database connection, payment gateway information or mailer information etc. Or to put in simple words we do not want anyone unauthorised person to have access to this .env file. So how to proetct .env file from public access? How Do You Protect env File From Public Protect env file In simple words your env is accessible from out side world using the following lines when you type them in google search engine you will get certain result as follows:- DB_USERNAME filetype:...
Using feature detection to write CSS with cross-browser support
CSS Tricks

Using feature detection to write CSS with cross-browser support

In early 2017, I presented a couple of workshops on the topic of CSS feature detection, titled CSS Feature Detection in 2017. A friend of mine, Justin Slack from New Media Labs, recently sent me a link to the phenomenal Feature Query Manager extension (available for both Chrome and Firefox), by Nigerian developer Ire Aderinokun. This seemed to be a perfect addition to my workshop material on the subject. However, upon returning to the material, I realized how much my work on the subject has aged in the last 18 months. The CSS landscape has undergone some tectonic shifts: The Atomic CSS approach, although widely hated at first, has gained some traction through libraries like Tailwind, and perhaps influenced the addition of several new utility classes to Bootstrap 4. CSS-in-JS exploded in p...
Web Tricks

Designing The Invisible: 3 Things I Learned Designing For Voice

Designing The Invisible: 3 Things I Learned Designing For VoiceDesigning The Invisible: 3 Things I Learned Designing For Voice William Merrill 2018-08-22T14:00:44+02:00 2018-08-22T12:45:32+00:00 The current iteration of voice-controlled digital assistants are still struggling to integrate as seamlessly as the big three voice players of Amazon, Google and Apple would hope. A 2017 report by Voicelabs states there’s only a 3 percent chance a user will be active in the second week after downloading a voice application and 62 percent of Alexa’s skills are still to get any kind of rating on its store (as of September 2017). As designers, we have a real opportunity t...
5 Ways to Boost Local SEO
Web Tricks

5 Ways to Boost Local SEO

Let’s not beat around the bush, local SEO is hard. If you represent a business in a large city and you’re aiming for a top 3 maps business listing (the Snack Pack), then it’s even harder. You can spend many stressful hours tailoring every little aspect of your site, trying to achieve this and lose sanity along the way wondering where you’ve gone wrong. It can be a very lonely place. An important thing to do to retain your sanity is to be realistic and confront a few honest truths. no one knows with full certainty…who will make it into the coveted snack pack One of those truths is that no one knows with full certainty, how, or who will make it into the coveted snack pack for any given search query. Not the best SEO specialists, not the people working at Google—I’m not even convinced Google...
CSS Tricks

CSS Logical Properties

A property like margin-left seems fairly logical, but as Manuel Rego Casasnovas says: Imagine that you have some right-to-left (RTL) content on your website your left might be probably the physical right, so if you are usually setting margin-left: 100px for some elements, you might want to replace that with margin-right: 100px. Direction, writing mode, and even flexbox all have the power to flip things around and make properties less logical and more difficult to maintain than you'd hope. Now we'll have margin-inline-start for that. The full list is: margin-{block,inline}-{start,end} padding-{block,inline}-{start,end} border-{block,inline}-{start,end}-{width,style,color} Manuel gets into all the browser support details. Rachel Andrew also explains the logic: ... these values have moved aw...
Web Tricks

Testing Angular with Jasmine and Karma (Part 1)

Our goal In this tutorial we will be building and testing an employee directory for a fictional company. This directory will have a view to show all of our users along with another view to serve as a profile page for individual users. Within this part of the tutorial we'll focus on building the service and its tests that will be used for these users. In following tutorials, we'll populate the user profile page with an image of the user's favorite Pokemon using the Pokeapi and learn how to test services that make HTTP requests. What you should know The primary focus for this tutorial is testing so my assumption is that you're comfortable working with TypeScript and Angular applications. As a result of this I won't be taking the time to explain what a service is and how it's used. Instead, ...