Social Media Icon using HTML CSS Javascript

0
82

Hello, learner In this article, we are going to create a Social Media Icon using HTML CSS Javascript In the earlier past post, we have created a Responsive Gallery Design using HTML, CSS, and Javascript. Now it is time to create a Social media icon.

Social Media Icon using HTML CSS  Javascript

In this program, we are going to create social media icon design as you see in the above image it is the output of the below code. we have used HTML, CSS, and JS to create. HTML create basic structure . CSS design it with icon color position and at least Js help to create the perfect icon. we have created five buttons for five different icons. The hove effect is awesome.

Social Media Icon using HTML CSS Javascript [Source code]

To create social Media Icon using HTML CSS Javascript you have to create three HTML, CSS, and js files named index.html, style.css, and script.js in the same folder and you have to link the CSS and JS file to HTML. after that paste the HTML code in index.htm. paste the CSS code in style.css at last paste the JS code in Style.js that’s all after pasting the code. Now your Social Media icon Desing is ready.

At first, you have to create an HTML file named index.html paste the below code on it, and save it. Remember to give a .html extension to the HTML file.

After pasting the HTML code the second you have to create a CSS file named style.css. Paste the below code on it and save it. Again remember to give .css extension to CSS file.

After pasting both HTML and CSS code Now at last You have to create a Javascript file named script.js. after creating the file now paste the Below code in the js file. Remember to give .js extension to the javascript file.

That’s all after pasting all the code in the file now your code will successfully run. If you get any kind of error/problem in the code just comment down or contact me on social media

You might like this

Source :- Codepen.io

Previous articleResponsive Gallery Design using HTML, CSS, and Javascript
Next articleCreating a Heart using CSS | HTML & CSS

LEAVE A REPLY

Please enter your comment!
Please enter your name here