diff --git a/04_Day_Component/04_components.md b/04_Day_Component/04_components.md index 44f4276..39ef4d3 100644 --- a/04_Day_Component/04_components.md +++ b/04_Day_Component/04_components.md @@ -61,8 +61,9 @@ const getUserInfo = (firstName, lastName, country, title, skills) => { )} ` } // When we call this function we need parameters +const skills = ['HTML', 'CSS', 'JS', 'React'] console.log( - getUserInfo('Asabeneh', 'Yetayeh', 'Finland', 'FullStack Developer') + getUserInfo('Asabeneh', 'Yetayeh', 'Finland', 'FullStack Developer', skills) ) ``` @@ -495,4 +496,5 @@ ReactDOM.render(, rootElement) ![Hexadecimal colors](../images/hexadecimal_color_exercise.png) 🎉 CONGRATULATIONS ! 🎉 + [<< Day 3](../30-Days-Of-React/03_Day_Setting_Up/03_day_setting_up.md) | [Day 5 >>](./05_Day_Props/05_props.md)