Business Websites

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 290 times, 1 visits today)
Comments

Like what you see?
Get more free content.

Next Up In Business Websites

Business Designed by Meg, Supported by Thryv

Business Websites

Business Designed by Meg, Supported by Thryv

For years, Meg Labaziewicz was the go-to person for friends and family members looking to freshen their space or...

Read More

Customer Experience Excellence: 5 Thryv Users Who Are Doing It Right

Business Websites

Customer Experience Excellence: 5 Thryv Users Who Are Doing It Right

Thriving as a small business is no easy feat; however, Thryv’s award-winning software makes it a breeze. With a...

Read More

Thryv’s New Business Scan Scores Your Customers’ Online Experience

Back Office

Thryv’s New Business Scan Scores Your Customers’ Online Experience

What do customers and prospects think about their online experience with your business? We’ve developed a free do-it-yourself business...

Read More