All Questions
78 questions
1
vote
1
answer
90
views
Calculate Prime Number using web workers and Web storage in HTML5
Take a number input (less than 100) from the user and save it to the web storage. Create a web worker to increment the number till it becomes prime. Provide two buttons of 'Start' and 'End' to start ...
2
votes
1
answer
135
views
Sign Up Page - A mini Frontend Project
I have designed a a small frontend project, a sign-up page. It uses HTML, CSS, JavaScript and jQuery. Being a beginner to frontend development, I want to adapt to all the best practices. I am looking ...
3
votes
1
answer
98
views
my code is messy and wasteful of lines, how do I make my code simple
can this script be made simpler? I'm just learning about javascript, so I don't really know which syntax to use.
My HTML I have several id consisting of "doc1, doc2, doc3, .." and there is ...
0
votes
1
answer
443
views
Simplifying input filtering in tables with multiple selectors using jQuery
Code explained
I wrote a few identical functions for each table to filter them based on the user input typed in the input fields using jQuery. After filtering it counts the rows that are left visible....
2
votes
0
answers
2k
views
Contact form with AJAX call and secured PHP with Google reCAPTCHA v3
here is a code of a simple contact form that I have created, I believe that the form is server-side protected against empty fields, header injections, CSRF, XSS, bots using 'Google reCAPTCHA v3' and ...
3
votes
1
answer
52
views
Simple Form Starts Long Running Task and Watches Progress
Want to level up my skills. It hits a php script that starts a long running export that can take few minutes to few hours. The export script outputs a progress file that this form's javascript uses ...
1
vote
1
answer
611
views
Upload image without src attribute
We gave an option for user to Upload the image
Image is uploading fine, but its not adding any img src tag for that uploaded image.... Is this is acceptable to upload image without using any img tag ?...
2
votes
1
answer
393
views
User upload & Drag image and update text
I am allowing user to upload images & drag uploaded image once user click on mask images, also gave an option to Edit the text....
I am fetching mask images and text from json file....
I am ...
3
votes
2
answers
883
views
Use weather API to get information in JavaScript + jQuery
Please can any code experts review and improve my code?
HTML
...
2
votes
0
answers
415
views
Simple jumping game: continue with jquery or switch to html5 canvas?
I'm coding for fun with the secret ambition of making a fun little game for mobile. So I started out building this little jumping game with Javascript and jQuery.
The game relies heavy on css ...
3
votes
1
answer
2k
views
jQuery image carousel
I have made this custom image carousel, using HTML5, jQuery and CSS. My aim was to make it really lightweight but with (just) enough features: "bullets", auto-advance, responsiveness.
...
5
votes
3
answers
3k
views
Dynamic country, state select options
Here is code I wrote to dynamically choose between three country options (United States, Canada, Other). After the user selects a country it will show the related select option or an empty input (when ...
5
votes
2
answers
126
views
Web ToDo application in JavaScript, HTML, CSS
I would like to share with you the code from the application I just finished. It is a web application written in HTML, CSS, JavaScript and jQuery. It uses ...
1
vote
2
answers
3k
views
Handling keyup events with throttle or debounce in Javascript/jQuery
In my web application, there is a search input field, and when the user empties all of the text inside the input field, there is an API call made for a default-list of results, which are displayed in ...
4
votes
1
answer
1k
views
Cricket Scoreboard for Darts
I've been learning front-end web design, and I'm looking to start diving into the back end soon. Before I do that, I want to make sure I have my HTML/CSS/JS skills down pretty solid. Here's a ...