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 trial

JavaScript JavaScript Basics (Retired) Making Decisions with Conditional Statements Add a Final Else Clause

I've restarted both my internet and computer but it will not allow me to write code in the box. Is site having issues?

I'm not necesarily looking for an answer to this question. As I think I've got the format ready to go. Once I'm able to enter text again. I should be able to get correct answer. It seems like the ability to enter data is delayed. Has anyone else had issues with? This has never happened to me till today. I've checked the strength of my internet signal and its still strong. Not sure if this site issue or not.

script.js
var isAdmin = false;
var isStudent = false;

if ( isAdmin ) {
    alert('Welcome administrator')
} else if (isStudent) {
    alert('Welcome student')
}
index.html
<!DOCTYPE HTML>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>JavaScript Basics</title>
</head>
<body>
<script src="script.js"></script>
</body>
</html>

2 Answers

I think I know what you are talking about. Make sure you are scrolled to the top of the box. You should then be able to click and put the cursor in the box. Then use arrow keys to put it where you want.

It took me a bit to figure this bug out.

Thanks for your assistance. After several failed attempts I documented the problem and shared the recording with treehouse. They suggested if problem persisted, it might be due to browsers plugins. "You can do this temporarily by opening a new window up in incognito Mode(Chrome) or Safe Mode(FireFox). If a Code Challenge works within one of those two disabled plugin windows then the problem is a plugin on your browser that you'll need to remove."

Hope this post helps others.

let me know if that resolves your issue. I also have the same problem on my iPad using Safari. It is most difficult to deal with there because of the lack of navigation with arrow keys.