Found 8895 Articles for Front End Technology

How to set a Variable to equal nothing in SASS?

Tarun Singh
Updated on 10-May-2023 13:10:42

382 Views

SASS or Syntactically Awesome Style Sheets, is a very popular preprocessor scripting language among developers that are used to enhance the functionality of CSS. SASS allows the developers to use variables, nesting, mixins, and some other advanced features that are not available in CSS. One of the key features of using SASS is the feature of declaring variables, which are nothing but placeholders for the values that we can reuse throughout our web application stylesheet. Variables help save time and effort for the developers enabling them to update multiple values at once just by making the code more readable and ... Read More

How to select values from a JSON object using jQuery?

Tarun Singh
Updated on 10-May-2023 13:01:39

5K+ Views

JSON or JavaScript Object Notation is a lightweight format used for data interchange between web applications and servers. It provides a simple and easy-to-read structure that can be parsed and generated easily by machines. JSON is often used as an alternative to XML because it is more compact and easier to work with. In this article, we see how to select values from a JSON object using jQuery with different approaches. What is a JSON object? A JSON object consists of a collection of key-value pairs separated by colons. Here keys are known as strings and the values are of ... Read More

How to scroll the page up or down using anchor element in jQuery?

Tarun Singh
Updated on 10-May-2023 12:58:20

3K+ Views

jQuery is a popular JavaScript library that simplifies the process of manipulating HTML documents, handling events, and creating animations. In this article, we'll see how to scroll the page up or down using the anchor elements in jQuery. We sometimes encounter large content pages on websites and to go to a specific section, we want to perform the scrolling in the page up or down. To solve this problem, there are several ways to achieve this, but using anchor elements is one of the easiest and most straightforward methods. Apart from this, we’ll see the scrollTop and animate to perform ... Read More

How to rotate shape loader animation using CSS?

Tarun Singh
Updated on 10-May-2023 12:52:12

2K+ Views

In this article, we’ll see how to rotate shape loader animation using CSS. Loading animations of different shapes is an essential part of a web app as it helps the users stay engaged while they wait for a website to load. There are multiple animations that one can add to a web page or application, one popular type of loading animation is the rotating shape loader. This animation has good features in which a shape is spinning continuously until the web page is fully loaded. Moving ahead, we are going to use a different approach to rotate the shape loader ... Read More

How to select the last row of a table using jQuery?

Tarun Singh
Updated on 10-May-2023 12:48:30

2K+ Views

jQuery is a widely used tool in JavaScript that simplifies the process of manipulating HTML documents and doing other tasks related to website development. In this article, we will see how to select the last row of a table using jQuery. Along with this, we’ll know different approaches to performing this task. Why Selecting the Last Row of a Table is Important? Let's see why we need to select the last of a table and why it becomes an important task. So basically when developers need to change or modify their new data into the existing table dynamically, it ensures ... Read More

How to design initial letter of text paragraph using CSS?

Tapas Kumar Ghosh
Updated on 10-May-2023 15:19:38

2K+ Views

We have seen in various chapters of many books guiding on how to design the first letter of word using CSS. In CSS we can use the ::first-letter pseudo-element to design the first initial letter of a text paragraph. This allows us to apply particular styles to the initial letter of the first line of a block-level element. For example, we may make the initial letter larger, a different font, or a different color from the rest of the text. Syntax p::first-letter{ property_name : value_name; } first-letter − The first letter is defined as the pseudo-element ... Read More

How to display a link using only CSS?

Tapas Kumar Ghosh
Updated on 10-May-2023 15:14:32

222 Views

To disable the link of any website, we use the properties of CSS like pointer-event set to none, and then the cursor can be set to default which will disable the active link and the users cannot access the links. Sometimes the link has to be disabled to bring some updates or security to the website. The government or organization is the best suited for this example, whenever they need any updation required in the backend of the website they simply disable the link. In this article, we will display how to display a link using only CSS. Syntax ... Read More

How to create a Basic collapsibles using jQuery Mobile

Aman Gupta
Updated on 09-May-2023 17:04:17

110 Views

Overview The jQuery mobile provides the enhanced version of the simple jQuery, as the jQuery mobile provides responsive content and designs for all types of screens. So before starting to build the collapsible we should know about the feature. A collapsible is a web component which statically shows the heading or main content of the data and on clicking the heading it expands and shows the whole information about the heading. We can also build the collapsible using normal jQuery but it will not provide the responsive design and layout. jQuery Mobile Content Delivery Network (CDN) Links Before starting to ... Read More

How to create animations using relative value in jQuery

Aman Gupta
Updated on 09-May-2023 17:02:29

292 Views

Overview The relative values are the values which are incremented or decremented with respect to any units. In the relative while performing the animation the object is not reset to its initial position but it starts growing from its current state. So to create a relative value animation can be achieved by using the jQuery ‘animate()’ method with any selector element. So we will learn how to use the relative value with animate method in jQuery with an example which will help you to learn about the relative value and animation. Syntax The syntax of the animate() method with respect ... Read More

How to Create an Animated Typing Effect using typed.js

Aman Gupta
Updated on 09-May-2023 17:00:08

3K+ Views

Overview Typed.js is an animation library supported by java script and other scripting languages. It provides the typing animation effect to the text. We can use this library by adding the CDN link of the library or by installing it using node package manager (NPM) or yarn. It gives a webpage with the typing animations in any paragraph or headings. So to know more about the typed.js typing animation effect. To use the animation the types.js provides a constructor named as typed() which takes two arguments as input. Syntax The syntax used to create the object of the constructor types ... Read More

Advertisements