Found 8895 Articles for Front End Technology

Using the Slider Examples in Snack

Saba Hilal
Updated on 02-May-2023 14:59:17

291 Views

Sometimes, the task is to increment a number in a given range. For this different types of Sliders can be used. Different libraries permit using sliders in mobile apps. In this article, the React native and javascript code is shown with two different examples where in the first example, the '@react-native-community/slider' component “Slider” is used. In another example, the circular slider called the ArcSlider is used from "rn-arc-slider" to make a slider and then render it on the screen of the device. Example 1: Using Slider from 'react-native-community/slider' to print table of a number. Algorithm Step 1 − Import ... Read More

Using SVG Circles in Snack

Saba Hilal
Updated on 02-May-2023 14:47:57

1K+ Views

Sometimes, the task is to draw basic shapes such as lines, rectangles, circles, etc. in an app. For this, using Svg from 'react-native-svg' can be used. In this article, the React native and JavaScript code is shown with four different examples where in the first example, the 'react-native-svg' component “Svg” and Circle are used to draw the circles, stylize these and display these. In the second example, the different styles of circles are drawn in a concentric form. In the third example, how to make a clickable circle is shown. After clicking this, a simple alert shows a message. In ... Read More

Using Images in Snack

Saba Hilal
Updated on 02-May-2023 14:40:43

549 Views

Sometimes, the task is to pick the images from the mobile device and then show these images in Apps. For this ImagePicker from expo-image-picker can be used. In this article, the React native and javascript code is shown with two different examples where in the first example, the React Native component “Image” is used to select the image, resize and display it. In another example, the method to select the image from the computer or mobile device is shown and then rendering it on the screen of the device. Example 1: Resizing and Showing the Image by using React Native. ... Read More

How to split a column of list in different rows using Bootstrap?

Tarun Singh
Updated on 02-May-2023 14:25:29

1K+ Views

Bootstrap is a widely used front-end framework for building responsive and mobile-friendly web pages. It was initially created by Twitter and is now maintained by the Bootstrap team, which is an open-source community of developers. One of the primary benefits of Bootstrap is that it allows developers to create responsive designs that work seamlessly across different screen sizes and devices. This means that websites and applications built with Bootstrap can adapt to various devices, such as smartphones, tablets, and desktops, providing users with a consistent and engaging user experience. In this article, we’ll see how to split a column ... Read More

How to specify that an input element should be disabled?

Tarun Singh
Updated on 02-May-2023 14:23:54

4K+ Views

When using Forms on a webpage sometimes requires us to disable any input field. Like, to prevent the users from not allowing using some input fields until they have completed the previous steps in the form. The same can also be used for preventing users from submitting invalid data or fake data by disabling a form field until all required fields have been filled out. To solve the above problem, we have different methods that can be used to disable an input element in HTML, like using the "disabled" attribute, JavaScript, and CSS. In this article, we will see how ... Read More

How to Specify Divider Gap in Square Grid using Bootstrap?

Tarun Singh
Updated on 02-May-2023 14:21:52

240 Views

Bootstrap is a CSS framework that is used widely used among developers to design the websites because it offers a variety of pre-built components that speed up the development time. Bootstrap has multiple features for the developers that can be used, Grid system is one such, that allows the developers to create responsive layouts quickly and easily. Grid layout is very commonly used while building any web application to organize the content into different columns and rows. The grid system in Bootstrap is designed to be more flexible and customizable so that the developers can create layouts that are ... Read More

How to select “last child” with a specific class using CSS?

Tarun Singh
Updated on 02-May-2023 14:20:17

5K+ Views

CSS or cascading style sheet is an essential part of modern web development, as it allows web developers to style their websites and create visually appealing designs. There are times when we want to select the last child of a specific class using CSS, but how? There are different approaches that can be used to select the last child. In this article, we will see how to select the last child with a specific class in CSS. Approach 1: Using :last-child() Selector The :last-child() selector method is the first method available in CSS. This selector is used in ... Read More

How to secure cascading style sheets?

Tarun Singh
Updated on 02-May-2023 14:16:28

362 Views

Web development in this modern era heavily relies on Cascading Style Sheets (CSS), which play a crucial role in the visual appearance or designing of the UI and layout of web pages. The CSS enables website designers to create responsive and captivating websites that are easy on the eyes, regardless of the device used to access them. Nonetheless, CSS, like any other technology, has vulnerabilities, making it susceptible to security threats. However, with the rise of cyber threats and security breaches, securing CSS has become a significant concern for web developers. The attackers can exploit vulnerabilities in CSS code to ... Read More

How to style a href links in React using Tailwind CSS?

Tarun Singh
Updated on 02-May-2023 13:55:12

1K+ Views

React is a popular JavaScript library used for building web applications. When creating a React application, it's important to style your components in an aesthetically pleasing way. One of the ways to achieve this is by using a CSS framework such as Tailwind CSS. In this article, we will see how to style a href links in React using Tailwind CSS with different methods or classes available in Tailwind CSS. Pre-requisite To use the Tailwind CSS in a React application, we’ll first need to install it. Let’s see the steps for creating a new react project and installing tailwind ... Read More

How to specify that the form should not be validated when submitted in HTML?

Tarun Singh
Updated on 02-May-2023 13:44:39

470 Views

The element is an essential component available in HTML that enables us to create interactive sections on websites like Contact forms, Login forms, etc. Through the form element, users can input and submit data to web servers. The element is versatile and may include a number of different input fields such as text boxes, radio buttons, checkboxes, drop-down menus, and buttons. Also, the element consists of multiple attributes such as "action" and "method" that are used in determining the destination of the data submitted and the method of processing. Form validation is one of the key parts ... Read More

Advertisements