Hi there! If you're reading this, you're probably interested in the #100DaysOfCode challenge for React, JavaScript, HTML and CSS. In this challenge, you commit to coding for at least an hour every day for 100 consecutive days. It may sound daunting, but don't worry! This challenge is a great opportunity to improve your programming skills.
If you have any problem or comment, you can contact me on @twitter.
-
Install NVM: MacOS / LinuxWindows.
-
Install two versions of Node and set the newer one as the default version using an alias.
-
Read about Node and NPM. What is Node.js and how it works (explained in 2 minutes)
-
Execute a file with Node (for example, a console.log)
- Initialize a project:Create React App.
- Explore the folders.
- Put your name in the example component of the project, and change the image to a picture of a pizza.
- Read about React. React in 100 Seconds.
- Read about components in React.
- Create three components (in a components folder, each in a different file):
- A greeting header that introduces you (using heading tags, two minimum).
- An image of yourself or something that represents you (using the image tag).
- Links to your socials (using anchor tags).
- Clean the home page file of the project and import your components.
- Learn about semantic HTML.
- Learn about array map function.
- Create a component with your list of your favourites things in the world, which:
- Uses an HTML list element.
- Iterates over an array of things using the .map function to render each item.
- Read more about React React Tutorial for Beginners.
- Learn about browser devTools, and how you can explore the HTML generated by React. Chrome DevTools
- Start learning about React Hooks React State Management.
- Create a component with hidden content and a button that toggles the visibility.
- Changes the state to hide and show the content with the button (using useState).
- Uses conditional rendering to show the hidden content.