
Using API for first time with this Advice Generator
Design comparison
Solution retrospective
Hi everyone! š
This was the first time I used an API for a project / challenge like this. It was not as hard to get it working as I thought it would be. However I am not sure if I did it the right way, because I am very new to this.
Also I tried to keep in mind that changing text on screen, like with this challenge, is hard to notice for people with screen-readers so I tried to use aria-live
for that. I also added a focus
to the button in CSS for better accessibility.
ā Concrete questions ā
- Did I do the JavaScript for the API in the correct way?
- Did I do the accessibility the right way?
š GitHub: https://github.com/royschrauwen/100-days-of-code/tree/master/day-21
š» Live: https://royschrauwen.github.io/100-days-of-code/day-21/
I also did this project for the #100DaysOfCode Challenge! Today is day 21 and I am still very much enjoying it!
Have a nice day! šāāļø
Community feedback
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