jweinst1
3/18/2019 - 8:57 PM

change a div's style to take away shadow text and display a new background color with rounded borders.

change a div's style to take away shadow text and display a new background color with rounded borders.

function changeQsAnswerResult(result) {
	var resultDiv = document.getElementById('#questions-answer-result');
	if(result) {
		resultDiv.style = "text-shadow:0 0 0; background:#6ccc59; border-radius: 20px; padding: 10px;";
	} else {
		resultDiv.style = "text-shadow:0 0 0; background:#dd6c6c; border-radius: 20px; padding: 10px;";
	}
}