Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React 1 HW #67

Closed

Conversation

ddobby94
Copy link

@ddobby94 ddobby94 commented Aug 22, 2024

Description

Basic theme

The theme of the HW will be a space travelling website. I created a basic project, with some better looking CSS components and using a basic React + next.js setup.
I already created some React components, throughout the app. This should give the students the feeling how it would be working with an existing codebase.

How to find the tasks

The Homework itself is marked in the code with comments like:

{/* TASK - React 1 week 2 */}
{/* Create a <NavItem> component, which accepts the following:  */}
{/* title, link, isActive  */}

So to format is : TASK - React 1 week X, and by searching for this term, the students should be able to find all the tasks (Just like searching for TODOs or FIXMEs 😉 )

Tasks

Week 1:

  • Static content + creating basic components without any props
  • Using ready components WITHOUT proprs

Week 2:

  • Creating Components with some props
  • Using ready components WITH props
  • Basic usage of useState with modifying an array

Week 3:

  • Handling input fields and displaying new items
  • "Displaying" arrays in React
  • Basic fetching from API

Content for the tasks

Content is generated and the TASK descriptions will instruct the students where and what to use.

Some pics of the website

Page for API calls, using NASA API

Screenshot 2024-08-21 at 22 47 00

Page for the static content HW
Screenshot 2024-08-21 at 22 47 24

Page for creating components with props + basic state handling
Screenshot 2024-08-21 at 22 47 33

Page for input handling with state
Screenshot 2024-08-21 at 22 46 12

@ddobby94
Copy link
Author

THIS PR will be merged here: chezzoba#1

@ddobby94 ddobby94 closed this Aug 22, 2024
@ddobby94 ddobby94 deleted the ddobby/add-HW-for-react1 branch August 22, 2024 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant