When i separate it out it sort of works but when I put it together it won't work at all.
please help me.
I know that yours works and mine doesn't.
I know that leaving out the * is of no consequence
I can see that you have added some & to change the formatting and although I do not really understand what they are doing I don't think they should make a difference to whether or not it works.( I would like to know what they are doing but I can look that up elsewhere I am sure.)
So I can't see what you have done differently that makes it work. It doesn't matter too much I know programming is frustrating like this.
I am very new to Latex and I have no knowledge of html. I am just learning by copying and you've given me some new ideas anyway.