Latest solutions
Newsletter Signup Form
Submitted 5 months agoI'd like someone to give me some feedback on the
.invisible
class and the !important part of it, because without it, it just wouldn't work and I couldn't figure out why. Any tips or clarification would be great.Article Preview Component
Submitted 5 months agoIf I could get a little feedback on the styling of the popup as I wasn't really sure how to make sure it adjusts to any screen width - mainly the very small sizings. When you resize my project to weird resolutions the author data can be seen from beneath when the mobile popup is open, even though it shouldn't be visible. Any suggestions in this matter would be helpful.
Four Card Section
Submitted 5 months agoI'd like to get some tips on how to make sure all cards are exactly the same size and they get re-sized dynamically as I wasn't sure how to get it fully working. Just so they all take the same amount of space. I'd appreciate a tip in this case.
Latest comments
- @Top-Trekx-Im-gvp-98Submitted 5 months ago@ItsZubekPosted 5 months ago
The javascript part looks alright, however when the dismiss button is pressed the signup form re-appears but the sucess message stays where it was. Another thing is that whatever email I put in it still shows the default one at the sucess screen, it doesn't update automatically to reflect what email has been used in the form.
As for the CSS I see that you've ignored the mobile design completely. It is really important to practise both the desktop and mobile design and to think about it when creating the html layout to accomodate both cases if necessary. Some styles are off, for example the success message is not styled at all and looks very different from the design.
Overall it is a good project, but I would spend a little more time on getting the little things right as it will look better on your github.
0 - @yosefshawahSubmitted 5 months agoWhat specific areas of your project would you like help with?
hello y'all, can someone point me to repo/guide how to do the shadow-box correctly and managing fonts, thanks!.
@ItsZubekPosted 5 months agohere you go: https://box-shadow.dev/ and https://cssgenerator.pl/box-shadow-generator/
The latter one works better for me, but it's in Polish
1 - P@ttwmfSubmitted 5 months ago@ItsZubekPosted 5 months ago
I like the solution as it is working as intended. But it would be best if you created the mobile layout as well as it is important for all work to be usable on mobile devices - not just for the challenge but in real life situations as well. Other than that no other issues apart from some colour differences to the design, but that's not a real issue.
0 - @AuroreTurtleSubmitted 5 months ago@ItsZubekPosted 5 months ago
The cards themselves look very similar to the design. However I'm not sure if it's just on my monitor, but the horizontal spacing between the cards is completely off. I think if you've tried centering the whole design and adding a
gap
property if you're using flexbox to space them out it would be okay. Another thing I've noticed is if you change the screen size to around700px
you can see the background colours coming out from beneath the card itself. Other than that it looks good.0 - @hazhir00Submitted 5 months agoWhat specific areas of your project would you like help with?
I need help to make this design responsive
@ItsZubekPosted 5 months agoThe solution looks alright, however I see that the image is slightly smaller in width than the right side of the product card. You can fix it by assigning
flex-basis
property a value of50%
to both the image and the right side of the card. This way they will always take 50% of available space and basically, will be equal in size.As for the responsiveness of the design I see that you included
media
querries in your code, but it would be more effective if you set them a bit higher, i.e.600px
instead of 400 something. I understand this is a rather small thing, but can still make your design look better.I see that you've used
img
instead of thepicture
that was discussed in the article before this challenge. This forces you to usedisplay: none
when changing the screen size to mobile from desktop and vice versa. Checkpicture
online as it will make next mobile responsive designs a lot easier for you and you will avoid unnecessary code.Also
alt
tags are important for accessibility. I understand this is just a challenge on a frontend website, but it's good practice to not forget them even when working on fake projects as it will create a possibly harming habit in the future.Overall the design and code look good, but some small tweaks can be made to make it more readable adn resemble the design a little more.
Marked as helpful1 - @GProostSubmitted 6 months ago@ItsZubekPosted 5 months ago
All necessary HTML is there. However I think you placed the
td
andth
wrong way around.th
is table header which should be the first column of the table (calories, carbs, etc. ) andtd
is table data which are the values. I'd improve on the CSS aspect of the project as it seems you gave up on it halfway through. I can clearly see you know how to style the elements, but you didn't choose to do so in the later part of the design. As for the table an easy fix to make it look more like the design is to use thewidth
property and set it to100%
and then select theth
andtd
and make them 50% and it should sort out the issue. Overall a good attempt and solid work, but I would try to finish the challenge even if you 100% know how exactly to do it - practice makes perfect.0