Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNicholas Chetto
4,221 Pointsthe restart button doesn't work
Morning all. The restart button doesn't allow me to restart and so this is the code witch is stuck to my script.js. the is coming from JavaScript Loops, Arrays. challenge 1 and 2 are stuck with this code. any help would be awesome thanks.
var counter = 0;
while (counter < 10) {
var randNum = randomNumber(6);
document.write(randNum + ' ');
counter += 1;
}
1 Answer
Steven Parker
231,275 PointsThis code contains changes that are not part of the challenge, you need to restart with the original provided code and perform only what the instructions ask for.
If the "Restart" button isn't working for you, try reloading the page itself. If that doesn't work, you might try contacting Support.