Javascript Timers and Javascript Wait Functions: Handling Execution Times

Dynamic content, or content that changes when a user interacts with a web page, is an integral part of the modern web experience. Javascript provides web users with a more engaging web experience by making it easy to create dynamic content.

A key aspect of creating dynamic content is making sure that the changing parts of a web page happen at the proper time. When dynamic Javascript effects occur at the wrong times, parts of a web page can become inaccessible, too much content can crowd the screen at once, and users can experience other problems.

The Javascript standard provides two different functions to control dynamic timing: setTimeout() and setInterval(). Each function defines specific times that dynamic events should happen; they work differently and are best used in different contexts..



Continue Reading

Javascript Hub: Strategies to Create Dynamic Web Pages

Javascript is a vital part of dynamic content on the modern web. From simple scripts to complex interactions that require frameworks, Javascript enhances user experiences on the web.

There are two major types of Javascript, and this Udacity Javascript hub covers both. The first type is “vanilla” Javascript, scripts you can write using the basic rules in the Javascript standard. The second type is framework-driven Javascript that creates complex content building upon others’ frameworks, like Angular and React or libraries like FusionCharts.

This Javascript hub contains easy-to-follow guides on a wide range of Javascript topics. Most articles provide sample code to demonstrate how Javascript works in the real world.

This hub is meant to be a comprehensive resource, so we will add new content as it’s published. Check back here for more Javascript content.



Continue Reading

Quick and Easy Guide to CSS Hex Color

The value of color is immeasurable for a designer of any aptitude. In the world of website design, it can be an important selling point for both the designer and end-user alike. Any range from vibrant reds and yellows to shallow grays can make an impact on the overall experience provided by the content. Color is the proverbial hammer that can hit the design nail on the head.

Using CSS, a designer can take generally bland HTML code and transform it into something that really makes the code pop on the page. Using simple color definitions such as “red,” “blue,” or “orange” can definitely do the trick.  

However, there is a massive world of color out there — with just the perfect shade you need. In this easy-to-follow guide, you will learn how to unlock those color options using the power of CSS Hex Codes.



Continue Reading

SQL Coalesce — Weeding Through The NULLs

Relational databases store information in tables — with columns that are analogous to elements in a data structure and rows that are one instance of that data structure. In SQL, a table cell without a value contains a special marker, NULL, which is not the same as zero, an empty string, or any other kind of value that works with equality tests; i.e. NULL != 0, NULL != "“, etc. The SQL Coalesce statement is one way of processing these NULL values for common uses like text processing.



Continue Reading

C++ Classes Explained

C++ likely would not exist without classes. As the original C programming language grew more decipherable, C++ was born. Because C++ was built entirely with objects in mind, C++ uses classes to make it easy to work with objects. Classes and objects became the building blocks C++ uses for creating streamlined and easy-to-read code.

What exactly is a C++ class, and how does it tie into making it easy to use, follow and compile code? We’re glad you asked.



Continue Reading