Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by Adeeba Khan
20 articles
How to make an svg scale with its parent container
SVG, or Scalable Vector Graphics, is a markup language built on XML used to create vector graphics. Unlike raster images (JPG, PNG), SVG images are resolution-independent and can be scaled to any size without losing quality. This makes them ideal for responsive web design where graphics must adapt to various screen sizes and containers. What is SVG? SVG is an XML-based markup language for creating vector graphics. Vector graphics are composed of shapes, lines, and curves defined by mathematical equations rather than pixels. This mathematical foundation allows SVG images to be infinitely scalable while maintaining crisp edges and ...
Read MoreHow to make an image draggable in HTML?
The ability to create draggable elements within a web page is one of the new features that HTML5 offers for web developers. It becomes a very popular and widely utilized feature. It simply means to move an image to another location by dragging it there with the cursor. By employing mouse or touch motions, users can drag an image or other content around the page. Making any HTML5 element draggable, including images, is straightforward using the draggable attribute. It accepts the values true, false, or auto. The default value is auto, where the browser determines if an element is ...
Read MoreHow to make basic menu using jQuery UI?
Many websites as well as applications must have menus because they offer a simple and orderly way to navigate between different pages and functionalities. While there are numerous approaches to building menus utilizing HTML, CSS, as well as JavaScript, jQuery UI offers a simple intuitive technology that can help you save time and effort. The fundamentals of building a menu using jQuery UI will be covered in this post, along with the necessary stages and starter samples. This article will give you the resources you need, whether you're an experienced developer or a novice, to make a useful and appealing ...
Read MoreHow to make Auto-filling Forms with jQuery and Web Storage API?
By automatically filling in common fields like name, email, and address, autofill forms have grown in popularity as a feature on websites and mobile applications. When developing autofill forms, developers have two options: either utilize locally stored fixed data or use dynamic data that is periodically updated based on user inputs. The Web Storage API is one of the most important resources available to developers for local data storage. It offers techniques for browsers to store key/value pairs in a more natural way than with cookies. SessionStorage and localStorage are the two Web Storage techniques; while sessionStorage only keeps data for ...
Read MoreHow to Run Your First Spring Boot Application in IntelliJ?
IntelliJ is simple and very convenient to use in building reliable as well as scalable systems with Spring Boot, and it has become tremendously famous among Java developers. It also offers a convention-over-configuration approach by obviating the demand for bulky boilerplate code and enabling designers to concentrate on business logic. This potent web tool aims in generating a basic project structure with the necessary dependencies. The second method focuses on importing a pre-existing Spring Boot project into IntelliJ IDEA so that one can work on an existing codebase. To execute this code in IntelliJ one must ensure that they have ...
Read MoreHow to Run Your First Spring Boot Application in Spring Tool Suite?
Spring boot facilitate the simple way to create robust, scalable, as well as production-ready applications, by doing this they have revolutionized the development of Java applications. The "convention over configuration" philosophy, which is embraced by Spring Boot as a component of the larger Spring ecosystem, lessens the effort of manual setup and enables developers to concentrate on business logic rather than boilerplate code. The Spring Boot experience is considerably more effective when combined with Spring Tool Suite (STS), a specialized IDE created for Spring development. To execute this code in Spring Tool Suite one must ensure that they have the following prerequisites before we ...
Read MorePattern Generation using Python time() module
Programming's basic concept of pattern creation entails producing ordered sequences or patterns. Python as a powerful programming language, provides a great range of tools as well as modules that make it simple to manage patterns. The time() is one kind of module that gets tools for managing time-related tasks. The time() module, while mostly used for time monitoring and measurement, can also be creatively utilized to produce dynamic patterns that alter over time. We will examine two different methods for pattern generation using the Python time() function in this article. We will examine the underlying algorithms of each strategy, offer ...
Read MorePython - Number Theoretic Transformation
The Number Theoretic Transformation (NTT) is a key component in many computational applications in the field of number theory. It is essential in areas like encryption, signal processing, error-correcting codes, and more because it makes large-number multiplication and convolution processes efficient. The NTT is a fast method for computing polynomial multiplications modulo a prime integer and is closely connected to the Fast Fourier Transform (FFT). We will examine two different methods for implementing the Number Theoretic Transformation in Python in this article. We will look into the Cooley-Tukey algorithm, one of the most popular methods for putting the Fast Fourier ...
Read MorePython- Percentage occurrence at index
In this article, the user will learn the percentage occurrence at the index in the list. Determining the percentage recurrence of a particular value at a given index in a list or array is a common task in data analysis or processing. This kind of computation can offer insightful information on the distribution and trends in the data. In this article, we will examine two distinct strategies for solving this problem, talk about their algorithms, give code snippets that get the desired results, and then compare the strategies. For Example − Given list : [4, 2, 3, 1, ...
Read MoreFinding the Peak Signal-to-Noise Ratio (PSNR) using Python
Peak Signal-to-Noise Ratio (PSNR) is a generally utilized statistic to compute the quality of digital signals, for images as well as video. It computes the difference between the original as well as distorted versions of the signal and gauges the amount of noise appended via compression, transmission, as well as for processing. PSNR is a utilized as tool in an assortment of applications, that has multimedia, video compression, as well as image processing. In this article, we'll monitor the two techniques for computing PSNR in Python. This method will generate algorithms, code implementations, as well as explanations that will make ...
Read More