Skip to content

Glasgow | 26-ITP-May | Sandani Kannangara | Sprint 3 | Buttons and Counter#7

Open
SandzSoft wants to merge 2 commits into
CodeYourFuture:mainfrom
SandzSoft:split-app-components
Open

Glasgow | 26-ITP-May | Sandani Kannangara | Sprint 3 | Buttons and Counter#7
SandzSoft wants to merge 2 commits into
CodeYourFuture:mainfrom
SandzSoft:split-app-components

Conversation

@SandzSoft

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Split the app into separate Header and Main components.

  • Created header.js component to handle header creation.
  • Created main.js component to handle main content creation.
  • Updated app.js to import and compose the Header and Main components.
  • Kept the counter functionality and event listener behaviour unchanged.

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