Searching For- Gooner In-all Categoriesmovies O... Info

.result { margin: 20px; padding: 20px; border: 1px solid #ddd; border-radius: 5px; box-shadow: 0 0 10px rgba(0,0,0,0.1); width: 200px; }

header { background-color: #333; color: white; padding: 20px; text-align: center; }

button[type="submit"] { height: 30px; font-size: 18px; background-color: #4CAF50; color: white; border: none; cursor: pointer; } Searching for- gooner in-All CategoriesMovies O...

button[type="submit"]:hover { background-color: #45a049; }

displayResults(results); }

function displayResults(results) { const resultsDiv = document.getElementById('searchResults'); resultsDiv.innerHTML = ''; // Clear previous results

#searchInput { width: 50%; height: 30px; font-size: 18px; padding: 10px; } .result { margin: 20px

#searchResults { display: flex; flex-wrap: wrap; justify-content: center; }

function searchContent(searchTerm, category) { // For demonstration, assume we have a function to fetch data from a backend or API // Here, we'll simulate the search results const results = [ {title: "Movie 1", description: "This is movie 1 about gooner"}, {title: "Movie 2", description: "This is movie 2 related to gooner"}, ]; border: 1px solid #ddd

#searchForm { display: flex; justify-content: center; align-items: center; margin-top: 10px; }