Weather Chatbot

$1.50
0 ratings

This code is used to functionalize a weather chatbot. Built using HTML, Bootstrap and JavaScript. The page contains a text input field for the user to enter a query. The query is, "What's the weather like in Monday London?" must be in a specific format, such as When the user submits the query, the JavaScript code checks if the query is in the correct format and sends a request to the OpenWeatherMap API. The response returned from the API includes the temperature and weather description and this information is displayed on the page. There is also a list to view the user's past queries as well. The user's queries are stored in the browser using localStorage. For the code to work, the OpenWeatherMap API key must be retrieved and placed in `YOUR_API_KEY`. Also, the Bootstrap 4.5.2 style sheet must be included.

Buy this
0 sales
Copy product URL
$1.50

Weather Chatbot

0 ratings
Buy this