GoConqr has a new look! Let us know what you think.

Module 4 of 15 · Media

Inline Js

Kostas Diakogiannis

Inline Js

How to connect JS with our HTML document?

 

There are 3 ways to include a JS script to your webpage. Inline, internal and external. Let's take a look at each,and see how.

1. Inline JavaScript. Include different javascript code for every html element. Highly inefficient and not recommended. Wasted performance. Direct connection though.

Take notice that you must have placed an external script to the head of your HTML file (see external js for that).

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?