Hi,
Check if the styling that you add in the code section is actually getting saved or not by reopening the code popup. From the screenshot of code you provided, it doesn't seem to have any of the styling.
The editor has some sort of auto validations that are mandatory for some of the tags. For example, you can't add an anchor tag without href, rel or target etc. Make sure to add them. Sometimes they get removed or sometimes they get auto converted. For example
<a href="#" style="text-decoration: none;"><p style = "color:white; font-weight:bold;">GeeksforGeeks</p></a>
gets converted to
<p><strong style="color: white;"><a href="#" rel="noopener noreferrer" target="_blank">GeeksforGeeks</a>
</strong>
</p>
Try the solution provided below and see if it works and keep an eye on which styling is getting removed and make changes accordingly.
https://community.mendix.com/link/space/app-development/questions/109559
Regards,
Raghav