When getting started with web development, there are a few different routes that you can take. It’s difficult to say which one is the ‘right’ one, as everyone learns in different ways. However the path you choose will need to depend on your interests and goals. Whether it’s front-end, back-end or full stack development, you need to have a solid interest and desire to succeed in one of these, otherwise you may find it too difficult and force yourself to stop learning.
Personally, I wanted to get into full-stack development because I knew that it would benefit me the most for what I wanted to do, so when I got started I specialised in Python and got a good understanding of the basics of Python before I started to learn HTML and CSS. If you want to become a front-end developer I would suggest starting with HTML and CSS, while getting an understanding of files and links. For example, you can have two html files and link between them to make a local page go to another local page.
Whether you are just front end, or back end, having a solid understanding of HTML is imperative. It is the fundamentals of a webpage, it holds the content for each website that you will go onto and acts like a skeleton acts for a human. Once you have an understanding of HTML, you need to start getting to grips with CSS. This allows you to style your website pages however you want to, and acts like a human who has been shopping and has different clothes to wear depending on their needs. So having an understanding of User Experience and Design will be beneficial to your projects. Remember, when learning CSS, there is no correct way, since there are usually 3 or 4 different ways to do one thing.
JavaScript is the harder one, since it involves you learning a language, for back-end developers who may already know a language like Python or PHP, JavaScript can come easily to you since the majority of languages are similar. However if you have only started on HTML and CSS, having a solid understanding of JavaScript is extremely important. It gives your website pages functionality and acts like muscles in a human, allowing things to move and interact. There are a lot of different resources that will help you with getting started with HTML, CSS or JavaScript.
One thing that is extremely important for you to learn is the significance of responsive web design, this means that regardless of what screen size you are viewing a website on, the layout is accessible and all components are readable. For example, a component that has 6 icons on desktop may be laid out in a row of 6 horizontally, on tablet it may be two rows of 3, and then on mobile, it could be a single icon carousel which allows people to scroll to the right or left between each icon. This would give a better design and user experience since it would not take up anywhere near as much room on the page for a mobile user compared to 6 icons laid out vertically.
There are quite a few different tools which can help you when it comes to responsive web design and CSS. Bootstrap and Tailwind both allow for you to write your media queries in a much easier way, meaning less code has to be written to achieve what you want. Lot’s of responsive web design is trial and error, so having to go back and keep changing things can be tedious, so using either Bootstrap or Tailwind are great tools to make your development process more efficient.
Once you have a solid understanding of front end – especially JavaScript, you can move onto more difficult front end frameworks. JQuery is a framework that allows for more simplified javascript to be written. It essentially allows you to easily select elements, set events and call methods without having to write a lot of your own work like you would using vanilla JavaScript.
For example, getting an element and changing the text in JavaScript would look like this:
document.getElementById("myElement").textContent = "Hello, World!";