Skip to content

🐛 [Bug]: Fix syntax errors in projects.js and main.js breaking all Play Now buttons #437

@avzuha

Description

@avzuha

Description:
While I was testing my improvement for Rock-Paper-Scissor's UI/UX I noticed that due to syntax error the whole local web app is crashing.
Inherently, "Play Now", "Try it", Search Bar and Navigation buttons are not working.
As contributors want to add new Features to the existing projects, this bug should be fixed immediately so that the other contributors can verify their improvements added before merging PR.

Image

Uncaught SyntaxError: Unexpected string in projects.js:27 — there's a syntax error in projects.js that's crashing the entire JS file, so nothing works
Uncaught SyntaxError: Identifier 'recentSearches' has already been declared in main.js:90 — a variable declared twice in main.js
I would like to fix these syntax issues ASAP.

Fix:
Open web-app/js/projects.js and go to line 27 to fix the syntax error there.
Same for web-app/main.js line 90, there'll be a const recentSearches or let recentSearches declared twice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions