Need help with Tweet Button in Random Quote Machine challenge please!

Hi there,

I originally posted this in the help/questions sections but have since realised that I think this will be better in this section!

I’ve been working on the Random Quote Machine challenge and have a working machine - apart from the tweet quote button.

I’ve been scouring the web for hours and can’t seem to find a solution that works. Currently the closest I have come is tweeting a random quote (not the same as the one displayed on my page) that also includes formatting that I obviously don’t want. i.e. the h3 and italic bits. I know why what I have done does this but it’s the closest I can get!

I’m not sure if the problem is how I’ve created the quote machine, or if it is just that I can’t find a way to reproduce what is being displayed in my quote machine and storing that in a variable or suchlike.

Any help would be massively appreciated!

My pen:


I have now since solved this, not sure if I can delete this topic but thanks for reading anyway!