Skip to content

7강 김나영 과제제출#14

Open
11Kimnayoung11 wants to merge 4 commits intoTEAM-ALOM:mainfrom
11Kimnayoung11:main
Open

7강 김나영 과제제출#14
11Kimnayoung11 wants to merge 4 commits intoTEAM-ALOM:mainfrom
11Kimnayoung11:main

Conversation

@11Kimnayoung11
Copy link
Copy Markdown

No description provided.

<DailyForecastWrapper>
{dailyData.map((day, index) => (
<DailyItem key={index}>
<span>{day.date}</span>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기서는 span 태그를 쓰시고

<HourlyForecastWrapper>
{hourlyData.map((item, index) => (
<HourlyItem key={index}>
<p>{item.time}</p>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기서는 p태그를 쓰셨는데 다르게 하신 이유가 따로 있나요??
없다면 태그의 특성을 고려해서 더 적합한 걸로 써주는게 좋을 것 같아요!
https://inpa.tistory.com/entry/HTML-%F0%9F%93%9A-p-div-span-%ED%83%9C%EA%B7%B8-%EC%A0%95%EB%A6%AC
⬆️ 해당 사이트 참고하면 좋을 것 같습니다!

@Hyobi-Lim
Copy link
Copy Markdown

나머지 부분은 구현 잘 해주셨습니다~!

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.

2 participants