Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug code does not match lesson #3729

Open
mrpwilliams80 opened this issue Jul 29, 2024 · 0 comments
Open

Debug code does not match lesson #3729

mrpwilliams80 opened this issue Jul 29, 2024 · 0 comments

Comments

@mrpwilliams80
Copy link

Code Quality - 1. Debugging in the Browser, example page

The code shown in the sources panel is currently condensed to only two lines:

function hello(name){let phrase=`Hello, ${name}!`;say(phrase);}
function say(phrase){alert(`** ${phrase} **`);}

This is rather than spread over nine lines as shown in both the examples and repo .

Editing the source in browser does allow for the addition of breakpoints but upon directed refresh the code is reset to its original state and the results do not match those in the tutorial text.

Given the repo code seems to be as intended suggests perhaps a deployment issue.

Confirmed with browser versions:

  • Chrome: 126.0.6478.185 (Official Build) (64-bit)
  • Firefox: 128.0.3 (64-bit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant