Giter Site home page Giter Site logo

Jody Nguyen's Projects

getmiddlechar icon getmiddlechar

//Exercise 2: //Given a word, return the middle character or characters of the word. //If the word is odd in length, return a string of the middle character. //If the word is even, return a string of the middle two characters. //If the string is empty, return an empty string. //Examples: //“dog” should return “o” //“Fishing” should return “h” //“have” should return “av” //“Middle” should return “dd” //“C” should return “C”

sortarray icon sortarray

//Exercise 1: //Given an array of numbers, sort ascending odd numbers but leave even numbers in their original place in the array. //Zero does not need to move. //If the array is empty, return an empty array. //Examples: //[5, 3, 2, 8, 1, 4] should return [1, 3, 2, 8, 5, 4] //[6, 3, 2, 7, 5, 0] should return [6, 3, 2, 5, 7, 0]

weatherforecast icon weatherforecast

Create a single page web app that leverages asynchronous javascript to display the upcoming weather in a selected city using data from a public API. It should include: A field to enter a zip code. When the user submits the zip, async javascript should call an API (detailed below) to retrieve upcoming weather data. Using the returned data the app should display date/time, temperature and pressure in a table. City name should also appear at the top of the table. API Info: Use the API at https://openweathermap.org/ This will require you sign up for a free account to get an API key. The API route to use is: https://api.openweathermap.org/data/2.5/forecast?zip=[ZIP CODE],us&APPID=[YOUR API KEY] API route documentation: https://openweathermap.org/forecast5 Use JSON and not XML for data returns. Bonus points for: Using a CSS framework to make it look nice (e.g. Bootstrap), or roll your own styling. Build in exception handling (such as entering in a malformed zip code or one that does not exist). Build in user feedback of application state (loading, error, etc.).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.