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

  • keziarkts 370

    @keziarkts

    Submitted

    Hi 👋 My problem in this challenge is that when it comes to clicking "submit", the user has to click 2 times (instead of 1) to submit the review and for the "thank you" page to pop up.

    So if someone can tell me where I went wrong or how to improve this specific part, I would be very grateful!

    edit: problem resolved thanks to @anxhelino :)

    anxhelino 200

    @anxhelino

    Posted

    Hello, the solution to your problem would be to get rid of the if else statement on your showThanks function. Just leave it like this : function showThanks() { var divShowThanks = document.getElementById("thanks-state"); var divHideRating = document.getElementById("rating-state");

    divHideRating.style.display = "none"; divShowThanks.style.display = "block"; getRating(val); }

    Marked as helpful

    1
  • anxhelino 200

    @anxhelino

    Posted

    Hi, I think that using async await functions for promises is much simpler give it a try

    0
  • anxhelino 200

    @anxhelino

    Submitted

    Looking for best practices making round buttons with css and for making my page responsive

    anxhelino 200

    @anxhelino

    Posted

    I guess i made the wrong choice using pseudo elements to make the round buttons because I couldn't edit the background color using js afterwards. Thank you for the comment

    0