Archives by date

You are browsing the site archives by date.

  • Day 7: Final Touches and Create tests for some components

    Day 7: Final Touches and Create tests for some components

    For testing the Vue component, we can utilize the Vue Test Utils and Jest. Vue Test Utils allows for mounting Vue components in isolation and simulating user interactions, while Jest can be used for assertions to ensure everything is working as expected. Firstly, set up your Vue project to use Jest (assuming you’re using Vue…

  • Day 5: Integrating Frontend with Backend

    Day 5: Integrating Frontend with Backend

    Create axiosConfig.js Modify api-be.js Create vue file ItemsCallFromAxios.vue Modify router with previous file Add this line on App.vue if you have checkout exercise complete https://github.com/LeoReyesDev/vue-tutorial/tree/day05-sample

  • Top 10 questions CSS3

    Top 10 questions CSS3

    Here are ten commonly asked questions about CSS3: 2. What are the differences between CSS and CSS3? 3. How do you create rounded corners in CSS3? 4. What are CSS3 transitions and how are they different from animations? 5. What is the CSS3 box-shadow property? 6. How can you apply multiple background images in CSS3?…

  • React Hooks

    React Hooks

    React hooks are a powerful feature introduced in React 16.8, enabling developers to use state and other React features without writing a class. Here’s a list of some of the built-in React hooks with simple examples for each: 2. useEffect 3. useContext 4. useReducer 5. useCallback 6. useMemo 7. useRef 8. useLayoutEffect 9. useImperativeHandle 10.…

  • Day 2: Diving Deeper into Vue.js

    Day 2: Diving Deeper into Vue.js

    Components and Props: Components are one of the most powerful features of Vue. They help you extend basic HTML elements to encapsulate reusable code. 1. Create a new component: src/components/UserCard.vue: When prompted, select Vue 3. Navigate into your project: 2. Install Vue Router: 3. Set up Vue Router: src/router/index.js: 4. Create views: src/views/Home.vue: src/views/Profile.vue: 5.…