{"id":3487,"date":"2022-09-21T21:20:13","date_gmt":"2022-09-21T16:20:13","guid":{"rendered":"https:\/\/www.edopedia.com\/blog\/?p=3487"},"modified":"2022-09-21T21:20:15","modified_gmt":"2022-09-21T16:20:15","slug":"make-a-weather-app-using-react-bootstrap-openweathermap-api","status":"publish","type":"post","link":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/","title":{"rendered":"Make a Weather App Using React Bootstrap OpenWeatherMap API"},"content":{"rendered":"\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;text\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">npx create-react-app weatherapp<\/pre><\/div>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;text\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">cd weatherapp<\/pre><\/div>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;text\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">npm i bootstrap<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">App.js<\/h2>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;text\/javascript&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;JavaScript&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;js&quot;}\">import React from &quot;react&quot;;\n\nimport Titles from &quot;.\/components\/Titles&quot;;\nimport Form from &quot;.\/components\/Form&quot;;\nimport Weather from &quot;.\/components\/Weather&quot;;\n\nconst API_KEY = &quot;###yourapikey###;\n\nclass App extends React.Component {\n  state = {\n    temperature: undefined,\n    city: undefined,\n    country: undefined,\n    humidity: undefined,\n    description: undefined,\n    error: undefined\n  }\n  getWeather = async (e) =&gt; {\n    e.preventDefault();\n    const city = e.target.elements.city.value;\n    const country = e.target.elements.country.value;\n    const api_call = await fetch(`http:\/\/api.openweathermap.org\/data\/2.5\/weather?q=${city},${country}&amp;appid=${API_KEY}&amp;units=metric`);\n    const data = await api_call.json();\n    if (city &amp;&amp; country) {\n      this.setState({\n        temperature: data.main.temp,\n        city: data.name,\n        country: data.sys.country,\n        humidity: data.main.humidity,\n        description: data.weather[0].description,\n        error: &quot;&quot;\n      });\n    } else {\n      this.setState({\n        temperature: undefined,\n        city: undefined,\n        country: undefined,\n        humidity: undefined,\n        description: undefined,\n        error: &quot;Please enter the values.&quot;\n      });\n    }\n  }\n  render() {\n    return (\n      &lt;div&gt;\n        &lt;div className=&quot;wrapper&quot;&gt;\n          &lt;div className=&quot;main&quot;&gt;\n            &lt;div className=&quot;container&quot;&gt;\n              &lt;div className=&quot;row&quot;&gt;\n                &lt;div className=&quot;col-xs-5 title-container&quot;&gt;\n                  &lt;Titles \/&gt;\n                &lt;\/div&gt;\n                &lt;div className=&quot;col-xs-7 form-container&quot;&gt;\n                  &lt;Form getWeather={this.getWeather} \/&gt;\n                  &lt;Weather \n                    temperature={this.state.temperature} \n                    humidity={this.state.humidity}\n                    city={this.state.city}\n                    country={this.state.country}\n                    description={this.state.description}\n                    error={this.state.error}\n                  \/&gt;\n                &lt;\/div&gt;\n              &lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n    );\n  }\n};\n\nexport default App;<\/pre><\/div>\n\n\n\n<p>Here you need to replace the\u00a0<code>openweathermap<\/code>\u00a0api key.<\/p>\n\n\n\n<p>After that, make a\u00a0<code>components<\/code>\u00a0folder and inside this you need to make<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Form.js<\/h2>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;text\/javascript&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;JavaScript&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;js&quot;}\">import React from &quot;react&quot;;\n\nconst Form = props =&gt; (\n\t&lt;form onSubmit={props.getWeather}&gt;\n\t\t&lt;input type=&quot;text&quot; name=&quot;city&quot; placeholder=&quot;City...&quot;\/&gt;\n\t\t&lt;input type=&quot;text&quot; name=&quot;country&quot; placeholder=&quot;Country...&quot;\/&gt;\n\t\t&lt;button&gt;Get Weather&lt;\/button&gt;\n\t&lt;\/form&gt;\n);\n\nexport default Form;<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Titles.js<\/h2>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;text\/javascript&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;JavaScript&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;js&quot;}\">import React from &quot;react&quot;;\n\nconst Titles = () =&gt; (\n\t&lt;div&gt;\n\t\t&lt;h1 className=&quot;title-container__title&quot;&gt;Weather Finder&lt;\/h1&gt;\n\t\t&lt;h3 className=&quot;title-container__subtitle&quot;&gt;Find out temperature, conditions and more...&lt;\/h3&gt;\n\t&lt;\/div&gt;\n);\n\nexport default Titles;<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Weather.js<\/h2>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;text\/javascript&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;JavaScript&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;js&quot;}\">import React from &quot;react&quot;;\n\nconst Weather = props =&gt; (\n\t&lt;div className=&quot;weather__info&quot;&gt;\n\t {\t\n\t \tprops.city &amp;&amp; props.country &amp;&amp; &lt;p className=&quot;weather__key&quot;&gt; Location: \n\t \t\t&lt;span className=&quot;weather__value&quot;&gt; { props.city }, { props.country }&lt;\/span&gt;\n\t \t&lt;\/p&gt; \n\t }\n\t { \t\n\t \tprops.temperature &amp;&amp; &lt;p className=&quot;weather__key&quot;&gt; Temperature: \n\t \t\t&lt;span className=&quot;weather__value&quot;&gt; { props.temperature }\t&lt;\/span&gt;\n\t \t&lt;\/p&gt; \n\t }\n\t { \t\n\t \tprops.humidity &amp;&amp; &lt;p className=&quot;weather__key&quot;&gt; Humidity: \n\t \t\t&lt;span className=&quot;weather__value&quot;&gt; { props.humidity } &lt;\/span&gt;\n\t \t&lt;\/p&gt; \n\t }\n\t { \t\n\t \tprops.description &amp;&amp; &lt;p className=&quot;weather__key&quot;&gt; Conditions: \n\t \t\t&lt;span className=&quot;weather__value&quot;&gt; { props.description } &lt;\/span&gt;\n\t &lt;\/p&gt; \n\t }\n\t { \n\t \tprops.error &amp;&amp; &lt;p className=&quot;weather__error&quot;&gt;{ props.error }&lt;\/p&gt;  \n\t }\n\t&lt;\/div&gt;\n);\n\nexport default Weather;<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">App.css<\/h2>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;css&quot;,&quot;mime&quot;:&quot;text\/css&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;CSS&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;css&quot;}\">@import url('https:\/\/fonts.googleapis.com\/css?family=Merriweather:100,200,300,300i,400,400i,700');\n@import url('https:\/\/fonts.googleapis.com\/css?family=Roboto+Slab:400,700');\n@import url('https:\/\/fonts.googleapis.com\/css?family=Open+Sans:300,400');\n\nbody {\n  font-family: &quot;Open Sans&quot;, serif;\n}\n\n.wrapper {\n  background: linear-gradient(to right, #e67e22, #e74c3c);\n  height: 100vh;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n\n.main {\n  height: 90vh;\n  background: #fff;\n  box-shadow: 0px 13px 40px -13px rgba(0,0,0,0.75);\n  width: 80%;\n  margin: 0 auto;\n}\n\n.title-container {\n  height: 90vh;\n  background: url(&quot;img\/bg.jpg&quot;) center center no-repeat;\n  background-size: cover;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  text-align: center;\n  color: #000;\n}\n\n.title-container__title {\n  font-size: 50px;\n  letter-spacing: 2px;\n  line-height: 1.3;\n  font-family: 'Roboto Slab', serif;\n}\n\n.title-container__subtitle {\n  font-style: italic;\n  font-weight: 100;\n  letter-spacing: 1px;\n  line-height: 1.5;\n  font-family: &quot;Merriweather&quot;, serif;\n}\n\n.form-container {\n  background-color: #2c3e50;\n  height: 90vh;\n  padding-top: 100px;\n  padding-left: 50px;\n}\n\ninput[type=&quot;text&quot;] {\n  background-color: transparent;\n  border: 0;\n  border-bottom: solid 1px #f16051;\n  width: 30%;\n  padding-bottom: 4px;\n  color: #fff !important;\n  font-weight: lighter;\n  letter-spacing: 2px;\n  margin-bottom: 30px;\n  margin-right: 20px;\n  font-size: 20px;\n}\n\ninput[type=&quot;text&quot;] { \n    outline: none;\n}\n\ninput:-webkit-autofill {\n    -webkit-box-shadow: 0 0 0 30px #2c3e50 inset;\n    -webkit-text-fill-color: #fff !important;\n}\n\nbutton {\n  border: 0;\n  padding: 8px 20px;\n  margin: 0 2px;\n  border-radius: 2px;\n  font-weight: lighter;\n  letter-spacing: 1px;\n  font-size: 15px;\n  cursor: pointer;\n  background-color: #f16051;\n  color: #fff;\n  font-weight: 100;\n}\n\nbutton:active {\n  outline: none;\n}\n\n.weather__info {\n  width: 60%;\n  font-size: 20px;\n  font-weight: 200;\n  letter-spacing: 2px;\n}\n\n.weather__key {\n  color: #f16051;\n  border-bottom: solid 2px rgba(255,255,255,0.06);\n  padding: 20px 0 20px 0;\n  font-weight: 400;\n}\n\n.weather__key:last-child {\n  border: 0;\n}\n\n.weather__value {\n  color: #fff;\n  font-weight: 200;\n}\n\n.weather__error {\n  color: #f16051;\n  font-size: 20px;\n  letter-spacing: 1px;\n  font-weight: 200;\n}<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Screenshot of Weather App Using React Bootstrap OpenWeatherMap API<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/09\/Weather_App_Using_React_Bootstrap_OpenWeatherMap_API-1024x512.jpg\" alt=\"Weather App Using React Bootstrap OpenWeatherMap API\" class=\"wp-image-3488\" srcset=\"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/09\/Weather_App_Using_React_Bootstrap_OpenWeatherMap_API-1024x512.jpg 1024w, https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/09\/Weather_App_Using_React_Bootstrap_OpenWeatherMap_API-300x150.jpg 300w, https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/09\/Weather_App_Using_React_Bootstrap_OpenWeatherMap_API-768x384.jpg 768w, https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/09\/Weather_App_Using_React_Bootstrap_OpenWeatherMap_API.jpg 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Weather App Using React Bootstrap OpenWeatherMap API<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>App.js Here you need to replace the\u00a0openweathermap\u00a0api key. After that, make a\u00a0components\u00a0folder and inside this you need to make Form.js Titles.js Weather.js App.css Screenshot of Weather App Using React Bootstrap OpenWeatherMap API<\/p>\n","protected":false},"author":1,"featured_media":1762,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[112],"tags":[],"class_list":["post-3487","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Make a Weather App Using React Bootstrap OpenWeatherMap API<\/title>\n<meta name=\"description\" content=\"npx create-react-app weatherapp cd weatherapp npm i bootstrap App.js import React from &quot;react&quot;; import Titles from\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Make a Weather App Using React Bootstrap OpenWeatherMap API\" \/>\n<meta property=\"og:description\" content=\"npx create-react-app weatherapp cd weatherapp npm i bootstrap App.js import React from &quot;react&quot;; import Titles from\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Edopedia\" \/>\n<meta property=\"article:author\" content=\"trulyfurqan\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-21T16:20:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-21T16:20:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/09\/Weather_App_Using_React_Bootstrap_OpenWeatherMap_API-1024x512.jpg\" \/>\n<meta name=\"author\" content=\"Furqan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Furqan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Make a Weather App Using React Bootstrap OpenWeatherMap API","description":"npx create-react-app weatherapp cd weatherapp npm i bootstrap App.js import React from &quot;react&quot;; import Titles from","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/","og_locale":"en_US","og_type":"article","og_title":"Make a Weather App Using React Bootstrap OpenWeatherMap API","og_description":"npx create-react-app weatherapp cd weatherapp npm i bootstrap App.js import React from &quot;react&quot;; import Titles from","og_url":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/","og_site_name":"Edopedia","article_author":"trulyfurqan","article_published_time":"2022-09-21T16:20:13+00:00","article_modified_time":"2022-09-21T16:20:15+00:00","og_image":[{"url":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/09\/Weather_App_Using_React_Bootstrap_OpenWeatherMap_API-1024x512.jpg","type":"","width":"","height":""}],"author":"Furqan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Furqan","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/#article","isPartOf":{"@id":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/"},"author":{"name":"Furqan","@id":"https:\/\/www.edopedia.com\/blog\/#\/schema\/person\/3951cb19e3aa56df09e408c98aa02339"},"headline":"Make a Weather App Using React Bootstrap OpenWeatherMap API","datePublished":"2022-09-21T16:20:13+00:00","dateModified":"2022-09-21T16:20:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/"},"wordCount":55,"commentCount":0,"publisher":{"@id":"https:\/\/www.edopedia.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/02\/default_featured_image.jpg","articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/","url":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/","name":"Make a Weather App Using React Bootstrap OpenWeatherMap API","isPartOf":{"@id":"https:\/\/www.edopedia.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/#primaryimage"},"image":{"@id":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/02\/default_featured_image.jpg","datePublished":"2022-09-21T16:20:13+00:00","dateModified":"2022-09-21T16:20:15+00:00","description":"npx create-react-app weatherapp cd weatherapp npm i bootstrap App.js import React from &quot;react&quot;; import Titles from","breadcrumb":{"@id":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/#primaryimage","url":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/02\/default_featured_image.jpg","contentUrl":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/02\/default_featured_image.jpg","width":880,"height":495,"caption":"Default Featured Image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.edopedia.com\/blog\/make-a-weather-app-using-react-bootstrap-openweathermap-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.edopedia.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Make a Weather App Using React Bootstrap OpenWeatherMap API"}]},{"@type":"WebSite","@id":"https:\/\/www.edopedia.com\/blog\/#website","url":"https:\/\/www.edopedia.com\/blog\/","name":"Edopedia","description":"Coding\/Programming Blog","publisher":{"@id":"https:\/\/www.edopedia.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.edopedia.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.edopedia.com\/blog\/#organization","name":"Edopedia","url":"https:\/\/www.edopedia.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.edopedia.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2017\/10\/edopedia_icon_text_10.jpg","contentUrl":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2017\/10\/edopedia_icon_text_10.jpg","width":400,"height":100,"caption":"Edopedia"},"image":{"@id":"https:\/\/www.edopedia.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.edopedia.com\/blog\/#\/schema\/person\/3951cb19e3aa56df09e408c98aa02339","name":"Furqan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e5e68aef3ad8f0b83d56f4953c512c8e57bd2e6dc64daec33b5d0495d9058f51?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e5e68aef3ad8f0b83d56f4953c512c8e57bd2e6dc64daec33b5d0495d9058f51?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e5e68aef3ad8f0b83d56f4953c512c8e57bd2e6dc64daec33b5d0495d9058f51?s=96&d=mm&r=g","caption":"Furqan"},"description":"Well. I've been working for the past three years as a web designer and developer. I have successfully created websites for small to medium sized companies as part of my freelance career. During that time I've also completed my bachelor's in Information Technology.","sameAs":["http:\/\/www.edopedia.com\/blog\/","trulyfurqan"],"url":"https:\/\/www.edopedia.com\/blog\/author\/furqan\/"}]}},"_links":{"self":[{"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/posts\/3487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/comments?post=3487"}],"version-history":[{"count":1,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/posts\/3487\/revisions"}],"predecessor-version":[{"id":3489,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/posts\/3487\/revisions\/3489"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/media\/1762"}],"wp:attachment":[{"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/media?parent=3487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/categories?post=3487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/tags?post=3487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}