Display total correct

total_correct(elem = "span", args = "")

Arguments

elem

The html element to display (e.g., div, h3, p, span)

args

Optional arguments for css classes or styles

Value

A string with the html for displaying a total correct element.

Examples

total_correct()     # <div  id="total_correct"></div>
#> [1] "<span  id=\"webex-total_correct\"></span>\n\n"
total_correct("h3") # <h3  id="total_correct"></h3>
#> [1] "<h3  id=\"webex-total_correct\"></h3>\n\n"
total_correct("p", "style='color: red;'")
#> [1] "<p style='color: red;' id=\"webex-total_correct\"></p>\n\n"
total_correct("div", "class='customclass'")
#> [1] "<div class='customclass' id=\"webex-total_correct\"></div>\n\n"