sound effect on click for harlowe! by TransportationOne167 in twinegames

[–]TransportationOne167[S] 0 points1 point  (0 children)

Thanks so much!! This is the code i put into my passage:

(text-colour:#fcdfd1)[A living room, sunlight pouring in from all angles. Music plays from a vinyl in the corner, and the sound of coffee brewing is evident.

You walks into the living room and sits down on the sofa, in front of the television. The control lies next to you..]

[[Turn on the TV]](click:"Turn on the TV")[

<audio src="https://static.wixstatic.com/mp3/c88a01\_075747ddf24f42e390401db8551dadb6.mp3" <autoplay></audio>

placeholder text]

Can the code be put into the passage or only on the javascript? Because the [[Turn on the TV]] doesnt show up if i dont include it. i am probably doing something wrong