Select an Account to Sign In

Thryv

Text & Email, Appointment Scheduling, Customer Database

MyDex Account

Pay Bills, View Reporting, Manage Your Listings

Business Websites

Learn the Lingo – What is JavaScript?

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

(Visited 251 times, 1 visits today)
Comments

Like what you see?
Get more free content.

Next Up In Business Websites

Honeypot Technique of Blocking Spam

In an earlier post I discussed the mystery of forms. Preventing spam on your blog or website can be...

Read More

8 Signs It’s Time to Revamp Your Website

As a business owner, you have lots of things on your plate. So as long as your website is...

Read More

[Video] Why Your Website Needs a Mobile-First Design

Did you know 88% of online customers won’t return to a website after a bad experience? Now, try viewing...

Read More

Explore the Blog