### Instruction:
Develop a responsive web page using HTML, CSS, and JavaScript that displays weather information for a given city. The page should fetch data from a public weather API and display the current temperature, humidity, and wind speed. Also, implement a search feature that allows users to enter a city name and view its weather information.


### Response:

To create a responsive web page that displays weather information for a given city, you can follow these steps:

1. Set up the HTML structure
2. Add CSS styles to make it responsive and visually appealing
3. Write JavaScript code to fetch data from a public weather API and display it on the page
4. Implement a search feature that allows users to enter a city name and view its weather information

Here's an example of how you can accomplish this:

**Step 1: Set up the HTML structure**

Create an `index.html` file with the following content:

```html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Weather App</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <h1>Weather Information</h1>
        <input type="text" id="city-input" placeholder="Enter city name...">
        <button id="search-btn">Search</button>
        <div id="weather-info">
            <p><strong>Temperature:</strong> <span id="temperature"></span></p>
            <p><strong>Humidity:</strong> <span id="humidity"></span></p>
            <p><strong>Wind Speed:</strong> <span id="wind-speed"></span></p>
        </div>
    </div>
    <script src="app.js"></script>
</body>
</html>
```

**Step 2: Add CSS styles**

Create a `styles.css` file with the following content:

```css
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

input,
button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

input {
    margin-bottom: 10px;
}

button {
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

button:hover {
    background-color: #0056b3;
    border-color: #004999;
}
```

**Step 3: Write JavaScript code**

Create an `app.js` file with the following content:

```javascript
const API_KEY = 'your_api_key'; // Replace this with your own API key from OpenWeatherMap

document.getElementById('search-btn').addEventListener('click', () => {
    const cityInput = document.getElementById('city-input');
    const cityName = cityInput.value.trim();

    if (cityName) {
        fetch(`https://api.openweathermap.org/data/2.5/weather?q=${cityName}&appid=${API_KEY}&units=metric`)
            .then(response => response.json())
            .then(data => {
                document.getElementById('temperature').textContent = `${data.main.temp}°C`;
                document.getElementById('humidity').textContent = `${data.main.humidity}%`;
                document.getElementById('wind-speed').textContent = `${data.wind.speed} m/s`;
            })
            .catch(error => {
                alert('Error fetching weather data. Please try again.');
                console.error(error);
            });
    } else {
        alert('Please enter a city name.');
    }
});
```

**Step 4: Get an API key**

Sign up for a free account on [OpenWeatherMap](https://openweathermap.org/) and get your API key from the dashboard.

Replace `'your_api_key'` in the `app.js` file with your actual API key.

Now, you should have a responsive web page that displays weather information for a given city. Users can enter a city name and view its weather information by clicking the "Search" button.