chrono1913
KPCKevin Powell - Community
•Created by chrono1913 on 2/13/2024 in #front-end
href to link to another spot on a page and redirect the page to that spot
I am trying to redirct the user to another spot on the page, when they click on the <a>, can I do that this way
14 replies
KPCKevin Powell - Community
•Created by chrono1913 on 2/12/2024 in #front-end
I need to understand grid template rules
The container grid template only have 13 columns and on the banner grid area shows 14 instead of 13, but when I change it to 13, it does not spread to the full width of the page. so if I change it to 14 it will extend to the full length of the page, but why? and it does make sense since like i mentioned there is only 13 columns, pls help me understand this ty
19 replies
KPCKevin Powell - Community
•Created by chrono1913 on 2/9/2024 in #front-end
Can I nest div liek this in scss
2 replies
KPCKevin Powell - Community
•Created by chrono1913 on 2/7/2024 in #front-end
using parallax in a grid, is it possible
I have been using grid and trying to apply the parallax effect to the grid. I want to know how to make it work without uysing the postion, absolute
1 replies
KPCKevin Powell - Community
•Created by chrono1913 on 2/5/2024 in #back-end
need help with grid
how can i cover the grid area to cover the area without using width and height.
4 replies
KPCKevin Powell - Community
•Created by chrono1913 on 11/27/2022 in #front-end
readLine() what does this do in this code
16 replies
KPCKevin Powell - Community
•Created by chrono1913 on 11/27/2022 in #front-end
what does this line mean z = (++b+—a)%5
```
var a = 3
var b = 2
z = (++b+—a)%5
document.write(z)
27 replies
KPCKevin Powell - Community
•Created by chrono1913 on 10/6/2022 in #front-end
I need to understand this part of the code
let x = "hello my name is chrono"
const finalSentence = x.replace(/\S\w | \s\w/g, letter => letter.toUpperCase());
>>>>>>>>>>>>> I need to understand this part of the code >>>>>>>>>>>> letter => letter.toUpperCase()
Is it like writing this
function letter(letter) {
letter.toUpperCase()
return letter
}
26 replies
KPCKevin Powell - Community
•Created by chrono1913 on 10/3/2022 in #front-end
how to use a loop to cap the last letter of a string
let x = "hello my name is chrono"
let reg = x.split(' ')
for(let i = 0; i < reg.length; i++) {
reg[i] = reg[i][0].toUpperCase() + reg[i].substr(1)
} reg.join(" ") console.log(reg) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The code above is to change the first letter of the string to uppercase. The next lesson is to change the last letter instead of the first Please help
reg[i] = reg[i][0].toUpperCase() + reg[i].substr(1)
} reg.join(" ") console.log(reg) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The code above is to change the first letter of the string to uppercase. The next lesson is to change the last letter instead of the first Please help
20 replies
KPCKevin Powell - Community
•Created by chrono1913 on 9/27/2022 in #front-end
I just want to know if i did this right, regarding js and react script
function clickfunction() {
const p = document.querySelector('.container')
p.styles.padding = "50px";
}
export function App2() {
return <div>
<p>Hello Again</p>
<div>
<p onclick="clickfunction" className="container1">djskahdasfklaskl</p> </div> </div> }
<p onclick="clickfunction" className="container1">djskahdasfklaskl</p> </div> </div> }
9 replies
KPCKevin Powell - Community
•Created by chrono1913 on 9/25/2022 in #front-end
What is the point of the concept ‘promise’
I been watching ‘Promise’ videos and still dont understand the concept. When is it most relevant to use it?
7 replies