There are three fortune cookies (.cookie) in the document.
To read the prediction, you need to open the cookie.
When you click on a .cookie, you need to add the opened class to it.
The opened class should change the background-color property to #AAFCB8 and color to #480355.
Use internal styles from the script.

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task


<!DOCTYPE html>
    <title>Fortune cookies</title>
      * {
        font-family: monospace;
      h2 {
        text-align: center;
      .container {
        display: flex;
        justify-content: center;
      .cookie {
        margin: 16px;
        cursor: pointer;
        background-color: #285943;
        color: #285943;
        padding: 20px;
    <h2>Open your fortune cookie</h2>
    <div class="container">
      <div class="cookie">Never do anything halfway</div>
      <div class="cookie">Run</div>
      <div class="cookie">Someone in your life need a letter from you</div>