Nikhilesh Aleti has Published 97 Articles

Create a paragraph element with some text and append it to end of document body using jQuery

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 09-Feb-2024 11:59:33

3 Views

In this article, the task is to create a paragraph element with some text and append it to end of document body using jQuery. Using jQuery, it is easy to add new elements/content in a particular position inside an HTML document. We have four methods that are used to add ... Read More

How to remove event handlers in JavaScript?

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 25-Oct-2023 13:59:39

23K+ Views

An event is defined as a change in an object's state. There are a number of events in HTML that show when a user or browser performs a certain action. JavaScript responds to these events when JavaScript code is embedded in HTML and allows execution. The process of responding to ... Read More

How to compare two objects in JavaScript?

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 13-Sep-2023 15:50:19

23K+ Views

Objects in JavaScript is an entity, where it consists of properties and type. Let’s consider sports as an object, in Car the properties can be color, price, height, width, etc. Exactly the same also happens in JavaScript, which has objects and contains properties to them. Const car = { ... Read More

From JSON object to an array in JavaScript

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 12-Sep-2023 03:27:16

34K+ Views

The JSON (JavaScript object notation) Object can be created with JavaScript. JSON Object is always surrounded inside the curly brackets {}. The keys must be in strings and values must be in valid JSON data type. The data types like string, number, object, Boolean, array, and Null will be supported ... Read More

Convert an image into Blur using HTML and CSS

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 07-Sep-2023 15:14:08

403 Views

In general, blur is a visual effect of human eye that happens when the viewer cannot be able to see the details of the object clearly. In HTML, we can apply the blur effect to elements on webpage (such as images) using CSS properties. To do so, we use the ... Read More

Converting string to an array in JavaScript

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 02-Sep-2023 15:45:46

45K+ Views

The task we need to accomplish is converting an input string to an array in JavaScript. Whenever we try to break a string word into characters or a sentence into words – splitting into arrays, we have some built-in methods to convert string to an array. In this article, we ... Read More

How to create Olympics logo using HTML and CSS?

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 31-Aug-2023 14:52:59

390 Views

The given task in this article is to create an Olympics logo using only HTML and CSS. The “Olympic logo” consists of five circles (with five different colors such as blue, black, red, yellow, and green) which are intertwined by equal dimensions. These five colored rings represent the five inhabited ... Read More

How background attribute is deprecated in HTML5?

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 31-Aug-2023 14:50:47

74 Views

In this article, we will discuss about the background attribute and how it is deprecated in HTML5. What is Background Attribute? In HTML, the “background” can be used as an attribute with an HTML element (such as div, table, body etc.). We can specify an image to set background of ... Read More

Flip the text using CSS

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 29-Aug-2023 17:43:21

1K+ Views

Flipping is a technique that can transform or mirror an element on a particular axis (horizontal or vertical). We can flip the text using CSS instead of using JavaScript. There are various ways to flip a text, some of them are listed as follows − Horizontal text flip Vertical ... Read More

Fading Text Animation Effect Using CSS3

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 29-Aug-2023 17:41:52

994 Views

Fading is a visual representation of a gradual transition between two states of visibility. We can perform this fading animation using the @keyframes rule and opacity property in CSS3. The @keyframes rule can be used with the opacity property to control the fading CSS animation sequence by defining styles for ... Read More

1 2 3 4 5 ... 10 Next
Advertisements