how to make the bullet on the background
What specific areas of your project would you like help with?some feedback after review my code and how to fix the background in the best code
if anyone how know more clean code and logic feel fee to give me some feedback that will make me happy
here the code that I have use for javascript but I'm not sure if that clean and perfect code **maybe some feedback or tips to follow **
const inputFiled=document.getElementsByTagName("input");
const warningElements=document.getElementsByClassName("warning");
const submitInput=document.querySelector("input[type='submit']");
// this will listen for all warning that has clicked
// and returned to default
for (let i = 0; i < warningElements.length; i++) {
const element = warningElements[i];
element.addEventListener('click',() =>{
element.style.display="none";
inputFiled[i].style.display="block";
})
}
function checkEmptyFiled(e){
for (let i = 0; i < inputFiled.length-1; i++) {
const element = inputFiled[i];
if(element.value===''){
e.preventDefault();
element.style.display="none";
warningElements[i].style.display="flex";
}
}
}
submitInput.addEventListener('click',function(e) {
checkEmptyFiled(e);
});```
I'm just need some feedback in js file to make as clean code please review my code and send me tips
how to make the bullet on the background
What specific areas of your project would you like help with?some feedback after review my code and how to fix the background in the best code
just some feedback for current project
Happy for the all kinds of feedback
you have write an awsome code but here some tip: 1-using main is better than div in container . 2-just start with mobile design to get more controle of your design .