{"id":20166120,"url":"https://github.com/robertjgabriel/javascript-examples","last_synced_at":"2025-10-09T11:15:46.441Z","repository":{"id":83357810,"uuid":"50929028","full_name":"RobertJGabriel/javascript-examples","owner":"RobertJGabriel","description":"A few side projects that were in javascript ","archived":false,"fork":false,"pushed_at":"2016-02-23T15:25:39.000Z","size":47,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T14:53:06.192Z","etag":null,"topics":["age","college-project","fortune","fortune-teller","javascript","radius","side-project"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobertJGabriel.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-02T15:12:02.000Z","updated_at":"2023-11-04T20:26:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd68295a-ac07-42cc-be0c-547dd9e87f88","html_url":"https://github.com/RobertJGabriel/javascript-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertJGabriel%2Fjavascript-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertJGabriel%2Fjavascript-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertJGabriel%2Fjavascript-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertJGabriel%2Fjavascript-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobertJGabriel","download_url":"https://codeload.github.com/RobertJGabriel/javascript-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241601993,"owners_count":19989039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["age","college-project","fortune","fortune-teller","javascript","radius","side-project"],"created_at":"2024-11-14T00:42:38.963Z","updated_at":"2025-10-09T11:15:41.415Z","avatar_url":"https://github.com/RobertJGabriel.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Javascript Examples\n\n![alt text](http://elastictheme.org/wp-content/uploads/2015/05/i-love-javascript.jpg \"Logo Title Text 1\")\n\n\n#About\nJust some common soultions for different javascript and node problems. Feel free to add more and to use. Was usedd for college\n\n#Problems\n###The Fortune Teller\nWhy pay a fortune teller when you can just program your fortune yourself?\n\n- Store the following into variables: number of children, partner's name, geographic location, job title.\n-  Output your fortune to the screen like so: \"You will be a X in Y, and married to Z with N kids.\"\n\n\n###The Age Calculator\n\nForgot how old someone is? Calculate it!\n\n- Store the current year in a variable.\n- Store their birth year in a variable.\n- Calculate their 2 possible ages based on the stored values.\n- Output them to the screen like so: \"They are either NN or NN\", substituting the values.\n\n###The Lifetime Supply Calculator\n\nEver wonder how much a \"lifetime supply\" of your favorite snack is? Wonder no more!\n\n- Store your current age into a variable.\n- Store a maximum age into a variable.\n- Store an estimated amount per day (as a number).\n- Calculate how many you would eat total for the rest of your life.\n- Output the result to the screen like so: \"You will need NN to last you until the ripe old age of X\".\n\n\n### The Geometrizer\n\nCalculate properties of a circle, using the definitions here.\n\n- Store a radius into a variable.\n- Calculate the circumference based on the radius, and output \"The circumference is NN\".\n- Calculate the area based on the radius, and output \"The area is NN\".\n\n\n### The Temperature Converter\n\nIt's hot out! Let's make a converter based on the steps here.\n\n- Store a celsius temperature into a variable.\n- Convert it to fahrenheit and output \"NN°C is NN°F\".\n- Now store a fahrenheit temperature into a variable.\n- Convert it to celsius and output \"NN°F is NN°C.\"\n\n\n\n### What number's bigger?\n\nWrite a function named greaterNum that:\n- takes 2 arguments, both numbers.\n- returns whichever number is the greater (higher) number.\n- Call that function 2 times with different number pairs, and log the output to make sure it works (e.g. \"The greater number of 5 and 10 is 10.\").\n\n### The Grade Assigner ?\n\n-Write a function named assignGrade that:\n-- Takes 1 argument, a number score.\n-- returns a grade for the score, either \"A\", \"B\", \"C\", \"D\", or \"F\".\n- Call that function for a few different scores and log the result to make sure it works.\n\n### The Pluralizer\n - Write a function named pluralize that:\n -- takes 2 arguments, a noun and a number.\n -- returns the number and pluralized form, like \"5 cats\" or \"1 dog\".\n --  Call that function for a few different scores and log the result to make sure it works.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertjgabriel%2Fjavascript-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertjgabriel%2Fjavascript-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertjgabriel%2Fjavascript-examples/lists"}