Javascript exercise list
This repository is intended to showcase my abilities, oops, publish some Javascript exercises that I've got to do in college [UPDATE 4/22/19: I've modified (and I'm modifying) them a little bit to make things interesting]. Since there's a LOT of them, I'll be adding each one as I solve along with their descriptions. With this, I hope that who's learning JS too find it useful.
Disclaimer: Don't worry about supporting legacy browsers just yet. You can learn how to transpile to ES5 later.
Table of contents
- Module of 5
- Sum of 1 over n
- 1 to 10 times tables
- Array sorting
- Shopping discounts
- Higher profit
- Older than 17
- Age groups
- N times table
- Transactions
Quick start
Description (work in progress).
Exercises
I didn't set up difficulty levels for each one because they can be improved almost indefinitely. If you don't know how to approach each problem or want to apply all the JS concepts that you're learning, I suggest the following progressive workflow (that's what I'm doing by the way):
- Solve it with prompts and alerts (don't touch the DOM);
- Render your app in the DOM (finally);
- Set up a notification system using validation;
- Fake a client server communication;
- Make use of object oriented JS;
- Set up build tools.
Good luck and have fun!
1. Module of 5
Description (work in progress).
2. Sum of 1 over n
Description (work in progress).
3. 1 to 10 times tables
Description (work in progress).
4. Array sorting
Description (work in progress).
5. Shopping discounts
Description (work in progress).
6. Higher profit
Description (work in progress).