Moni
Moni
KPCKevin Powell - Community
Created by Moni on 6/12/2024 in #front-end
Stripe payment gateway
Can i integrate stripe payment gateway to my html ,css and js website??
3 replies
KPCKevin Powell - Community
Created by Moni on 4/12/2024 in #front-end
Unable to receive email via SMTP JS
No description
2 replies
KPCKevin Powell - Community
Created by Moni on 4/11/2024 in #front-end
Move to another webpage
Hello everyone i want to move to the another webpage on submission of a form i moved to the other webpage successfully but i do not receive the email if i do not add the code to move to the other webpage than my email is send successfully can anyone help me with this i want to move the other webpage and my form should also be submitted here is the codepen link" https://codepen.io/Talha-Mustafa/pen/LYagXQJ
13 replies
KPCKevin Powell - Community
Created by Moni on 4/6/2024 in #front-end
Button to close the website
i want to add a button on my wix wesite which when clicked will close the website here is my code that i am embedding but it is not working but when i run this code on my vs code it work here is my website url https://talhamustafa753665.wixsite.com/contact-form " when you will open the website after 3,4 seconds it will show you a lightbox on that lightbox there is a button named"close website which should close the website "
<style>
#colorButton {
padding: 10px 20px;
font-size: 16px;
background-color: #007bff; /* Default color */
color: #fff;
border: none;
cursor: pointer;
border-radius: 5px;
}

#colorButton:hover {
background-color: #0056b3; /* Hover color */
}
</style>
<button id="colorButton">Close Website</button>

<script>
document.getElementById("colorButton").addEventListener("click", function() {
var button = document.getElementById("colorButton");
button.style.backgroundColor = "#dc3545"; // Change button background color to red
setTimeout(function() {
window.close(); // Close the window
}, 1000); // Delay closing the window for 1 second (1000 milliseconds)
});
</script>
<style>
#colorButton {
padding: 10px 20px;
font-size: 16px;
background-color: #007bff; /* Default color */
color: #fff;
border: none;
cursor: pointer;
border-radius: 5px;
}

#colorButton:hover {
background-color: #0056b3; /* Hover color */
}
</style>
<button id="colorButton">Close Website</button>

<script>
document.getElementById("colorButton").addEventListener("click", function() {
var button = document.getElementById("colorButton");
button.style.backgroundColor = "#dc3545"; // Change button background color to red
setTimeout(function() {
window.close(); // Close the window
}, 1000); // Delay closing the window for 1 second (1000 milliseconds)
});
</script>
3 replies
KPCKevin Powell - Community
Created by Moni on 2/11/2024 in #front-end
Do not want to have deagable funcationlaity in input type range
i want my input type range like when someone will try to drag it . it should not be a dragable . but when someone will clicl on a specific point in input type range it should move to that here is the codepen link"https://codepen.io/Talha-Mustafa/pen/LYagXQJ
2 replies
KPCKevin Powell - Community
Created by Moni on 1/23/2024 in #front-end
characters count using js
No description
10 replies
KPCKevin Powell - Community
Created by Moni on 12/17/2023 in #front-end
Website content disturbed on Iphone
No description
10 replies
KPCKevin Powell - Community
Created by Moni on 12/1/2023 in #front-end
Content not showing
No description
11 replies
KPCKevin Powell - Community
Created by Moni on 11/12/2023 in #front-end
Change close icon color in bootstrap
No description
2 replies
KPCKevin Powell - Community
Created by Moni on 11/7/2023 in #ui-ux
Side bar elements responsive
I am wondering what should be my design for side bar which would have a toggle funcationality for tabs for my mobile version . if anyone have some idea please let me know here is my website"Fundraisers.com" you can a idea what i want to acheive.i want to make it responsive so i want to have a design suggestion.Thanks
3 replies
KPCKevin Powell - Community
Created by Moni on 11/1/2023 in #front-end
col-12 ,col-sm-6 and col-md -4 grid issue in bootstrap
i have defined the classes in my div but when i add col-md-4 all of the columns are start taking equal width as col-md-4 even sm screen sizes are also taking same width as col-md-4 here is my code"<!DOCTYPE html> <html> <head> <title>Bootstrap Responsive Grid Example</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> </head> <style> </style> <body> <div class="container"> <div class="row"> <!-- For Extra Small and Small Devices (col-12 col-sm-6) --> <div class="col-12 col-sm-6 col-md-4 col-lg-3"> <div class="bg-primary p-3">Column 1 (100%)</div> </div> <div class="col-12 col-sm-6 col-md-4 col-lg-3"> <div class="bg-success p-3">Column 2 (50%)</div> </div> <div class="col-12 col-sm-6 col-md-4 col-lg-3"> <div class="bg-warning p-3">Column 3 (50%)</div> </div> <!-- For Medium Devices (col-md-4) --> <!-- For Large Devices (col-lg-3) --> </div> </div> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> </body> </html>
1 replies
KPCKevin Powell - Community
Created by Moni on 10/22/2023 in #os-and-tools
Css is not loading when hosting
I am trying to host a website on github but do not know why it is not hosting as it should be here is my repo link"https://github.com/TalhaMustafa1/nft-test-project.git and here is my website link" https://talhamustafa1.github.io/nft-test-project/
9 replies
KPCKevin Powell - Community
Created by Moni on 10/15/2023 in #front-end
Border-bottom
No description
2 replies
KPCKevin Powell - Community
Created by Moni on 10/14/2023 in #os-and-tools
Redeploy react app
i am using npm run build to redeploy my app but my link of the website is not updating on github.
9 replies
KPCKevin Powell - Community
Created by Moni on 9/20/2023 in #front-end
Design advice
No description
4 replies
KPCKevin Powell - Community
Created by Moni on 9/18/2023 in #front-end
Background image
No description
6 replies
KPCKevin Powell - Community
Created by Moni on 9/14/2023 in #front-end
Second Modal not closing
i have two modals in my website when i click on close button of first one it closes but when i click on close button of second button it does not close i have double check the id's and also check througn console.log which is also working on clicking my cloes icon on second modal check repo code"https://github.com/TalhaMustafa1/bootstrap-website.git" but can not find error here is my js code" <script> // Get references to the modals by their unique IDs var modal1 = document.getElementById("myModal"); var modal2 = document.getElementById("Modal"); // Get the buttons that open the modals var btn1 = document.getElementById("myBtn"); var btn2 = document.getElementById("descento-modal"); // Get the <span> elements that close the modals var span1 = document.getElementById("closeModal1"); var span2New = document.getElementById("closeModal2New"); // Change the ID here // Function to open the first modal btn1.onclick = function () { modal1.style.display = "block"; }; // Function to close the first modal span1.onclick = function () { modal1.style.display = "none"; }; // Function to open the second modal btn2.onclick = function () { modal2.style.display = "block"; }; // Function to close the second modal when "closeModal2New" is clicked span2New.onclick = function () { modal2.style.display = "none"; }; // When the user clicks anywhere outside of the modals, close them window.onclick = function (event) { if (event.target == modal1) { modal1.style.display = "none"; } if (event.target == modal2) { modal2.style.display = "none"; } }; </script>
11 replies
KPCKevin Powell - Community
Created by Moni on 9/9/2023 in #front-end
text in border
i do not want to have weired background color for my text in border .but if i do not add it the boder shows how can i solve this problem"https://play.tailwindcss.com/3P85V7NKhw?file=css
6 replies
KPCKevin Powell - Community
Created by Moni on 9/7/2023 in #front-end
Add vertical line
No description
8 replies
KPCKevin Powell - Community
Created by Moni on 9/6/2023 in #front-end
Design guide
No description
5 replies