I think there is a bug in 3/7 i can't find the file Target.js anywhere


<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>

I’ve not actually done React.js but when you’re working with multiple files, there should be a folder icon between the instructions and the editor. If you click on that, it’s basically a mini file explorer.

thanks for your reply but i’d found it everywhere even i tried to create it myself by the code given in the other queries of react.js but it is also returning an error

Please if anyone have some idea how to pass this excercise please tell me

You have to create files from the exercise before this one with the code from the exercise before. For some reason all the required files are not transferring to next exercise This will get you pass 3/7, but 4/7 has issues as well.

I have already tried to create the file by the code given in the other exercises but it is also returning an error maybe the code was not correct. Can you please send me the correct code if you have

Is there anybody who passed this exercise? Please give me exact code of target.js

Having the same problem of missing Target.js. Reported a bug. Anyone solve this?

i had reported a bug for this exercise but where to find the reply

please help anyone i am stuck in this exercise since many days i wanna pass this

This is my code for Target.js please tell me if i had anything wrong in this code. Thanks
var React = require(‘react’);
var random = require(’./helpers’).random;

var Target = React.createClass({
propTypes: {
number: React.PropTypes.number.isRequired
shouldComponentUpdate: function (nextProps, nextState) {
return this.props.number != nextProps.number;
render: function () {
var visibility = this.props.number
? ‘visible’ : ‘hidden’;
var style = {
position: ‘absolute’,
left: random(100) + ‘%’,
top: random(100) + ‘%’,
fontSize: 40,
cursor: ‘pointer’,
visibility: visibility

return (



module.exports = Target;

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