This is a very approachable introduction to Perceptrons and Multi-Layer Perceptrons with some minimal-dependency code used to illustrate the main ideas.
There are much better introductions than this as well, the whole article feels like it was written with the help of GPT
Do you have any recommendations?