question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The instructions seem inappropriate for this activity

See original GitHub issue

Challenge Write Reusable JavaScript with Functions has an issue. User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:


// Example
function reusableFunction() {
  console.log("Hi World");
}

reusableFunction();

// Only change code below this line

function reusableFunction1() {
  console.log("Hi World");
}
reusableFunction1();

Instructions Create a function called reusableFunction which prints “Hi World” to the dev console. Call the function.

But I found that objective was to make changes in existing reusableFunction() instead of creating new reusableFunction1().

Seems, Instructions are inappropriate. Also have a look at comment in code, which says // Only change code below this line

However, the activity expects to modify exisitng reusableFunction which is above this line.

Thanks.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
pranayberrycommented, May 17, 2016

@raisedadead I noticed same issue with the next challenge also ie the instructions are not clear. I have done the changes you previewed with this challenge.

1reaction
pranayberrycommented, May 15, 2016

@raisedadead @erictleung We can update the instructions as

Change the function called reusableFunction so that it prints "Hello World" to the dev console.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get the most accurate measurements using your Apple Watch
Tap the My Watch tab, then tap Health > Health Details. Tap Edit, then tap the item that you want to change.
Read more >
Investigate suspicious activity on your account - Google Support
Investigate suspicious activity on your account · Find out if your Google Account has been hacked · Need more help? · Suspicious activity....
Read more >
Physical Activity Guidelines for Americans, 2nd edition
This second edition of the Physical Activity Guidelines for Americans provides science- based guidance to help people ages 3 years and older improve...
Read more >
What parents need to know about inappropriate content
Find out about the type of inappropriate content that your child may see across the platforms and apps they use and the challenges...
Read more >
Table 7, DSM-IV to DSM-5 Attention-Deficit/Hyperactivity ...
b. often has difficulty sustaining attention in tasks or play activity, b. ... d. often does not follow through on instructions and fails...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found