@rishavdhungel
Submitted
@satish064
@rishavdhungel
Submitted
@satish064
Posted
Make it responsive it is not work properly in mobile.
@xStephx
Submitted
@satish064
Posted
What JavaScript does in this project? And Amazing UI I love it.
@armson45
Submitted
What challenges did you encounter, and how did you overcome them?
The only challenge I found was to show the response, first I had the html structure so wrong so my js code didn't work, I didn't find a way to make it just with css or a better way than I already have.
What specific areas of your project would you like help with?
I'm sure that this is does not have a good structure.
@satish064
Posted
if you use this is your toggle minus and plus will be work use this { if (event.target.classList.contains('icon-plus')) { const $response = event.target.nextElementSibling; $response.classList.toggle('show-response'); // debugger if($response.classList.contains('show-response')) { $response.previousElementSibling.setAttribute('src', './assets/images/icon-minus.svg'); } else { $response.previousElementSibling.setAttribute('src', './assets/images/icon-plus.svg'); } } });