├── app.js
├── LICENSE
├── README.md
├── index.html
└── style.css
/app.js:
--------------------------------------------------------------------------------
1 | const buttons = document.querySelectorAll(".card-buttons button");
2 | const sections = document.querySelectorAll(".card-section");
3 | const card = document.querySelector(".card");
4 |
5 | const handleButtonClick = e => {
6 | const targetSection = e.target.getAttribute("data-section");
7 | const section = document.querySelector(targetSection);
8 | targetSection !== "#about" ?
9 | card.classList.add("is-active") :
10 | card.classList.remove("is-active");
11 | card.setAttribute("data-state", targetSection);
12 | sections.forEach(s => s.classList.remove("is-active"));
13 | buttons.forEach(b => b.classList.remove("is-active"));
14 | e.target.classList.add("is-active");
15 | section.classList.add("is-active");
16 | };
17 |
18 | buttons.forEach(btn => {
19 | btn.addEventListener("click", handleButtonClick);
20 | });
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 Abbireddy Venkata Chandu
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | **Profile Card**
4 |
5 | This is a basic profile card created using HTML, CSS, and JavaScript.
6 |
7 | **To view the live demo:** [Here](https://venkat-0706.github.io/Profile-Card/)
8 |
9 | **To run the project locally:**
10 |
11 | 1. **Clone the Repository:**
12 | ```bash
13 | git clone https://github.com/venkat-0706/profile-card.git
14 | ```
15 | 2. **Open the `index.html` File:**
16 | Open the `index.html` file in your web browser.
17 |
18 | **Customization:**
19 |
20 | 1. **HTML:**
21 | - Modify the text content within the HTML elements to change the profile information.
22 | - Adjust the image source (`src` attribute) to use your own profile picture.
23 | 2. **CSS:**
24 | - Edit the CSS file to customize the card's colors, fonts, and layout.
25 | - You can modify the dimensions of the profile picture, the spacing between elements, and the overall design.
26 | 3. **JavaScript:**
27 | - Add JavaScript code to the `script` tag in the HTML file to implement dynamic features.
28 | - For example, you could use JavaScript to fetch user data from an API and populate the card, or create interactive elements like hover effects or click events.
29 |
30 | **Additional Tips:**
31 |
32 | - **Responsive Design:** Consider using CSS media queries to make the card responsive and adapt to different screen sizes.
33 | - **Accessibility:** Ensure the card is accessible to users with disabilities by using appropriate HTML semantic elements and ARIA attributes.
34 | - **Testing:** Test the card in different browsers and devices to ensure it displays correctly and functions as expected.
35 |
36 | **Further Exploration:**
37 |
38 | - **Advanced Styling:** Explore CSS frameworks like Bootstrap or Tailwind CSS to quickly create stylish and responsive profile cards.
39 | - **Interactive Features:** Use JavaScript to add features like hover effects, tooltips, or modal windows to enhance user experience.
40 | - **Data Fetching:** Implement JavaScript to fetch user data from APIs and dynamically populate the card.
41 |
42 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
As a Computer Science Engineering Student,
23 | I am interested about learning new programming languages and exploring various technologies, Now I am currently working on a startup objective and I am interested on Data Science and Nueral Networks..
24 |
25 |
26 |
27 |
29 |
33 |
35 |
37 |
38 |
39 |
40 |
41 |
Education
42 |
43 |
44 |
Sri Adarsha Vidhyalaya Public Schhol at Pithapuram
45 |
10th Standard.
46 |
47 |
48 |
49 |
S.H.R.M Junior college at Pithapuram
50 |
Intermediate MPC.
51 |
52 |
53 |
Aditya college of Engineering and technology at Surampalem