Select an Account to Sign In

Thryv

Text & Email, Appointment Scheduling, Customer Database

MyDex Account

Pay Bills, View Reporting, Manage Your Listings

Learn the Lingo – What is JavaScript?

By | 02.06.13
Learn the Lingo – What is JavaScript?

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

The Silent SEO Killer: Site Load Time

Laundry. After a weekend of knocking out chores, running errands, and cleaning the house, it always seems to be...

Read More

The Need-to-Know for Web Design: Kick Yours Up a Notch in 2017

How do you decide if you have a “good” website? You don’t. Your website isn’t judged by you, it...

Read More

What Percentage of Small Businesses Still Don’t Have a Website?

“I’m going to start my own business,” you said. “It’ll be fun,” you thought. Then the harsh reality set...

Read More

Explore the Blog