Hi @somen18, I honestly don’t think you need any prior knowledge in programming to start learning the front end. That might not be the case for back end.
Also I don’t consider C as a requirement at all.
You can learn JS in a totally unrelated way to it (and I also think JS is among the easiest programming languages to start with). I suggest you to read the book “you don’t know JS… Yet” (which is the latest version of “You don’t know JS”.
What you would benefit from, though, is some knowledge of data structures and algorithms (but it’s not a prerequisite, just a bonus).
Especially related to structures like arrays, lists, dictionaries, stacks and queues and binary trees (not much for their complexity but more to know what are some of the tools you could use).
Please do not ask the same question in multiple subforums. I will combine your two topics.
You could try doing CS50 the online course from Harvard on edx.
C has its quirks but it would make you a better developer in the long run. By this I don’t mean you need to be proficient at it or anything but just learning the basics in C helped me a lot.
Don’t focus on stuff you don’t need.
Time is valuable.
You will never know all existing knowledge.
Don’t focus on C or anything else that is not the most important next step.
If your goal is to be a web developer, then you probably don’t want to start with learning C. C is great and it’s the grand-daddy of many languages, but you don’t need to learn it before learning the languages you plan to use. That’s a bit like saying that you want to move to Italy, but you should study Latin before learning Italian.
C’s minimalism is what makes many things complex. Like it not having an actual string type, meaning you have a dizzying array of functions to choose from, the most convenient of which are riddled with buffer overflows. To say nothing of the eldritch horror that awaits you in the form of the dread Linker.
Strings are much better if you use
string.h. You still need to remember that a string is a null terminated array of characters, but at least you get basic string manipulation functions in
string.h to make things easier to read. And the
strn*() functions help with the buffer and safety problems.
But anyone that understands linking and Make is a wizard that sold their soul to Cthulhu.
just foc in Java script