- Continuing on yesterdays problems I kept thinking of ways on how to properly sort my data
- I wasn't able to think of a solution until i read a solution that broke down the problem into smaller parts
- gather the data and sort it
- took 4 hours trying to solve todays problems
- learned a lot about regex and different ways to solve problems with it
- I am able to solve some issues but im over thinking it and making it more complicated than it needs to be
- i'm not sorting the data correctly and got stuck on that for a while
- was not able to solve it but I will try again tomorrow
- how to make my code more modular in my projects.
- how to make my code more readable.
- short code doesn't mean good code.
- My short clever code is not always the best code.
- Continue to work on my project.
- completed nav and footer responsive on mobile.
- finishing up carousel.
- next is finishing the landing page which should take a couple of hours.
Level: 7 kyu
Time to complete: ~5 minutes
- I used a for loop to loop through the numbers from 1 to the number passed in as an argument and check if the number is divisible by the number in the loop and if it is I add 1 to the count variable and return the count variable at the end of the function after the loop is done.
- no progress today :(
- At The moment I am still working on small business website with a photo gallery and text blog ssg
- The tech I am using is Nextjs, Tailwindcss, and Strapi cms for the backend
- the purpose of the project is to learn how to use strapi cms to create a backend for a website and to learn how to use nextjs to create a static site generator for a blog and photo gallery
- This way I am able to create a website that is easy to update and maintain and I can use it to showcase my work and to learn new things
- By using a cms I am able to create a website that is easy to update and maintain by the client.
- I want the client to be able to update the text content or add new blog posts without having to touch any code.
- no client wants to mess around with any code so a cms is a great way to make it easy for them to update the website.
- I am going to be using this as a way to keep track of my progress and to keep me motivated to keep coding.
- I noticed my commits were not registering as contributions on github
- The issue was with my laptops git config email not matching the email I used to create the github account
- I fixed this by changing the email in the git config file
- I also learned that I can use the command
git config --global --edit
to edit the git config file - git config --global user.email "email here"
Level: 7 kyu
Time to complete: ~5 minutes
- I used a for loop to loop through the numbers from 1 to the number passed in as an argument and check if the number is divisible by the number in the loop and if it is I add 1 to the count variable and return the count variable at the end of the function after the loop is done.
Level: 6 kyu
Time to complete: ~20 minutes
- I've done a challenge like this before for the amazon assesment.
- basically check all the values in the string keep a count of the occurances and then return the count of the values that have a count greater than 1.
- what was hard is trying to remeber how to add to my object and how to check if a key exists in an object. I had to look up the syntax for both of those things.