DEV Community

Avinashd
Avinashd

Posted on

Js in bits - 1(script)

Learning js should be fun. It is fun if it's easy.
I tried my best in writing this, to understand it the easy way.

<script>

To write js in html, we can use script tag.

Image description

Other ways to use script tag
1, Write javascript in a .js file and link it with src
2, Add a CDN link to src inside script tag

Image description

Leave y'r thoughts....

Top comments (0)