Need to do Dependency-Free Ajax?

One of the big reasons to use jQuery, for a long time, was how easy it made Ajax. It has a super clean, flexible, and cross-browser compatible API for all the Ajax methods. jQuery is still mega popular, but it’s becoming more and more common to ditch it, especially as older browser share drops and new browsers have a lot of powerful stuff we used to learn on jQuery for. Even just querySelectorAll is often cited as a reason to …


Need to do Dependency-Free Ajax? is a post from CSS-Tricks

How to Allow Users to Add Favorite Posts in WordPress

Do you want to allow users to add favorite posts in WordPress? Allowing users to add favorite posts offers another way for them to engage with your content. In this article, we will show you how to easily allow users to add favorite posts in… Read More »

The post How to Allow Users to Add Favorite Posts in WordPress appeared first on WPBeginner.

27 Best Hotel WordPress Themes with Beautiful Designs (2017)

Building a website for your hotel doesn’t have to be hard. WordPress hotel themes makes it easy for you to start your hotel website, so more travelers can book your hotel directly from your website. In this article, we will show you the best WordPress… Read More »

The post 27 Best Hotel WordPress Themes with Beautiful Designs (2017) appeared first on WPBeginner.

How to Automatically Post to Facebook From WordPress

Do you want to automatically post to Facebook from your WordPress site? Facebook is the largest social media platform in the world with more than a billion users. It is also one of the largest source of traffic for many websites. In this article, we… Read More »

The post How to Automatically Post to Facebook From WordPress appeared first on WPBeginner.

Introduction to Web Audio API

Web Audio API lets us make sound right in the browser. It makes your sites, apps, and games more fun and engaging. You can even build music-specific applications like drum machines and synthesizers. In this article, we’ll learn about working with the Web Audio API by building some fun and simple projects.

Getting Started

Let’s do some terminology. All audio operations in Web Audio API are handled inside an audio context. Each basic audio operation is performed with audio …


Introduction to Web Audio API is a post from CSS-Tricks

The Document Outline Dilemma

For the past few weeks there has been lots of talk about HTML headings in web standards circles. Perhaps you’ve seen some of the blog posts, tweets, and GitHub issue threads. Headings have been part of HTML since the very first websites at CERN, so it might be surprising to find them controversial 25 years later. I’m going to quickly summarize why they are still worth discussing, with plenty of links to other sources, before adding my own opinions …


The Document Outline Dilemma is a post from CSS-Tricks

Build a Custom Serverless CMS: Part 2

In our previous proof-of-concept demo, we built a bare bones admin for generating a web page with the ability to edit some text on the page and set the site title and description. For this next demo, we build on our example and add rich text editing and image upload capabilities.

Article Series:

  1. Build a Custom CMS for a Serverless Static Site Generator + Repo
  2. Build a Custom Serverless CMS: Part 2 (you are here!) + Repo

Rich Text Editing…


Build a Custom Serverless CMS: Part 2 is a post from CSS-Tricks

Simple Little Use Case for `vmin`

Viewport units are things like 10vw (10% of the viewport width) or 2vh (2% of the viewport height). Useful sometimes, as they are always relative to the viewport. No cascading or influence by parent elements.

There is also vmin, which is the lesser of vw and vh, and vmax, which is the greater. These values can be used for anything that takes a length value, just like px or em or % or whatever.

Let’s take a look at a …


Simple Little Use Case for `vmin` is a post from CSS-Tricks