Bonjour, voici mon projet reactjs et typescript avec l'API pour modifier son lien
Eya Gargah
@eyagargahAll comments
- @Mahmoud974Submitted 12 months ago@eyagargahPosted 12 months ago
Bravo ! juste un petit conseil lorsque vous cliquez sur le bouton "Copy" changez le texte en "Copied" pour que l'utilisateur sache que le lien a bien été copié
1 - @KuunibeGraciousSubmitted about 2 years ago@eyagargahPosted about 2 years ago
Nice job ! just a few remarks 1- the solution is not optimised for mobile screen. In future you might want to add a media query to solve it. 2- to solve the warning issue always add alt to buttons
0 - @amalazimroshanSubmitted over 2 years ago
I had some trouble with returning the value from the function. It showed pending promise. so I wrote the code for displaying the data in the same function that fetch the data
@eyagargahPosted over 2 years agoGood job! regarding your question the promise will always log pending as long as its results are not resolved yet so to solve it you should call .then() on the promise to capture the results regardless of the promise state (resolved or still pending):
Marked as helpful1 - @P-GayleSubmitted over 2 years ago
Hello! This is my first project on FrontEnd Mentor. I mainly used CSS Flexbox and a little Grid. couldn't get the card centre aligned correctly using Flexbox so any feedback on my alignment (or anything else that you noticed) would be very welcome. I completed the project without the Figma file so the design might not be exactly the same. Thanks for looking!
@eyagargahPosted over 2 years agoGreat work! I have some advice about the code 1 - Instead of <div class="card"> , replace that with <main> element.it will give your code more semantic meaning and Fix the issues that appear in Accessibility Report. 2- when you hover over the change button and cancel order they should change color so add a hover state
Marked as helpful0 - @Abdul-SJSubmitted about 3 years ago
Submitting again as the first attempt's link isn't working. Kindly check this out and help me getting better.
@eyagargahPosted about 3 years agoNice work on the design but when i hover over the proceed button it dosent change color , also for the cancel link and change link
1