Is there a specific design tool I should use if I’m just creating a part of a website?

I’m currently working at an NGO contributing digital design and communication materials for internal use. There already exists a page for our department. My current assignment is to design an internal graphic that can be then be handed off to our web master to throw on our page. I’m not making the page itself, only this interactive piece.

However, this asset needs to be interactive (basic click drop downs to expand upon what I would call information cards. I would just use Illustrator/Photoshop if it was static, but I have to incorporate the interactivity plus some Hyperlinks. I’m incredibly ignorant when it comes to web design, but I’m working on it! Is there a tool I should use for this? They were okay with me using Draw.io and exporting as HTML but it’s limiting. I just want to make sure I’m using the right tool. I’ve briefly looked at Adobe XD but was unsure if that’s just for UI/UX and prototyping.