I have been attempting to change a specific part of text to be bold and displayed in red color.
Unfortunately, this does not seem to work on Microsoft Edge.
Here is my code:
alert("Hi how are you my friend");
The section that needs to be formatted: "friend"
should appear in bold and red color
I have tried the following but it did not work:
alert("Hi how are you my <b> <background-color = red"> friend </b>);
If anyone has a solution, I would greatly appreciate it.