freeCodeCamp / freeCodeCamp/mobile

Console issues in Javascript course

Open
#1,833 0 comments 0 reactions 0 assignees View on GitHub
status: waiting triage type: bug
Dominant language
Dart
Stars
581
Forks
197
Avg merge
9d 11h
Merged PRs (30d)
1

Description

**Describe the bug**
When working on the javascript course on mobile, switching to look at the console shows nothing in the console until I hit submit. When it does show it also seems to auto-trim strings, making the whole workshop on the trim() method not make much sense.
Finally, when it does send to the console after I hit submit, it seems to send everything two or three times.

**To Reproduce**
Go to any workshop or lab for javascript, console.log something and switch to the console. Then hit submit and see the console finally fill, but only after telling you you did the prompt wrong.

**Expected behavior**
On desktop, as I update the code, the console auto updates so I can see what my changes are actually doing. On desktop, strings also include the whitespace instead of auto-trimming things. And everything only shows once in the console as it should.

**Smartphone (please complete the following information):**
- Device: Pixel 8 Pro
- OS: Android 17
- Version 7.5.6

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in a JavaScript course workshop or lab on Android, then trace the mobile console update and submit flow. Done means console output appears while editing, preserves whitespace, and displays each result only once without an incorrect-submit message.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter, javascript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.