Skip to content

home.html - Property assignment expected error #83

@nadeembu

Description

@nadeembu

Could someone please help with the error I am getting with the home.html file?

There were 3 error, but I updated the code as I noticed that "note.id" wasn't being used anywhere else and I think it should have been "noteId" as defined in the index.js file in the static folder.
Original code:

Updated to this and it cleared one of the "Property assignment" errors.

I am still getting these two errors:
Property assignment expected. javascript [Ln9, Col64]

Here is the full code:

{% extends "base.html" %} {% block title %}Home{% endblock %} {% block content
%}

Notes

    {% for note in user.notes %}
  • {{ note.data }}
× {% endfor %}

<textarea name="note" id="note" class="form-control"></textarea>
Add Note
{% endblock %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions