Posts

JavaScript Cheat Sheet

Image
JavaScript Basics Let’s start off with the basics – how to include JavaScript in a website. Including JavaScript in an HTML Page To include JavaScript inside a page, you need to wrap it in <script> tags: <script type="text/javascript"> //JS code goes here </script> With this input, the browser can identify and execute the code properly. Call an External JavaScript File You can also place JavaScript in its own file and name it inside your HTML. That way, you can keep different types of code separate from one another, making for better-organized files. If your code is in a file called myscript.js, you would call it: <script src="myscript.js"></script><code></code> Including Comments Comments are important because they help other people understand what is going on in your code or remind you if you forgot something yourself. Keep in mind that they have to be marked properly so the browser won’t try t...

How i started Java Programming

Image
Before learning Java I was a Digital Marketing Expert on UpWork and Fiverr.  I worked with lots of clients on both platforms. As a Bangladeshi my timezone and clients timezone was different. So I have to work at night and sleep the whole day. Then again start working. When I started freelancing it was difficult to get used to different timezone because of different clients. And suddenly when I'm working with a client she asked me if I have any programming knowledge. I replied no. Then suddenly I felt that I need to learn programming. I was so tired because of continuing working the whole night and sleep all day. Even sometimes it happens that I haven't seen the sunlight for 1 week. Also, my family is going far away from me even they are in the same house. I also feel that all my friends were virtual. I need some real friends. So on this position, I decided to learn coding.  I searched on Google about the best it centres near me and found one. When I go to lear...