-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Yunjanghyeon] 프론트엔드 2주차 미션 제출합니다. #4
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
전반적으로 깔끔하게 명세 잘 지켜서 하셨네여 지금까지 배운 내용을 3주차에서 어떻게 적용할 수 있을지를 위주로 공부해본다면 더 좋을거 같아여 수고하셧습니다~
async function asynchronous(){ | ||
let response = await fetch('https://jsonplaceholder.typicode.com/posts/') | ||
let jsonarray = await response.json() | ||
jsonarray.forEach(element => { | ||
console.log(element.title) | ||
}); | ||
} | ||
|
||
asynchronous() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
딱 제가 원하는 정답이네요. 이걸로 어떻게 호출할 수 있는지에 대해 이해하셧으면 합니다
<div className='App'> | ||
<BrowserRouter> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
혹시 BrowserRouter로 감싸고 그 위에 div로 또 감싼 이유가 있을까여? 굳이 감싸지 않아도 될거 같군여
추가로 BrowserRouter를 여기서 감싸는거도 좋지만 index.js에서 App태그를 감쌈으로 적용할수도 잇습니당
@@ -0,0 +1,25 @@ | |||
import React from 'react'; | |||
import { Link } from 'react-router-dom'; | |||
import styles from "./Main.module.css" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module.css를 적용해본게 인상깊네여 추가적으로 emotion/styled component에 대해서 공부해봐도 좋을거 가탕여
border-style: solid; | ||
border-radius: 40px 0px 0px 40px; | ||
border-color: white; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
border라는 속성을 아는데 일부러 쪼갠건가여? 아니라면 border 속성으로 한번에 작성하는 쪽으로 합시당
No description provided.