@jguleserianSubmitted 4 months ago
What are you most proud of, and what would you do differently next time?
While the challenge, for the most part, was rather straight forward, it did present some challenges. I was happy about the fact that I was able to overcome these challenges (see below) and incorporate what I learned into my coding tool bag.
I was also pleased with the way the project came out to be so responsive, from the image to the font sizes and the container itself.
What challenges did you encounter, and how did you overcome them?
The primary challenge encountered here was that put forth by Frontend Mentor: "The font sizes in this project are slightly smaller in the mobile layout. Find a way to reduce font size for smaller screens without using media queries." At first, I tried to use percentages and/or view width, but this soon collapsed since there were not proportional (at any number) to work at all sized. What I needed were minimum and maximum numbers to limit the two extremes in size. While I researched a couple of different techniques (using min()
and max()
together, for example), I landed on the clamp()
parameter. I found that this solved my issue quite nicely and opened up a whole new world of making sites responsive.
The other challenge was dealing with that pesky with the coder's name. Putting in the same container as everything else and setting its position to "relative" allows me to move it beneath (with a negative "top" number), but then the space it occupies still remains in the original container and interferes with the bottom padding, especially at smaller sizes. The other possibility was to set its position to "absolute" and then try to place it beneath the
container manually. This is what I opted for, although it took a bit of calculating to place it correctly at all sizes. nevertheless, it looks like it works for now. If anyone has a different method that I haven't thought of, I would welcome the insight.
What specific areas of your project would you like help with?
In terms of areas of help, I think I was able to do everything fairly smoothly and economically. however, if you have the time to take a look at my code, I would more than appreciate any feedback on how to improve or new angles I should consider.
Thank you for taking time to take a look at my project.
Happy coding, Everyone!
Jeff