Stan Long
KPCKevin Powell - Community
•Created by Stan Long on 2/20/2024 in #front-end
Help with storing user Data
In this case I only need to store login info, and their clicks for a couple of buttons. It's a very low amount of data that'll be stored
7 replies
KPCKevin Powell - Community
•Created by Stan Long on 2/20/2024 in #front-end
Help with storing user Data
is there a storage limit to local storage? Because I don't want my user login info to plug things up
7 replies
KPCKevin Powell - Community
•Created by Stan Long on 2/20/2024 in #front-end
Help with storing user Data
Ok, I think Local is what I'd prefer, because what I'm trying to do save a login info that I'll use to create a profile based on what they chose on the website
7 replies
KPCKevin Powell - Community
•Created by Stan Long on 2/20/2024 in #front-end
Why does click work but hover doesn't?
The CSS version of what you have seems a lot more simple then my JS sheet, but can you check oh the hover and click I have in the JS file, and can that be replicated on CSS?
14 replies
KPCKevin Powell - Community
•Created by Stan Long on 2/20/2024 in #front-end
Why does click work but hover doesn't?
How do I codepen code?
14 replies
KPCKevin Powell - Community
•Created by Stan Long on 2/20/2024 in #front-end
Why does click work but hover doesn't?
What I'm trying to replicate is a yelp review interaction. Where when I hover over one star, it would be one color, when I clicked on the first star, it would stay yellow. But when I hover over star two, it would change to a different color, and same thing would happen to the other five stars
14 replies
KPCKevin Powell - Community
•Created by Stan Long on 2/20/2024 in #front-end
Why does click work but hover doesn't?
@HaCT the function does trigger when I hover or when I click. But for some reason I can't get the button to stay a certain color after being clicked and change to a different color when being hovered over.
14 replies
KPCKevin Powell - Community
•Created by Stan Long on 1/19/2024 in #front-end
Error code 522
I did, and now I'm getting an error from github saying my DNS records are off from custom domain. Is there a certain way to have a custom domain. Is it www.example.com or example.com?
4 replies
KPCKevin Powell - Community
•Created by Stan Long on 12/31/2023 in #front-end
Need help with button click output
Thank you so much @MarkBoots that fixed my issue, I completely forgot that '=' assigns not compares, no joke I've been at this issue for a full 6 hours, trying to figure out if I can do a workaround
8 replies
KPCKevin Powell - Community
•Created by Stan Long on 12/31/2023 in #front-end
Need help with button click output
The code stops at the first condition, but I need it to run through the variables to check which button has a class name of active class on it, and run a different alert based on what they click
8 replies
KPCKevin Powell - Community
•Created by Stan Long on 12/31/2023 in #front-end
Need help with button click output
if ((residentialButton.classList = 'active-pool-type') && (xSmallButton.classList = 'active-pool-size')
&& (chemicalButton.classList = 'active-pool-services')) {
alert('hello')
} else if ((residentialButton.classList = 'active-pool-type') && (xSmallButton.classList = 'active-pool-size')
&& (standardButton.classList = 'active-pool-services')) {
alert('hi')
}
8 replies
KPCKevin Powell - Community
•Created by Stan Long on 12/31/2023 in #front-end
Need help with button click output
Here's an example of the code I'm having issues with
8 replies