Help me, please, build a band page on the loDash template.



  • Please help me find where the mistakes are: the page doesn't reset completely and it doesn't work out the fashion window on the "Take the Outcome" button:

    var retObj = JSON.parse(localStorage.getItem("object"));
    var html = $('#test').html();
    var content = _.template(html)(retObj);
    $("body").append(content);
    

    https://plnkr.co/edit/3hzJzYxMOJv4YoGjgC7m?p=preview



  • There was a gap in the closing angular brackets for the <label .. >:

    <label for="<%= questions[i].id[j] %>"><%= questions[i].answers[j] %></label>
    

    Therefore, the text was not visible.

    The modular window was not opened because there was a shortage of the opening angular brackets in the current div:

    var modal = $("<div class='modal'></div>");
    

    Corrected code https://plnkr.co/edit/fiXFCXrUev69004NmcYn?p=preview




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2