Trusted answers to developer questions

How to write "Hello World" using jQuery

Get Started With Machine Learning

Learn the fundamentals of Machine Learning with this free course. Future-proof your career by adding ML skills to your toolkit — or prepare to land a job in AI or Data Science.

The first step of getting familiar with a new language is to write the simple “Hello World” program in it. jQuery is a lightweight JavaScript library that has simplified client-side webpage development by adopting a write less, do more ideology.

svg viewer

Library

You need to import this library:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js">

Code

In the code below, the temp ID is used to write “Hello World” using the HTML function:

RELATED TAGS

hello world
jquery
Copyright ©2024 Educative, Inc. All rights reserved
Did you find this helpful?