Skip to content

[Bug]: Frontend syntax error breaks navbar on landing page #1283

Description

@chirag-projects

What happened?

A critical JavaScript SyntaxError: missing ) after argument list is thrown on page load from static/script.js:1077. This syntax regression completely halts execution of the main script initialization bundle, rendering mobile navigation toggles, theme selectors, and the key search/recommendation engine elements fully non-functional.

Expected behavior: The application script should load cleanly with zero structural console exceptions, enabling recommendation form submissions and responsive UI elements.

Steps to reproduce

Navigate to the deployment URL or local environment: https://mydevpath-github.vercel.app/
2. Open the browser Developer Tools Console (F12 or Ctrl+Shift+I).
3. Note the red error banner displayed on the UI and the explicit script error thrown in the logs:
JS ERROR: SyntaxError: missing ) after argument list at https://mydevpath-github.vercel.app/static/script.js:1077
4. Attempt to interact with the "Start Finding Projects" button or theme components; see that they fail to execute.

Expected behaviour

The script engine should cleanly execute, leaving the page in a fully interactive state without throwing blocking top-level parsing exceptions.

Area of the app affected

Homepage form

Python version

3.11.4

Operating system

windows 11

Relevant error output or logs

JS ERROR: SyntaxError: missing ) after argument list at [https://mydevpath-github.vercel.app/static/script.js:1077](https://mydevpath-github.vercel.app/static/script.js:1077)

Before submitting

  • I searched existing issues and this has not been reported before.
  • I can reproduce this bug consistently with the steps above.
  • I am running the latest version of the main branch.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions