https://github.com/epoch/hogwarts_rails
https://github.com/epoch/hogwarts_rails
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/epoch/hogwarts_rails
- Owner: epoch
- Created: 2017-10-16T04:37:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-16T11:12:05.000Z (over 8 years ago)
- Last Synced: 2025-02-05T21:55:18.946Z (over 1 year ago)
- Language: Ruby
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# OH NO
He-Who-Must-Not-Be-Named has placed a curse on the source code of Hogwarts' administration software. Errors, typos, and bugs abound! Literally nothing works.
## Your Mission
You're Rubyist Hagrid, a member of Dumbledore's Army. Correct all the errors so that this app runs properly.
> The errors are all in locations that we've covered in class. (Even Voldemort's not that heartless!) Also, there are no changes necessary in the `app/assets` folder.
> Looking at files in Atom with syntax highlighting may be helpful.
> Making sure your HTML and CSS validate is still important! If you copy an paste a `.erb` file it won't validate, however -- so copy and paste the resulting HTML as it shows up in your web browser.
## Submission
Fork and clone this repo. Once you have made the necessary corrections, push your changes and submit a pull request.
## Bonus
Add functionality so students can enroll at Hogwarts (creating a new student). Include a "Sorting Hat" method to randomly assign new students to one of Hogwarts' four houses. (Where do you think this logic should go?)