Step 1: index.html
This is the HTML file that defines the structure of the profile card, with various sections (About, Experience, Contact). It uses Font Awesome for social media icons, and the layout is styled with external CSS and functionality is handled by JavaScript.
Step 2: style.css
The CSS file handles the layout, animations, and design of the card. It includes styles for the avatar, cover image, and buttons, as well as animations for the sections when switching between them.
Step 3: internal.js
This JavaScript file handles the switching between sections when the buttons are clicked. It adds or removes the is-active
class to show the corresponding content and manage the active button.
Structure of Files:
-
index.html: The main HTML structure with profile sections.
-
style.css: The CSS file for styling the profile card, including layout, animations, and responsiveness.
-
internal.js: JavaScript to handle the interactive behavior when the buttons are clicked, and sections change.
This setup creates a dynamic profile card with "About," "Experience," and "Contact" sections, and smooth transitions between the sections when you click the corresponding buttons.