Java script question for Storyline 360

Apr 05, 2018

I have a personality type quiz. After answering four questions, the java script tells them the result of what they perceive themselves to be according to their answers. The java script works in showing them their result, but how can I make the answer appear in bold?

Here is the java script being used:

var player = GetPlayer();
var sQ1= player.GetVar("Q1");
var sQ2= player.GetVar("Q2");
var sQ3= player.GetVar("Q3");
var sQ4= player.GetVar("Q4");
var stype= sQ1.concat(sQ2,sQ3,sQ4);
player.SetVar("StudentType",stype);

 

Thank you :)

2 Replies

This discussion is closed. You can start a new discussion or contact Articulate Support.