Front End Technology Articles

Page 193 of 652

How to use the handleChange() function in react component?

Shubham Vora
Shubham Vora
Updated on 27-Feb-2023 7K+ Views

The handleChange() is not a built-in function in the React, but as its name suggests, we can define it to handle changes that users made in the input. In the react, we need to handle the input whenever a user enters some value in the input field to make it editable. Here, we will learn to use the handleChange() function with single and multiple inputs. Use the handleChange() function with functional components In react, we can define the components using the function keyword and call them functional components. We can use hooks to manage the input value while using the ...

Read More

How to use AppBar Component in Material UI?

Shubham Vora
Shubham Vora
Updated on 27-Feb-2023 3K+ Views

The Material UI is a library containing various components with different styles and responsive designs. For example, Material UI contains an AppBar component, which we can directly import into the React component and use as a child component of other components. Also, the Material UI library contains different components like buttons, links, tab bars, pagination etc. Furthermore, we can manipulate every component by passing a prop while using the component. For example, we can make an AppBar responsive by passing the respected props. This tutorial will teach us to use the AppBar component in Material UI. Users should install the ...

Read More

How to set focus on an input field after rendering in ReactJS?

Shubham Vora
Shubham Vora
Updated on 27-Feb-2023 11K+ Views

While working with the forms in React, sometimes we may require to focus on any input. For example, we want to enable the submit button only if the user enters some text in the input field. In such cases, we can focus on the input so that users know that they have to enter some text in the input field to enable the button. In this tutorial, we will learn multiple ways to focus on the input field after rendering in ReactJS. Use the autoFocus attribute with the input field We can use the autofocus attribute in HTML to focus ...

Read More

How to send one or more files to an API using axios in ReactJS?

Shubham Vora
Shubham Vora
Updated on 27-Feb-2023 2K+ Views

ReactJS is a frontend library, so we can use it to create web pages. It’s natural to show data in real-time applications, and the backend manages it. So, whenever React needs data to show on the web page, it gets it from the backend by making API calls. Sometimes, we may require to send data to the backend to store it in the database. For example, we have taken the user’s profile image and need to send it to the backend to store it in the database. In many cases, we require to send single or multiple files to ...

Read More

How to create Menu Item Component in ReactJS?

Shubham Vora
Shubham Vora
Updated on 27-Feb-2023 7K+ Views

The Menu item component shows users various menu options, and they can select any option from the menu item component. The menu item component in React Js is similar to the element in HTML, or we can say it is a dropdown menu. Also, menu components contain a submenu to show multiple options for any menu item. Developers should use the HTML tag to implement menu item components from scratch. However, many React libraries available on the internet provide pre-designed Menu item components. So, we will use different libraries to build the menu item components below. Use ...

Read More

How to create Instagram Like button in ReactJS?

Shubham Vora
Shubham Vora
Updated on 27-Feb-2023 2K+ Views

Most of all, you have used Instagram and have looked at the Like button given below every post. There are two things to notice about Instagram Like button: one is its shape is a heart shape which we need to create, and another is it fills up with red colour when we Like someone's post. There are two different ways to create Instagram Like button. One is created from scratch using CSS and JavaScript, and another uses two different icons. One is filled, and another is outlined. Use the Material UI library We will use the FormControlLabel component from the ...

Read More

What are the classes of breadcrumb in Materialize CSS?

Tanmay Chandhok
Tanmay Chandhok
Updated on 24-Feb-2023 253 Views

Materialize is a CSS framework which is used for designing as it uses the classic principles and combine them with innovation and technology. The creator of materialize is google as they developed a design system which can allow a unified user experience to every user in every type of product, regardless of the platform that the user is using. Breadcrumbs is a component which is built in materialize CSS and is mostly used when there are lots of layers so as to display the current location of the user working on it whether on the website or the web app. ...

Read More

How to create sliding text reveal animation using HTML and CSS?

Tanmay Chandhok
Tanmay Chandhok
Updated on 24-Feb-2023 3K+ Views

You might have seen sliding text reveal animation at different websites like personal portfolio websites and even different video content which gives a different experience to the user as well as the text feels more lively. The sliding text animation can be easily made using HTML and CSS which will catch the attention of the user that visits our website for the website. In this article we are going to have a look at how can we create our sliding text reveal animation using only HTML and CSS How to create the sliding animation? Let's talk about that the approach ...

Read More

A text- portrait using CSS?

Tanmay Chandhok
Tanmay Chandhok
Updated on 24-Feb-2023 720 Views

Styling a website is the most integral part of creating a website, as it serves as a hook-point for the user, who is visiting your website for the first time. We can create many types of designs and interactive experiences using CSS. A text portrait can be created used illustrator or Photoshop to make the design attractive. In this article we are going to have a look at how can we generate and create a text portrait using CSS and some JavaScript function so as to achieve our text portrait. Creating the text portrait A text portrait is an image ...

Read More

How to style every element that have adjacent item right before it?

Tanmay Chandhok
Tanmay Chandhok
Updated on 24-Feb-2023 153 Views

Selectors are an important part of the CSS styling as all the properties which are applied to the elements are done using the selectors> it is also possible to select the elements on the basis of their relationship with some other element like a element which has a preceding element or any other element in the series. There are sibling combinator, child combinator and adjacent sibling combinator. In this article we are going to have a look at how can we style the element that have an adjacent item right before it Styling elements with adjacent items The elements which ...

Read More
Showing 1921–1930 of 6,517 articles
« Prev 1 191 192 193 194 195 652 Next »
Advertisements