Table of contents
I found it confusing – I didn't understand anything about how the DOM worked and I didn't think I'd use it that much anyway. I already knew HTML and CSS and that's pretty much all you need for designing websites, right?
Recommended reading: How to Manipulate the DOM - A Beginner's Guide.
This allows us to carry out calculations on the client-side such as determining the number of characters in a form or getting the height of an element from the top of the screen.
There are multiple operations you can do on these data structures such as adding and deleting elements or filtering and sorting. This is widely used in real life situations to manipulate user data.
click to monitor how the user interacts with a page. These listeners are used to carry out certain functions based on the event.
For example, you can use the
onClick event listener to display an element when a user clicks a button.
For example, when a user submits a form on a webpage, you can create a fetch request to POST the data in that form to a server and process the returned response from the server.
script tag in an HTML file.
The code can be written directly in the
script tag or imported as an external
.js file using the
<!-- importing a JS file --> <html> <head> <title>Home</title> <script src="main.js"></script> </head> <body> <h1>Hello, World!</h1> </body> </html>
To open the console, navigate to the developer tools in your browser on your laptop or desktop. There are different ways to get to the developer tools depending on which browser you're using: Chrome, Safari, Firefox or Microsoft Edge.
A good approach is to build things that solve problems. For instance, I was having trouble copying the content from a Word document into an HTML list, so I built a Text-to-HTML Converter.
Most courses attempt to cover all the important concepts you need to know, and some provide a certification at the end to help improve your résumé.
If you have no prior coding knowledge, freeCodeCamp is an excellent place to begin your tech journey. They have a variety of courses, all explained in a simple-to-grasp format.
There is also a large online forum which makes it easy to receive help or feedback from other people while taking the courses.
Suited for: Beginners
Udemy is a paid online platform that offers courses for a wide range of skills. Most of the courses are short-term, and can be learned in your free time.
Suited for: Beginner and intermediate learners
Udacity is a tech-focused learning platform that offers Nanodegrees for their courses. Courses can take anywhere from 2 to 6 months, depending on how many hours you're able to commit. They're a great way of gaining in-depth knowledge in a skill relatively quickly.
Suited for: Intermediate developers
Zero To Mastery offers practical courses for people looking to advance their career. If you're looking to apply for a job or start a career in tech without any prior experience, it's helpful to learn a course that offers real-life usage. This is especially useful for the interview stage.
Suited for: Experts and professionals
Did you find this article valuable?
Support Jemima Abu by becoming a sponsor. Any amount is appreciated!