francis
KPCKevin Powell - Community
•Created by francis on 10/29/2024 in #front-end
State
why does the alert does not get the latest value while the 2nd setter function does?
1 replies
KPCKevin Powell - Community
•Created by francis on 8/11/2024 in #front-end
nested scss, css
why does the nested scss not working but plain css does?
working
not working
6 replies
KPCKevin Powell - Community
•Created by francis on 8/9/2024 in #front-end
Failed to resolve component
Anyone can help me what's the problem?
It's working fine but when i go to the console this error show
Routes
SimmerStudios.vue
1 replies
KPCKevin Powell - Community
•Created by francis on 8/5/2024 in #front-end
Nested Routes
Based on this example, when I visit the '/user' path, nothing is displayed unless I go to one of its children, like '/users/eduardo'
do i need to define a separate route for '/user'.?
1 replies
KPCKevin Powell - Community
•Created by francis on 8/3/2024 in #front-end
Favicon Not Updating in Google Search Results
I recently published my website with Vercel and am using a Hostinger domain. The favicon is working on the site, but in Google search results, it still shows the default Vue favicon. Why?
I published it a day ago
my code:
6 replies
KPCKevin Powell - Community
•Created by francis on 8/2/2024 in #front-end
robots.txt is not valid
4 replies
KPCKevin Powell - Community
•Created by francis on 6/8/2024 in #front-end
How do I prevent the css in home route from affecting the css in another route component
So i have "/" with multiple components and now i will create new route "/simmer".
The problem is the css of home route is affecting the component(s) in "/simmer", how do i prevent it?
any suggestions or best practices?
4 replies
KPCKevin Powell - Community
•Created by francis on 5/30/2024 in #front-end
Dark Mode with Vue
Hello guys, is it good idea that i use class binding in dark mode feature with vuejs?
Any Suggestions, Recommendations, Opinions?
1 replies
KPCKevin Powell - Community
•Created by francis on 5/28/2024 in #front-end
CSS prefix
Hello everyone, I need some opinions or suggestions.
How do you determine when to use CSS prefixes?
Which approach is more commonly used by developers: manually adding vendor prefixes or using a third-party tool like Autoprefixer
4 replies
KPCKevin Powell - Community
•Created by francis on 4/20/2024 in #front-end
Media query not working
any one can explain, why it is not working?
10 replies
KPCKevin Powell - Community
•Created by francis on 4/17/2024 in #front-end
v-bind modifiers
I know this is not code related problem but i want to know, how to use or when to use the v-bind modifiers .camel, .prop, .attr. I am still confuse about it
Can y'all provide example code of it
2 replies
KPCKevin Powell - Community
•Created by francis on 4/6/2024 in #back-end
npm json-server
Hello guys, currently i am using fake api of npm json-server. How can i create a custom endpoint because in my db.json i have nested object array and i want to have an endpoint to the child array of my db.json because i only have endpoint to the parent object array
I'm Noob, correct me if i use wrong term
2 replies
KPCKevin Powell - Community
•Created by francis on 3/29/2024 in #front-end
http request, json-server
hello guys, using http patch how can i modify only certain todo items within the todo array? Example i want to update only the taskName of the 1st array of todo
I am using axios
Endpoint: http://localhost:3000/tasks/1
4 replies
KPCKevin Powell - Community
•Created by francis on 3/22/2024 in #back-end
Patch request Error, json-server
Anyone can help me what is the problem of this:
The get request is working using the user_num property as identifier and not the id. but when i use it in patch it returns 404 not found
Get Request:
axios.get('http://localhost:3000/users?user_num=US24-18')
.then(function (response) {
// handle success
alert('sucess')
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
Patch:
axios.patch('http://localhost:3000/users?user_num=US24-18', {
userStatus: 'active'
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
});
4 replies
KPCKevin Powell - Community
•Created by francis on 3/19/2024 in #front-end
Frontend Development
Hello guys, Any suggestions which approach offers better readability, maintainability, and faster performance in front-end development: using plain CSS, a CSS preprocessor, or a CSS framework?
34 replies
KPCKevin Powell - Community
•Created by francis on 2/19/2024 in #front-end
Sass/SCSS
Hey everyone, I'm just starting out and trying to wrap my head around Sass/SCSS. So far, I've gathered that it helps make CSS more structured and readable. But am I missing something? Is there more to it than just a syntax tweak for better readability?
6 replies
KPCKevin Powell - Community
•Created by francis on 2/17/2024 in #front-end
Content Width on Websites
I'm curious why content on certain websites doesn't expand beyond a certain width on larger screens. Is this intentionally designed as part of responsive design, or is there another common practice for controlling the maximum width of content?
8 replies
KPCKevin Powell - Community
•Created by francis on 2/11/2024 in #front-end
flexbox
In flexbox, whats the difference between setting justify-content to flex-start and start?
2 replies