diff --git a/public/index.html b/public/index.html index c9120c9..e0c0822 100644 --- a/public/index.html +++ b/public/index.html @@ -14,8 +14,8 @@ -

-

+ +

diff --git a/public/js/app.js b/public/js/app.js index ff74e87..2306187 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -5,15 +5,15 @@ $("#btn_validate").click( function () { validate($("#ta_turtle").val(), function (feedback) { $.each(feedback.warnings, function (index, warning) { - $("#warnings").append('

' + warning + '
'); + $("#warnings").append($('

  • ').text(warning)); }); $.each(feedback.errors, function (index, error) { - $("#errors").append('

    ' + error + '
    '); + $("#errors").append($('

  • ').text(error)); }); if (feedback.errors.length === 0 && feedback.warnings.length === 0) { - $("#results").append("Congrats! We've validated your output and it contains 0 errors or warnings."); + $("#results").append("Congrats! Your syntax is correct."); } }); });