Last time I saw a video of why every kid should start programming and it made me think why I started doing so. We are currently in a modern world, where everything has to do with programming… from smartphones, TVs to medical equipment and even in the world of agriculture. I started to code, because since I was a kid, I was always into games and computers, fascinated of what I was seeing. I started to code about 4 years ago and I liked the challenges, the joy I had when I finished my first programming homework.
Today, we are going to make a small project connecting to a Open Weather API, retrieve its information depending in the state and country, show it to the user, and in the next post we will add a 5-day forecast to our project. Here is the link to their official site, so you can check their documentation, which is very important to read since it if ask ourselves how to make “X” thing.
Let’s get started
I used Netbeans to create the project, however, you can use any text editor for this, even with notepad. The technologies that will be used in this project are:
First, let’s create a new project in Netbeans or in your favorite text editor as shown in the following image:
Note: This is my project structure, you can do something similar to mine.
After doing so, let’s add one input for the city and another one for the country as well as a button to submit the information.
A couple of days ago, ESO announced a Welcome-Back Event to all BETA subscribers, which is great but gives the idea that the game needs more people, that’s what I exactly thought. I downloaded the game and gave it a try, I managed to level up a few levels and test the game; and here is it what I think about it.
The game is great, the graphics are great, the combat system is great, and you might ask why all the negative reviews about the game? In my opinion, when someone hears about ESO online, they imagine it will be exactly like Skyrim but online, however, it is different. For example, the character creation, you can still choose any race you want with its perks and a class of your choice, which is different from Skyrim where you can choose any racy with its perks and you could be a sorcerer with heavy armor. After creating the character, you can enter a tutorial, which is very useful as it shows the basics of the game as well you can loot armor, potions and other thing that will be useful early game. In the tutorial, you can level up once and now you add a skill point to any of the skills available to your class and a character point, which is exactly like Skyrim, you can choose between Health, Magicka, and Stamina. At first, I thought there were so little skills available to “X” class, then I noticed that each weapon as each own skill set as well. The only thing I didn’t found appealing is that you can only choose 6 skills in the toolbar, which if you come from a MMORPG like WoW or Perfect World where you can have over 9 skills in a toolbar, you might find it a little bit strange.