GPT-5 Announcement: OpenAI Reveals Next-Generation AI Model
+ //OpenAI's latest language model demonstrates unprecedented reasoning capabilities and achieves human-level performance across various domains.
+ // Artificial Intelligence + //diff --git a/array_challenges.js b/array_challenges.js index 3e3c564..6014586 100644 --- a/array_challenges.js +++ b/array_challenges.js @@ -3,7 +3,8 @@ The Dataset: Movie Mania -You are managing a database for a **movie rental platform** called **Movie Mania**. The dataset is an array of objects, where each object represents a movie with the following properties: +You are managing a database for a **movie rental platform** called **Movie Mania**. The dataset is an array of objects, + where each object represents a movie with the following properties: - `title` (string): The title of the movie. - `genre` (string): The genre of the movie (e.g., "Action", "Comedy", "Drama"). @@ -46,7 +47,12 @@ const movies = [ // ✍️ Solve it here ✍️ - + const movieTitlRatings = movies.map(movie => { + return `${movie.title} - Rating: ${movie.rating}/10`; +}); + +console.log(movieTitlRatings); + /* Task 2: Find Highly Rated Movies 🌟 (`.filter`) @@ -68,4 +74,6 @@ const movies = [ // ✍️ Solve it here ✍️ - \ No newline at end of file + const RatedMovies = movies.filter(movie => movie.rating >= 8.0); + +console.log(RatedMovies); diff --git a/dom_challenges.js b/dom_challenges.js index bb943d5..6ad886e 100644 --- a/dom_challenges.js +++ b/dom_challenges.js @@ -124,31 +124,103 @@ export const newsData = { export function displayArticles(category) { const newsContainer = document.querySelector('#news-container'); const articles = newsData[category]; - + + //
OpenAI's latest language model demonstrates unprecedented reasoning capabilities and achieves human-level performance across various domains.
+ // Artificial Intelligence + //