all AI news
🟨 JavaScript 2 | Random Quote
Jan. 6, 2024, 7:37 a.m. | Gregor Schafroth
DEV Community dev.to
Alright after the Color Mixer yesterday I decided to ask ChatGPT for a second JavaScript exercise for beginners today. First I’ll share with you the exercise I got and below my solution 👨💻
Exercise: Display a Random Quote of the Day
The objective is to show a randomly selected quote from a predefined list each time the user visits or refreshes the page.
Create an Array of Quotes: Start by creating an array that contains a few inspirational or …
beginners chatgpt color exercise javascript list random show solution
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
AI Research Scientist
@ Vara | Berlin, Germany and Remote
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Data Science Analyst
@ Mayo Clinic | AZ, United States
Sr. Data Scientist (Network Engineering)
@ SpaceX | Redmond, WA