Step 42 cat photo app

<button text="Submit">

can u guys help why this code doesnt work on step 42 html tutorial with the cat website.

this is the step link:

(https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-42)

Button elements have opening and closing tags. They do not have a text attribute.

so what am i supposed to change it to?

The code you shared consists of an opening tag only. So I would add the closing tag to begin with.
You also added a text attribute which doesn’t exist. So I would remove that.
One more step is needed after that. Hopefully you can see what it is?

yea i forgot to send the whole code i made i see how easy it was now lol. im very new to coding and just got confused very much aprreciate the help my freind!

1 Like

No problem! Hope you enjoy making this app!

1 Like