Select an Account to Sign In

DexHub

Text & Email | Appointment Scheduling | Customer Database

Sign In

MyDex Account

Pay Bills | View Reporting | Manage Your Listings

Sign In

Learn the Lingo – What is JavaScript?

By | 02.06.13

JavaScriptLearning more about how the web works, and how it can benefit your business can help push your business further. This post will briefly discuss what JavaScript is and how it’s used.

What is JavaScript

JavaScript is a lightweight scripting language that can be inserted into HTML pages. It is used to make websites more dynamic and interactive. JavaScript can be used for alerts, form validation, replacing a CSS class, and much more. JavaScript is not to be confused with Java, an object oriented programming language that is very different in concept and design. Let’s explain what that means with an example.

<button type="button" onclick="alert('Welcome to SuperMedia!')">Click Me!</button>

An external JavaScript reference looks like this:

<script type="text/javascript" src="my-file.js"></script>

JavaScript is rendered client-side, meaning it runs when the browser hits the page and HTML is rendered. JS is built into all major web browsers, which include FireFox, Safari, and Internet Explorer. When a user visits your site and they are using a browser that supports JS, and have JS enabled, then it will render your script successfully. These web browsers have JavaScript enabled by default, however, the user has the ability to disable this feature.

Learning the Lingo

JavaScript – JS
Cascading Style Sheets – CSS
Hypertext Markup Language – HTML

Comment

Like what you see?
get more free content.

Next Up In Business Websites

Is your website a turn-off? It may be affecting conversion.

How is your website performing? Most business owners track visits to their website on a weekly or monthly basis....

Read More

5 Local Business Website “Must-Haves”

We don’t have to pull up your search history to know most local business owners have, at one point...

Read More

7 Resources To Optimize Your Website

Way to go, you’ve got a website for your business! It looks shiny, tells your business’ story, lists all...

Read More

Explore the Blog