Nur
@nurkilicAll comments
- @IngridsSilveiraSubmitted 1 day ago
- @MehmetAydar01Submitted 4 days ago@nurkilicPosted 3 days ago
It looks very close to the design, congratulations, I had given the width 600 px, but it was small. Yours fits perfectly in terms of width.
Marked as helpful1 - @MehmetAydar01Submitted 6 days ago@nurkilicPosted 5 days ago
good job congratulations 👏🏻👏🏻 It looks very close to the design
Marked as helpful1 - @hartselwynSubmitted 10 days agoWhat are you most proud of, and what would you do differently next time?
I haven't worked with React for a while now, I am proud I can still do this, I'll be using Vue next time I believe that's what I'll do differently next time
What challenges did you encounter, and how did you overcome them?Here are some challenges I encountered while working on this React project: Importing Images in React Initially, I encountered issues with importing images from outside the src folder in my React project. React restricts imports to the src directory, causing errors when trying to use relative paths to import images from other locations.
Solution: I resolved this by following React's best practices and ensuring all images were moved into the src folder. I also used dynamic imports when needed, which helped keep the project structure organized.
Handling Image as an Icon Another challenge was trying to use a PNG image as an icon. I had been using React Icons for social media links but wanted to include custom PNG images as part of the UI.
Solution: I solved this by importing the PNG image as a module and applying it as a background or src in a tag, ensuring the image is displayed properly while adhering to React’s file import requirements.
Centering and Positioning UI Elements Aligning and positioning elements such as the social media card in the center of the screen was tricky. The card wasn't correctly aligned vertically and had issues when resizing the page.
Solution: I utilized CSS Flexbox and Grid to easily center the content. By using display: flex, align-items: center, and justify-content: center, I was able to horizontally and vertically center the card, ensuring responsiveness.
Managing State and Dynamic Content Dynamically rendering social media links with icons was straightforward, but I needed a way to make sure the data (URLs and icons) was organized and easily maintainable.
Solution: I used JavaScript arrays and map() to loop through social media links, rendering each one dynamically. I also made sure the JSX was organized for maintainability and readability.
Handling CSS Transitions and Hover States Implementing smooth hover effects on the social media links and the profile image was essential for user interaction, but I wasn’t sure how to apply transitions correctly.
Solution: I added CSS transitions using transition: all 0.3s ease; to create smooth hover effects, which enhanced the user experience. The transitions applied to color changes, scaling of icons, and smooth adjustments on hover.
By addressing these challenges with a clear understanding of React, CSS, and best practices, I was able to deliver a responsive and user-friendly UI. Each obstacle provided an opportunity to improve my problem-solving skills and strengthen my proficiency in front-end development.
What specific areas of your project would you like help with?Complex Image Handling in React
Managing images, especially from different folders and ensuring they display correctly within the src directory. Optimizing images for web use, such as resizing, compression, or using responsive image formats. Managing Dynamic Data (Social Media Links)
If you plan to extend the project or handle dynamic data (e.g., fetching social media links from an API), it would be helpful to manage that data more effectively using React state or context. Using map() correctly for dynamic content and ensuring data is well-structured for scalability. CSS Positioning and Layouts
While you managed to center elements with Flexbox and Grid, you may want further clarification on advanced layouts or dealing with complex grids and responsive design. Fine-tuning the layout for different screen sizes or working with media queries for responsive designs. Image as Icons and Custom Assets
If you want to implement custom icons or images, especially as interactive elements or to make them look consistent across different devices, help with this can ensure you’re following best practices. Optimizing custom images as icons (e.g., using SVG for scalability). CSS Transitions and Animations
Implementing smooth hover transitions or animations could be expanded to include more complex visual effects or improve performance. Understanding how CSS transitions work across various browsers and how to implement them effectively. Optimizing React Project Structure
As your project grows, it's easy to run into issues with maintaining a clean and scalable file structure. Organizing components, assets, and styles could be areas for further improvement. Understanding React’s lifecycle methods and hooks (like useState and useEffect) can help manage more complex state and side effects. Error Handling and Debugging
React's error messages can sometimes be vague, so understanding how to effectively debug issues, especially with component rendering or props passing, can help you become more efficient. Handling errors gracefully in user-facing components.
@nurkilicPosted 9 days agoIt is very nice that you put an extra icon. Even though it looks small compared to the screenshot, if there is no figma, I think it is normal. congratulations.
0 - @MehmetAydar01Submitted 12 days ago@nurkilicPosted 11 days ago
In figma, the height of the picture is set to a fixed 200 pixels. As the screen is reduced, the height must remain constant and the picture must be cut by performing the object-fit:cover operation. Other than that, it is very good, thank you.
Marked as helpful1 - @Ld-monkeySubmitted 7 months ago@nurkilicPosted 11 days ago
In figma, the height of the picture is set to a fixed 200 pixels. As the screen is reduced, the height must remain constant and the picture must be cut by performing the object-fit:cover operation. Other than that, it is very good, thank you.
0 - @InvincibleThinkerSubmitted 13 days agoWhat are you most proud of, and what would you do differently next time?
##Learning Mindset
I am proud of that I can do the things that I wanted to do. Since for now I am revising HTML, CSS, and JavaScript it is good to have basics cleared before going to advance.
What challenges did you encounter, and how did you overcome them?Particularly I didn't encounter any challenges since I am already familiar with HTML AND CSS.
I would like to revisit my challenges take it to the next level by adding animations and much more.