Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

389
Views
How to fix this problem "Declaration or statement expected"

I have this code in a index.html file to render some plots using flask. The code is working but VSCODE keeps warning me about a Declaration or Statement expected error in lines 1 and 2:

As i am not a javascript programmer, can someone help me with this?

<script type="text/javascript">

        (1)var figures = {{figuresJSON|safe}};
        (2)var ids = {{ids|safe}};
        for(var i in figures){
            Plotly.plot(ids[i],
                    figures[i].data,
                    figures[i].layout || {});
        }
    </script>

that link didnt help me

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!