Intro to React
I started learning a beginner’s course for React recently, a webpage building tool. Over the last couple of days, I mastered being able to create different components in the main folder and start the local host webpage. By running the lines, npm run dev, it starts my local webpage, one that I can tweak and edit on, like a canvas printing the lines I’m coding before I can properly publish it.
I started with basic projects, just printing out headings and content in jsx. Slowly I developed a css file as well, allowing me to add a good-looking border around my content. I was able to toggle with various functions and created multiple showcases of book title, author, description and images. It took me a while to figure out how exactly to access different components of the array or list (where all the information for the book was stores) but through the tutorial I managed to learn and debug the task.
My next task was to add a button to the box and toggle between read and unread, which I will explain in the next blog.