Where is wrong in my function-based react code

Thanks a lot. I understood what you mean.

About the import, I removed component.
Is this just enough:

import React, { useState, useEffect } from "react";

Or I need more?

I have merged all of your duplicate topics together.

When asking questions for the same project, please keep it all in the same thread.
Please do not open up new topics.

But also, the issues you are having today are the same as they were back in May.

Might I suggest pushing pause on this project and working on some easier examples.

I think reviewing some smaller basic examples will help you understand what these error messages mean.

freeCodeCamp has a really good course on their youtube channel you can take to review the basics.

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