An extension requires a frontend. It is built using web technologies: HTML, CSS, and Javascript.
Optionally, an extension could leverage a backend. It may be worthwhile avoiding building an extension that requires a backend if you are also learning to write code at the same time.
To start, I’d suggest coming up with an idea of what you want your extension to do. From there, investigate what is needed to achieve that.