Design comparison
Solution retrospective
I used a serverless function to hide my API Key. Was harder than I thought it was going to be. Implemented on Netlify. Because of the proxy, it shows Amazon server IP on start instead of user's IP.
Community feedback
- @windless13Posted about 2 years ago
Cool work on this! Great additions on obfuscating API_KEYs through Netlify's serverless functions and also the error message.
Have you considered, instead of using HTML .d-line classes in the markup, to use a CSS solution or pseudo-element only present in the Desktop view?
Other markup and styles all look very readable.
Marked as helpful0@dannyfongdevPosted about 2 years ago@windless13 I had a solution that used a div:not-first-child (pseudo code) that used border-left, but the line used the whole height and the designed called for something shorter. So I went for the display:none vs display:block method. I think pseudo selector would be cool, but it led to a dead-end for me. Thanks.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord