When we click on the add friend it sends the friend request after a few sec it accepts and at the place of adding a friend, it shows remove a friend.
In this packet, we are creating cards to send friend requests on social media using HTML, CSS, and Javascript. With the help of HTML and CSS, we create the structure and provide the style to the card but the main role play JavaScript provides the functionality.
When we click on the add friend button it sends the request and after a few sec, it shows friend. At the place of adding a friend show remove a friend. so this is the way it works.
Submitted by Bhavna Mankar (bhavna)
Download packets of source code on Coders Packet
Comments