I started my project by deciding what API I wanted to use for my project. These projects are built and submitted in code pens and to minimize the number of external assets I’d be using I knew I wanted an API that came with weather icons.
After doing a little research and seeing some feedback from fellow campers I decided to use the OpenWeatherMap API. Setting up an account was as easy as it could be and their free accounts allow up to 7,200 calls per day and caps calls per minute at 60. This obviously wouldn’t be ideal for a high traffic product for the sake of this project it would work splendidly.
Once I had that set up I was ready to get coding. I started out by building out my HTML. I didn’t get overly fancy with the architecture since the emphasis of the build would be on JS. One thing I did inside of my HTML was, I went ahead and placed id to the elements I knew I would want to target later with my JS.
After the HTML was in place I took a few minutes to give it a little styling. Again, the main purpose of this project was to work with JS so the HTML & CSS got the bare minimum treatment.
And now on to the fun stuff!
Learn what are the most important API security threats engineering leaders should be aware of and steps you can take to prevent them
ＬＩＫＥ | ＣＯＭＭＥＮＴ | ＳＨＡＲＥ | ＳＵＢＳＣＲＩＢＥ In this tutorial, we learned how to consume Web API Get and Post methods in the ASP.NET View. Here, we will see how to con...
ＬＩＫＥ | ＣＯＭＭＥＮＴ | ＳＨＡＲＥ | ＳＵＢＳＣＲＩＢＥ In this tutorial, we learned how to consume Web API Get,Post and PUT methods in the ASP.NET View. Here, we will see how to...
ＬＩＫＥ | ＣＯＭＭＥＮＴ | ＳＨＡＲＥ | ＳＵＢＳＣＲＩＢＥ In this tutorial, I will discussed about how to consume Web API Get method and display records in the ASP.NET View. Here, ...