Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson 3 (Props) canonical answer does not pass tests #134

Open
entendu opened this issue Jan 11, 2018 · 4 comments
Open

Lesson 3 (Props) canonical answer does not pass tests #134

entendu opened this issue Jan 11, 2018 · 4 comments

Comments

@entendu
Copy link

entendu commented Jan 11, 2018

Lesson 3 is fairly confusing all the way around, but one egregious issue is that the canonical answer won't pass tests:

<table style={{border: "2px solid black"}}>

5.  ACTUAL:    "        <table style=\"border:2px solid black\">"
5.  EXPECTED:  "        <table style=\"border:2px solid black;\">"
@elyalvarado
Copy link

@entendu This is an error caused by the difference between the version of react being used by learnyoureact to evaluate the solution and the version you have installed. In general, the whole workshop should be updated to be consistent with the latest version of react

@zskiredj
Copy link

zskiredj commented May 15, 2018

so what is the solution ?
I mean how do you submit the right code ?

@ptraverse
Copy link

you can just escape it in .jsx

<table style={{border: "2px solid black\;"}}>

@jpgotopo
Copy link

jpgotopo commented Dec 26, 2020

I changed the code by <table style={{border: "2px solid black\;"}}> and work well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants