How to add a class to the last paragraph element using jQuery?

Yaswanth Varma
Updated on 19-Jan-2024 11:56:34

41 Views

jQuery is a well-known JavaScript library that makes it easier to manipulate HTML elements, handle events, and carry out numerous operations on web pages. Adding or changing HTML element classes can also be done using jQuery. Using it, we can easily add a new class to the last paragraph element. Let’s dive into the article to learn more about adding a class to the last paragraph element using JQuery. This can be done by using the addclass() method and append() methods. Let’s discuss them one by one. jQuery addclass() method One or more class names are added to the ... Read More

Geography of Sri Lanka

Mukesh Kumar
Updated on 19-Jan-2024 11:53:36

28 Views

Off the southeast coast of India is the substantial island nation of Sri Lanka. Its official name now is the Democratic Socialist Republic of Sri Lanka, but up until 1972, it was known as Ceylon. Instability and ethnic warfare have plagued the nation for a very long time. The island of Sri Lanka is thought to be the geologically most southerly extension of peninsular India (the Deccan), with which it shares a continental shelf and several of its fundamental lithologic and geomorphic traits. Nine tenths of the island's surface and subsoil are made up of crystalline, hard rock ... Read More

Geography of Tahiti Island

Mukesh Kumar
Updated on 19-Jan-2024 11:52:30

35 Views

A tropical refuge in the South Pacific is called Tahiti. Tahiti's jagged volcanic highlands, lush rainforests, and beautiful lagoons surrounded by coral reefs captivate tourists. Tahiti is well known for its stunning scenery and unique cultural history. Tahiti Iti, which is more remote and inaccessible and can only be reached by boat or foot, and Tahiti Nui, which is more populous and home to the vibrant capital city of Papeete, are the two separate sections of the island. A few examples of the diverse natural vegetation that the island's favourable environment, which is characterized by abundant rainfall and high temperatures, ... Read More

Geography of Western Sahara

Mukesh Kumar
Updated on 19-Jan-2024 11:49:51

33 Views

Western Sahara is almost entirely desert and has a very small population. Among the most important mosques and kasbahs in Western Sahara are those in the town of Semara (Smara). The former colonial capital of Laayoune serves as the main city. Although there isn't much farming in the area, dried fish is shipped to the Canary Islands along with raising camels, goats, and sheep. Agracha and other locations are sources of potash and iron ore, while Bu Craa, southeast of Laayoune, is home to enormous phosphate resources. The lack of water, however, creates issues with phosphate extraction. After ... Read More

Geography of Zanzibar Island

Mukesh Kumar
Updated on 19-Jan-2024 11:48:42

57 Views

Off the coast of East Africa, the magnificent archipelago of Zanzibar may be found in the Indian Ocean. Zanzibar has become a well-liked destination for tourists looking for both adventure and relaxation because of its magnificent white sand beaches, clear turquoise waters, and a variety of marine life. The archipelago is made up of a number of islands, the most prominent of which are Unguja, sometimes called Zanzibar Island, and Pemba Island. Zanzibar's unusual species, such the Zanzibar leopard and the Zanzibar red colobus, are evidence of the island nation's extensive past. Tropical monsoon weather ensures nice temperatures ... Read More

Geography of Maldives

Mukesh Kumar
Updated on 19-Jan-2024 11:46:44

14 Views

Maldives, also known as the Maldives Islands, is an independent island nation in the northern Indian Ocean. It is made composed of an atoll-like network of roughly 1, 200 tiny coral islands and sandbanks (200 of which are inhabited). More than 510 miles (820 km) from north to south and 80 miles (130 km) from east to west are covered by the islands. The centre region, which includes the capital island of Male (Male'), is roughly 400 miles (645 km) southwest of Sri Lanka, while the northernmost atoll is roughly 370 miles (600 km) south-southwest of the Indian ... Read More

Geography of Mauritius

Mukesh Kumar
Updated on 19-Jan-2024 11:44:24

19 Views

The island nation of Mauritius, which is located in the Indian Ocean, has a beautiful scenery with a central plateau encircled by coral reefs and breath-taking white sand beaches. The island has a tropical climate with two distinct seasons and trade winds. Despite having little mineral resources, the nation's economy is based on manufacturing sectors including textile and food processing as well as agriculture, particularly sugarcane. Although not particularly tall, Mauritius' mountains are significant and add to the island nation's natural beauty. Unique bird species and conservation efforts for endangered species are among the island's rich flora and ... Read More

Geography of Mayotte (France)

Mukesh Kumar
Updated on 19-Jan-2024 11:43:02

33 Views

One of the world's largest coral lagoons, covering more than 1000 square kilometers, is located inside the Mayotte region. The islands of the territory are encircled by a broad fringing reef that is split by many waterways, and they are located in the Mozambique Channel between Madagascar and the African continent. The health of Mayotte's coral reefs has plummeted during the last 20 years, similar to other coral reefs across the world. Cyclones and crown-of-thorns starfish are two natural dangers to the reefs, but the growing population of the islands is doing the most of the damage. The ... Read More

Geography of Nigeria

Mukesh Kumar
Updated on 19-Jan-2024 11:42:01

44 Views

On the western coast of Africa is the country of Nigeria. Nigeria has a varied topography and equatorial climates with a wide range of humidity. Nigeria is most diversified in its population, nevertheless. Its northern border is Lake Chad, and its southern beach runs along the Gulf of Guinea. Some of Nigeria's major geographical features include the Adamawa Plateau, Mambilla Plateau, Jos Plateau, Obudu Plateau, Niger River, Benue River, and Niger Delta. The country is rich in natural resources, with significant deposits of petroleum and natural gas. The "Giant of Africa" label is widely used to describe Nigeria. Nigeria's ... Read More

Geography of North America

Mukesh Kumar
Updated on 19-Jan-2024 11:39:45

23 Views

North America is the third largest continent, as well as is also a portion of what is known as the third largest supercontinent if both North and South America are combined into the Americas and Africa, Europe, along with Asia are considered to be part of one supercontinent called Afro-Eurasia. Physical Features It has an estimated 580 million people and 24, 709, 000 km2 in size. The vast island of Greenland, located in the northeast, as well as the numerous small island nations and territories that dot the Caribbean Sea and western North Atlantic Ocean make up the continent. ... Read More

Advertisements