Introduction to JavaScript

4.4
stars
30 ratings
Offered By
Coursera Project Network
1,938 already enrolled
In this Guided Project, you will:

Describe the purpose of JavaScript.

Write and test a simple JavaScript program.

Compare inline and external JavaScript.

Clock1 hour and 45 minutes
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this beginning-level course you will discover where JavaScript fits into the world of web development. Through hands-on exercises, you will use the Notepad++ text editor to embed JavaScript code to an existing HTML document. As you code a simple JavaScript program to provide user interaction you will learn to recognize and apply syntax rules and coding standards associated with JavaScript. The final activity in the course has you moving your JavaScript code into an external file so that you can compare inline and external JavaScript. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

HtmlInline JavaScriptNotepad++External JavaScriptJavaScript

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Discuss how JavaScript fits into the world of web development.

  2. Add the HTML script element to an HTML document in preparation for adding JavaScript code.

  3. Describe the various syntax rules and coding standards that typically apply to JavaScript code.

  4. Write the JavaScript code to prompt for a name and display a greeting on the screen.

  5. Explain the difference between inline and external JavaScript in terms of storage and application.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Reviews

TOP REVIEWS FROM INTRODUCTION TO JAVASCRIPT

View all reviews

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.