Alchemy4Elixir - Learn Elixir the Practical Way (like 4clojure but for Elixir)

Hey everyone,

Some of you might remember 4Clojure from back in the day—it was a fantastic site with a series of coding challenges for those learning Clojure. I was a regular user and found it incredibly helpful during my learning journey.

However, after searching for something similar for Elixir, I couldn’t find anything that fit the bill. So, I decided to create my own platform: Alchemy4Elixir.

Learn Elixir the Practical Way: Dive into Trial and Error

Alchemy4Elixir is a platform dedicated to the Elixir programming language, inspired by the concept of 4Clojure. It offers users the opportunity to solve coding challenges and enhance their Elixir skills through an interactive and community-driven experience. The platform is designed to create an engaging, hands-on learning environment for Elixir enthusiasts.

Alchemy4Elixir takes a practical, trial-and-error approach to learning. Each challenge is presented as a unit test, and your goal is to complete the missing code and make the test pass.

Once your solution succeeds, it is saved, and you gain access to solutions from other users. This feature allows you to compare different approaches, refine your coding techniques, and collaborate with the community, all while advancing your Elixir knowledge.

It’s still in the early stages, but the goal is to provide a series of coding challenges and quizzes for anyone looking to learn or improve their skills in Elixir. I’d love to hear your thoughts on the concept and what features you think would make it even better!

Looking forward to hearing from you all!

https://alchemy4elixir.dev

3 Likes

I miss 4clojure. And their note that it had nothing to do with real estate.

Will check it out later.

2 Likes

It’s not working. I see the progress bar loading and reloading repeatedly.

Interesting.
What browser and version are you using?
What page/url did you visit?

It doesn’t work with Firefox. I’m using version 124.0.1.

All exercises don’t work.

They do work in Vivaldi (chrome based). But, I don’t understand who to do.
Should I type the hd([1,2,3]) into the terminal (the one being showed on the page)?

1 Like

Either I missed something or these exercises don’t make any sense:

What I’m supposed to do here?

1 Like

I seem to be a little late to the party, but i also was very confused what the excercise is expecting me to do. Took me quite a while to notice the underscores in the code and to get that i‘m just supposed to replace it.

1 Like

Thank you both for the feedback.

Seems like I have to take and work on my idea one more round so things becomes more clear.

What I hoped for was that people would see that they could fill in whatever code they wanted and as long the result that is returned would evaluate to true after comparison.

1 Like

Yes, once figured out it is pretty obvious. But it took me a while of trial and error to get past my initial confusion. I was thinking i have to write some kind of pattern or anything printing both lines, or…

Maybe a little line of explaining text like “Replace the underscores by typing in the box below to make both expressions valid“ on top of the first excercise would help to lead in the right direction.

1 Like

I don’t if it’s deliberately, but in the question for integer modulo the hint gives away the solution?

The question I’m referring to:
https://alchemy4elixir.dev/questions/Integers/modulo

1 Like

Yeah, the basic set of questions that I have made was mostly just to get something going - so some of the questions are very very leading.

There is actually no limit to what kind of question that we could add to the site - so if you have any suggestions feel free to add a suggestion to the repo issue section - the only requirement I have is that a working solution is offered as well :sweat_smile:
That would be greatly appreciated.

If someone is interested in helping out and has something to contribute I’m open for pull requests

1 Like