learn-co-curriculum / building-nested-hashes Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
my nested hashes(hero_friends) are not completing the learn. It looks exactly like the follow along example but its saying "expecting end, unexpected ]"
Hello. The last section is labeled as a "Bonus" section, which seems to imply that completing it is optional. However, the tests currently will not pass unless the "Bonus" section is completed.
To be fair, the last section is fairly easy to complete if one is familiar enough with hashes, but the README does not say how to skip it, for those who would rather move on instead. I suspect that all that needs to be done is to comment out the entire spec/bonus_spec.rb file.
Thank you for looking into this!
Sdcrouse
Tests for fourth challenge directly after first, then the second and third. Makes it a little weird to test using --fail-fast
Fun lab,
First time raising an issue so let me know if I'm doing it wrong...
The "Bonus Code Along Challenge" instructions say:
"Also! to enable these tests make sure to remove the x in front of the it block near the bottom."
There was no x and the test was running throughout the lab, not sure if the instructions should be deleted or the the RSPEC test should be disabled.
Thanks,
Schuyler
I had a lot of fun with this! Yay. It was nice to be walked through the steps of building a nested data structure.
I noticed a few things:
key: value
was not used in directions (:key => value
), or in the lab, even though it does appear in the first example about instructors before the code along.I totally want to copy this premise for a nested data lab in iOS.
This is so silly, but Juliet's name is incorrectly spelled "Juliette" both in the lesson and the tests.
The Diagram has 2 friends for Romeo and 2 friends for Juliet.
Romeo's = Benvolio and Steven
Juliet's = Mercutio and Nurse
In the CODE ALONG CHALLENGE IV: NESTING FRIENDS AND ATTRIBUTES section it looks like Steven and Mercutio were transposed. In this section the 2 friends change in the text:
Romeo's = Benvolio and Mercutio
Juliet's = Steven and Nurse
The attributes are correct for Steven and Mercutio
Tybalt probably wouldn't have killed him if he were closer to the Capulets.
Also, who is Steven?
This is now the second time this has happened to me.
The first was in the new Using Arrays lab that Learn.co sneakily added in on Tuesday (11/10,15)
I completed the lab and the green circle is not filled in.
Now the building nested hashes lab (this one) is shown on the left the exact same way, no green circle.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.