Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • @medaich

    Submitted

    What are you most proud of, and what would you do differently next time?

    I've built my first React app individually.

    What challenges did you encounter, and how did you overcome them?

    I had some problems styling the modal component, but I used some helpful Tailwind utilities such as the prefix backdrop which is handy in applying blur and brightness in the overlay.

    What specific areas of your project would you like help with?

    There is a minor issue with the modal component, because it pays attention to all clicks in the page; it does open no windows but if we logged the "opens" property to the console we would notice that, even in products which are a way outside the modal. I guess there is a problem with the context API or something related. If you could help with this or provide any other feedbacks, feel free to help.

    Daniuy3 210

    @Daniuy3

    Posted

    Hi, bro, nice work, I think I have an idea about your problem an a possible solution using ponter-events: none, if you have a repository in github I could fix that, just share me the link and then I could make a fork and a pull-request to modify your code

    1
  • @JoacoZun

    Submitted

    What are you most proud of, and what would you do differently next time?

    I couldn't generate the scroll to look like this (- 0 +) and I couldn't generate the popup when clicking "Order Confirmed" :(

    Daniuy3 210

    @Daniuy3

    Posted

    Yo, the "Popup" is called Modal a way to do it if youre using vanilla js and css is:

    • create a div with a position fixed use top:0 , bottom 0, left 0, rigth 0, to fit it on the size of the screen:
    .modal{
        position:fixed;
    
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    
        background-color: rgb(0,0,0,0.6); `to make the background quite black and transparent`
        z-index: 3; `to make sure it's above everything`
        opacity:0; `to make it invisible at the begginin`
    }
    
    • when you click the button just add or remove a class to this modal, that class should contain opacity 1 so that it should appear on the top, as the same way when you start a new order remove that class and that's all

    I've just finished the same project here you have the link in case you want to see it: Project

    Marked as helpful

    0