CSS Overflow: How to Fix Text Overflow
The overflow shorthand CSS property fixes what needs to be done when the content of your element is too large to fit in the block formatting. Basically, it’s an abbreviation for overflow-y and...
View ArticleBrief Introduction to Functional CSS
If you haven’t heard about Functional CSS (or Atomic CSS/utility classes/Immutable CSS… it really doesn’t have a defined name), it’s the idea that instead of writing large monolithic chunks of CSS, you...
View ArticleCSS Buttons: How to Create Styled & Responsive Buttons
Every web user has encountered buttons on web pages and in forms. Most are fairly unremarkable, but with buttons styled with CSS, you can create beautiful websites. There are plenty of styles you can...
View ArticleCreate a 2020 Calendar Using CSS
In this article, I will show you the easy process of building a calendar with Cascading Style Sheets (CSS). Calendars can be quite important on a website for displaying and storing data. Users might be...
View ArticleHow to Optimize Your Website Performance
Websites that are slow to load leave a bad taste in the mouth of not only visitors but search engines as well. Poorly performing sites discourage repeat visitors, cause users to bounce off of pages,...
View ArticleCreate a Multi-level Drop-down Menu in Angular 11
The very first article I wrote was about related drop-downs. The demo featured three drop-downs for selecting automobiles. The drop-downs contained Makes, Models, and Trim Levels, so that “Honda” ->...
View ArticleImplement Keyboard Navigation on Custom Angular Controls
One of the advantages to using Angular Material controls is that they come with accessibility baked in. As such, they include role and aria-* attributes, as well as support for standard keyboard...
View ArticleOOP in JavaScript with Classes
JavaScript (JS) is a wonderfully quirky language. Inspired by Smalltalk, it uses a C-like syntax that combines aspects of procedural, functional, and object-oriented programming (OOP), all thrown...
View ArticleCreating Responsive Grid Layouts with Flexbox
Back in the late twentieth century, the de facto tool for arranging web content in rows and columns was not CSS at all, but the table! This worked very well for years, until responsiveness became a...
View ArticleUnderstanding Z Index in CSS
One of the most common problems with visual elements when designing a website or layout is the superposition or stacking of elements. Fortunately, we have a solution to this problem when designing in...
View ArticleBasic Chatbot in Javascript
In this web development tutorial, we will see how to create a basic chatbot using HTML, CSS, and vanilla JavaScript. This exercise is focused on JS fundamentals rather than any kind of Artificial...
View ArticleBinding CSS Styles to Events in Angular Applications
Angular lets you conditionally set both classes and styles via the ngClass and ngStyle directives respectively. Overall, these work very well. However, there are some instances where they cannot be...
View ArticleA Guide to CSS Variable Scoping in Angular
In the Binding CSS Styles to Events in Angular Applications article we learned a couple of techniques for dynamically styling elements in Angular, including the use of CSS variables. The great thing...
View ArticleStyling Form Controls with CSS
Part 3: Styling Form Controls with CSS In this series on Web Forms, we’ve been learning how to use various form controls to collect data from your users. In the first and second installments we...
View ArticleCSS for Labels, Buttons and Form Interactions
Part 4: CSS for Labels, Buttons and Form Interactions In the last installment of this series on Web Forms, we explored some of the most commonly employed CSS attributes to style form elements. Today’s...
View ArticleStyling Radio Buttons and Checkboxes in HTML Forms
Build a Web Form with HTML – Part 5 In this series on Web Forms, we’ve been learning how to create and style various form controls. The last installment covered how to style labels and buttons, as...
View ArticleHTML, CSS and JavaScript Tools and Libraries
Libraries provide standard functionalities so that developers do not need to worry about creating standard functions from scratch. With these libraries, we can create stunning web pages with language...
View ArticleCustomizing Multi-select Lists with CSS
Build a Web Form with HTML – Part 7 In this series on Web Forms, we’ve been learning how to create and style common form controls. In the last installment, we learned how to customize the standard...
View ArticleUsing an Angular Service to Read Sass Variables
Sass – short for Syntactically Awesome Style Sheets – is a CSS compiler that simplifies the writing CSS. It’s a popular choice among Angular developers because, besides greatly reducing the amount of...
View ArticleMath Functions in CSS
CSS math functions allow mathematical expressions to be used as property values. Each of these mathematical functions can be used in unexpected ways, such as within gradients and color functions, but...
View Article