Norwyx
KPCKevin Powell - Community
•Created by Norwyx on 5/11/2024 in #front-end
I can't get to switch the player turn.
11 replies
KPCKevin Powell - Community
•Created by Norwyx on 4/15/2024 in #front-end
I'm having trouble with a library project
So I'm doing a library project and I've been tackling it step by step. All the apps need to do is create book cards from user input and display them in a grid but I haven't been able to add them to my array.
Here's the codepen: https://codepen.io/norwyx/pen/rNbZOmE?editors=0011
A little bit of context: all the functions at the bottom are pure UI stuff so not that important. But at the top I have things like the Book object that has some default values inside the constructor and then the properties. The Library object with the books constructor (the array Im having problems with) and the helper functions suck as addBook, getBook, inLibrary, and removeBook.
But what I'm facing is that I'm able to correctly get the info from the form, and successfully create the object (check the console, I left a console.log). But then when I need to push it into the library.books array, it is not working and I'm not storing the object anywhere.
Help would be very appreciated since I've been trying stuff for 2 days and no shot, so now I need some help. Thanks in advance.
83 replies
KPCKevin Powell - Community
•Created by Norwyx on 3/23/2024 in #front-end
My grid elements are multiplying by 10 and I can't find the reason
When the user uses the slider, the currentSize variable changes successfully (I have been console.logging like crazy) but then when the grid reloads, shit hits the fan and It does generate but it multiplies by 10, that is, if the user picks 1 as their grid size, they 10 squares instead of just 1. If they pick 2, instead of a 2X2 grid (4 squares) they get 20. The thing is, the createGrid function is working correctly. When you call it by itself, it works no problem. This just happens when the user slides.
Here's the link to the codepen. Thanks in advance (btw the grid elements borders are just decorative, so we can see stuff is working properly)
https://codepen.io/norwyx/pen/MWRmzza
21 replies
KPCKevin Powell - Community
•Created by Norwyx on 3/12/2024 in #front-end
I'm having trouble when deploying on Github Pages
Pretty ambiguous question but I haven't found a solution yet. I did a quick project with SASS and when developing everything was working correctly along with the Live Server Extension but now when I deployed it, it looks as if I didn't use any CSS. Why can it be?
https://github.com/Norwyx/interactive-rating-component
11 replies
KPCKevin Powell - Community
•Created by Norwyx on 2/14/2024 in #front-end
I'm making an accordion pattern and I'm having trouble with changing the icon of the active state
130 replies
KPCKevin Powell - Community
•Created by Norwyx on 2/12/2024 in #front-end
I'm having problems with some images in my project. They're not displaying the way they should.
15 replies