180 Websites in 180 Days: Day 25
Check out today’s page HERE!
For today’s page I did Magnetic Poetry. There’s a small list of words already on the page but also you can add in more as well. Then drag and drop the words to create a poem!
I wanted to make the magnets generate in random locations but whenever you type in the input it would change locations on every key press. Took away that feature but now I think I might have found a way to do it. I could’ve created a default props with the array of words instead of a state. Then when you submit the form it would just push the input value to the words array. For this to work I would of had to let input control its own state (which is bad in the React world). Maybe I’ll try this theory out one day!
I wanted to add in more features but I decided to keep it simple. Read this article earlier today about learning new skills better and faster. It states that you should focus on the important 20% of the material which will really comprise 80% of what you need to learn. Decided not to go all out on these React projects but to really focus on learning the important stuff: state, props, and Redux. I’m going to really try and hammer these key concepts in but slightly change the way I’m doing them each time. That way I’m practicing the core concepts but not doing the same thing each time.
After this week I think I’ll get back to doing the Free Code Camp Projects. It’s a bit more structured than what I’ve been doing and it’s about time for me to try and get my Full Stack Certificate.
If you have any questions about anything feel free to comment below or shoot me an email at firstname.lastname@example.org. You can check out all of my project’s code over on Github.