Found 8894 Articles for Front End Technology

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

Shubham Vora
Updated on 27-Feb-2023 12:05:46

1K+ 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 set cursor style that indicates any direction scroll using CSS ?

Devesh Chauhan
Updated on 27-Feb-2023 14:50:32

413 Views

Before moving onto the topic, let us try to understand the importance of cursor as an UI element. We know that the very first thing a user interacts with in a website is mostly the cursor, this is why manipulating the cursor style and effects is the most important for designing, as it greatly contributes to the overall user experience. The cursor property is used to set the mouse cursor to appear whenever we hover over an element by pointing over it. It is applied to all the elements and is inheritable, meaning the child element will also have the ... Read More

How to set the table layout algorithm using CSS ?

Devesh Chauhan
Updated on 27-Feb-2023 14:49:38

256 Views

In order to answer the question: “How to set the table layout algorithm using CSS”, we need to understand what is ‘layout’. A layout in HTML specifies the fundamental organization and visual style of a website. It gives you the ability to build websites with basic HTML tags. Table Layout Table layout is one of the least advised HTML layouts due of its complexity. As its name suggests, it is based on the table> element. The table> element allows you to arrange data in rows and columns. The table> tag is a container tag, since it serves as ... Read More

How to create Menu Item Component in ReactJS?

Shubham Vora
Updated on 27-Feb-2023 12:01:53

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 hovering over a division element to gradually change the width in CSS ?

Devesh Chauhan
Updated on 27-Feb-2023 14:48:04

627 Views

Whenever we want to gradually change the style of an element from one form of styling to some another style, whether it may be some interaction from user or through duration of stay on the site. You can use animations to change a lot of styles for any duration of time. Let us look at the properties that you need for animations. Keyframes − This is used to specify an animation for an element. It contains the changes that will occur to the style of the element. The element then moves from the style at the beginning to ... Read More

Difference between -webkit-box-shadow & box-shadow in CSS

Devesh Chauhan
Updated on 27-Feb-2023 14:45:57

647 Views

As we already know that CSS provides us with a wide range of properties and pseudoclasses, which enables developers to add the desired styling to the element. One such property is box shadow property; it allows us to add a shadow like effect around the element. Box-shadow Property Box shadow is a CSS property used to create an outer or inner shadow effect on elements. It applies one or more shadows to the element, each of which is specified with X and Y offsets from the element, blur radius, spread radius, color and opacity value. The box-shadow property ... Read More

How to create Instagram Like button in ReactJS?

Shubham Vora
Updated on 27-Feb-2023 11:58:18

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

How to specify double border using CSS?

Devesh Chauhan
Updated on 27-Feb-2023 14:43:34

555 Views

We know that CSS is a rule based, style sheet language that is used for designing and customizing the web page. They are used to specify how an html element is going to be formatted and displayed on the screen. One of the most common forms of styling that we add to elements is adding or modifying the border of an element. This can be done by using the ‘border property’ of CSS. Border Property “border” is the abbreviated way to specify the border around an element by specifying the border width, its style, and the color of border. So, ... Read More

How to set default value to align content in CSS ?

Devesh Chauhan
Updated on 27-Feb-2023 14:41:46

304 Views

CSS is a language for the web, which is majorly used for designing and presenting the web page. It provides us with a lot of properties that will help in the customization process. One such property is the “align content property”. Align content property is used to distribute space, either in between or around items that belong to a flexbox or a grid. The initial value of this property is “normal”. It has discrete animations, and the computed value is always equal to what is specified. Point to note is that, it is not an inheritable property. It ... Read More

Types of graphics are supported by HTML5?

Devesh Chauhan
Updated on 27-Feb-2023 15:59:43

574 Views

Graphics are the visual representations that are used to represent any idea or imagination in order to enhance the overall experience of the website for the user. Graphics helps in conveying a complex message to the user in a simple and understandable way. Some ways of representing message in graphics are through photos, arts, diagrams, flowchart etc. Graphics in HTML are used for enhancing the appearance of webpage or website and to make the user interaction simple. There are different uses of graphics in HTML for which we have different technologies. We will discuss few of them below. SVG ... Read More

Advertisements