Topnumber,js file doesnt show and cannot complete the exercise


<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>


Replace this line with your code.

<do not remove the three backticks above>

Same here. Even resetting the lesson does not help.

Can you be more specific? For example:

  • TopNumber.js does not appear in the the sidebar/navigation pane.
  • TopNumber.js does appear in the sidebar but I cannot open it.
  • I can open TopNumber.js but the file contents are empty.

Have you tried clearing your cache? On Chrome and Firefox hold Ctrl (windows) / Cmd (mac) + Shift and press R
That will refresh and bypass cache, forcing the browser to re-retrieve data previously stored in cache. Try doing that in exercise 1 and clicking next and/or reset lesson after clearing cache.

Please share specifics about the problem and what didn’t work so we can move towards a solution and help others who run into the same problem later.

it dose not appear any place
check here please

FYI: I am not a Codecademy employee. I’m just a user trying to help out. I do not know if my proposed solution will work.

First: try resetting the exercise by clicking ‘Help’ in the bottom right hand corner and choosing ‘I want to restart this exercise’.

If that doesn’t work, do the following:

  1. Hover over “files”.
  2. Click the options icon.
  3. Click ‘New File’ option.
  4. Type ‘TopNumber.js’ (without quotes).
  5. Press enter/return.

Then reset the exercise again.

Let me know if that works. If it does not work, I can provide you with the initial code, which you can copy and paste.

thank you for help ,

after creating file and reseting the exercise the same problem happen " file disappear again"

Recreate it and paste this:

var React = require('react');
var ReactDOM = require('react-dom');
var yellow = 'rgb(255, 215, 18)';

var TopNumber = React.createClass({
  propTypes: {
    number: React.PropTypes.number,
    game: React.PropTypes.bool

  getInitialState: function () {
    return { 'highest': 0 };

  render: function () {
    return (
        Top Number: {this.props.number}

module.exports = TopNumber;

Hope it works out. Hake sure to submit a bug report if you haven’t already.


I’m replying to keep this thread alive, since Codecademy closes topics after 7 days with no replies. It’d be nice if an admin popped in and offered suggestions. This section of the React course is broken.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.