Learn HTML by Building a Cat Photo App - Step 55

Tell us what’s happening:
Hi .i have a problem in this step and i don’t know what i should to do .
i think …i suppose add label element in the input but i can’t solve the code
could someone help me

  **Your code so far**
          <legend>What's your cat's personality?</legend>
         <label for="loving"> <input id="loving" type="checkbox"> Loving </label>
        </fieldset>
        <input type="text" name="catphotourl" placeholder="cat photo URL" required>
        <button type="submit">Submit</button>
      </form>
    </section>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 55

Link to the challenge:

Here’s the instructions:

“Associate the text Loving with the checkbox by only nesting the text Loving in a label element…”

You have nested both the text and the input inside of the label. You only want to nest the text inside of the label.

“… and place it to the right side of the checkbox input element.”

The entire label should be to the right of the input.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.