HTML (Hyper Text Markup Language) is the standard content markup language of the web. It is an open standard developed and maintained by W3C (World Wide Web Consortium).
3
votes
1answer
76 views
The ListenHear Game - Listen and type the word
What it does:
Speak a random word chosen from an array and ask the user to type the word in the box for 15 seconds
If right, +1pts, reset the timer and go to next word.
If wrong: do nothing.
After ...
0
votes
0answers
23 views
Animate div positioning rearrangement [on hold]
I am building a simple push-down effect which affects the position of two containers. So far I have managed to achieve a near-desired effect using fixed positioning for the hidden container, while ...
0
votes
1answer
67 views
Check if a string has HTML in C#
I need a function to determine whether or not a string has HTML in it or not so that I can know whether I'm dealing with a plain-text format or HTML format.
It seems simple enough in C#, using ...
3
votes
2answers
57 views
Information about a nightclub in semantic HTML
Could anybody have a look at my HTML code and tell if it's build upon the correct semantic way using the right tags, and not using unnecessary divs?
I'm still not sure if there any divs in my code ...
4
votes
3answers
70 views
Showing animated company KPI stats
I am creating a web page in which I have 4 different numbers which show companies stats. I am using javascript to dynamically show these numbers from 0 to n (where 0 is the starting point of counter ...
2
votes
3answers
61 views
User Profile page - code quality , security & Performance feedback
once user login, we are displaying all the information of user in profile/account page. please check code quality , security & Performance.
...
3
votes
0answers
46 views
Vanilla JavaScript ToDo List implementation
Just started learning JavaScript and I have created a basic TODO list following MVC concepts to apply what I have learnt so far. This is probably overkill for a simple todo app, but the objective is ...
-2
votes
0answers
13 views
Call option values from url function [closed]
I'm hoping someone with more experience with javascript can give me a hand. I am having trouble with a specific part of my code.
On the page, you can select a name from a dropdown menu and type in ...
0
votes
0answers
15 views
Media Queries Exercise
I am learning responsive design and media queries and am trying to simulate the problem as mentioned here.
I am solving a problem where it has to be responsive on devices with 320*470 (android phone) ...
1
vote
0answers
42 views
Rock Paper Scissors JavaScript game
I'm sure this game gets put up here all the time but I'd appreciate it if you could have a look over my code and give me some suggestions on how to improve it.
Here is a live example so you can play ...
1
vote
1answer
10 views
Opening links in a new tab or window
I've got a lot of links (150+) in an href (here I can only post 2) and I want them to be opened in a new tab or window. I've got this piece of code that works, but ...
2
votes
0answers
30 views
format any mail into readable text
Scope is to throw any mail, html or plain or multipart into this and receive a readable formatted text that deals with special characters and html issues. Field of usage: System that imports mails ...
2
votes
1answer
20 views
Responsive video embedding
I figured out a alternative way to make embedded videos responsive and I like to have some feedback on it.
Would this be considered a hack or just bad coding to add a extra piece of html to make this ...
3
votes
0answers
31 views
Karma Sutra Game Version 2.0
I have refactored the code for this game thanks to some great suggestions from woxxom
Now, once again, any suggestions still welcome. I am going to be improving the UX as a next phase (giving hints ...
0
votes
0answers
22 views
HTML FlexBox Layout
Can someone please review my code .
I could not get a picture/snapshot of what im trying to do
but,I want to generate a layout which has header/footer and the content section is divided into two ...
3
votes
1answer
57 views
Animating the appearance of a title with CSS
To sum up my project was about making cool animation of titles appearance with an effect of a colored block coming from one side while expanding and disappearing from the others side while contracting ...
0
votes
1answer
72 views
Simple JavaScript quiz app using an external questions.json file
I have a quiz app that gets data from a questions.json file using AJAX, loads them into my script file, and then use Handlebars to compile templates so I don't have ...
3
votes
0answers
34 views
Decode HTML Entities in VBA using regex and dictionary
I receive HTML-encoded text that includes named and numbered entities, and I need the decoded HTML.
There were just too many bad solutions for this online.
I use regex pattern ...
5
votes
3answers
98 views
Upload an image to a folder through a form
I am using this code to upload an image. Please review it and give your feedback regarding performance, security, and quality. This also works in PDO project.
...
0
votes
1answer
33 views
Remove dates from a list which have already past and add a buffer of x amount of days
Is there a more efficient/performant way to accomplish this with vanilla js (no libs please) as the looping is slow? Also, how can I make it more flexible, so the HTML option values can vary a little, ...
1
vote
0answers
28 views
Populating an HTML table with JSON results
Could anyone suggest a better approach than the one I'm using now? I tried to keep it as minimal as possible but this is the best i came up with. I did extensive research just to get to this point.
...
0
votes
2answers
35 views
One page with owlcarousel
I've done a small one page project with slider (owlcarousel) & CSS3 animations .
Could you please look at HTML, CSS & JS and check for possible improvements? Thanks in advance.
Here's a page
...
2
votes
4answers
44 views
Updating a field's change
I'm writing simple jQuery script for updating one field on another field's change. It's working, but I'm trying to write good code and use best practices. Can you please tell me what my mistakes and '...
1
vote
0answers
55 views
Drag to adjust size of two divs
I have a browserify module I've made for resizing two divs I have beside each other. The idea is that I have two panes with a bar between them which I can grab and drag to resize the panes. As one ...
3
votes
1answer
61 views
Price rating approach
I'm pretty new to web development and I don't know if my solution is OK according to the best practices, considering performance and clean code.
I have a Merchant model that belongs to a Price model.
...
1
vote
1answer
67 views
Responsive SASS header
I'm currently working on an header for some homepage. It should be responsive. When enough width is available a floating header is displayed (logo on the left / menu on the right). With less and less ...
3
votes
3answers
527 views
PHP-MySQL sign-in and sign-up project
I have done my first PHP-MySQL project with MySQLi connection. Please review this and inform me about security and performance issues.
dbconnect.php
...
3
votes
0answers
41 views
Javascript menu with dropDown and Slide effects
Over the last couple of weeks we build a huge Javascript menu. And we might think the whole code is a little bit too much. We are not pros, but came to a quit acceptable solution. (yeah it´s German, ...
0
votes
0answers
35 views
Load images embedded in DOM events performantly
if you visit site , you can see page loading time is too much.
I am using the below code to display single image, we are using same kind of code for all 16 images, please review code and guide me to ...
1
vote
0answers
80 views
JavaScript to add interactive functionality to a conference registration form
This is some simple JavaScript to add interactive functionality to a form. I'm trying to make it unobtrusive for non-JS users.
...
0
votes
2answers
63 views
Enable or disable two icons
I need two icons:
If the email is verified, show an icon without a hyperlink and set an "activated" CSS class for green style and checked.
If the email is not verified, the icon is linked to the ...
0
votes
1answer
51 views
Rearranging DOM elements using inconsistent criteria
Before you read ahead: ES6 may not be used.
Consider a web-page showing a report of some data that is structured as follows:
...
3
votes
1answer
224 views
Migrating HTML elements
I have this code which migrates HTML elements to the word chunks by bracketing each element. Here, chunks is the list of word chunks to be processed and dom is to access the given HTML source. This ...
0
votes
0answers
19 views
3
votes
2answers
28 views
Vertical Menu with multiple filters and search options - Need help making it Semantic
Recently I started focussing on semantic HTML. And strangely I still find it quite hard. Could you guys please check this file and give me some tips on what I can do better? Also Is it bad to use the "...
0
votes
1answer
23 views
File listing layout
I am designing a very basic file listing layout in HTML and CSS. Although its working but I would like to know if the following code could be improved upon so that its more good and follows the best ...
0
votes
1answer
39 views
Bootstrap one page
I've made a simple one page site to practise Bootstrap. Could you please look at HTML & CSS and check for possible improvements? Thanks in advance.
Here's a page.
HTML
...
1
vote
0answers
16 views
Small portfolio project with sliding content
I've done a small portfolio project and I'm looking for some review, especially of:
HTML markup,
CSS/Sass,
animations used,
media queries.
What could been done better? Thanks for help in advance.
...
0
votes
1answer
46 views
Simple landing page markup with basic HTML
I'm writing the HTML for this website:
And this is the HTML I made:
...
3
votes
3answers
199 views
Filter options of select box using input box value
I have a select box with some options in it and a input box. I have to filter the values of select box on the basis of the keyword entered in the text box.
JavaScript
...
3
votes
1answer
46 views
HTML and CSS template of “Free .psd layout”
I have coded a free .psd layout for the first time. I did not make it responive because I would like to know if the code is correct.
The layout's appearance in Firefox and Chrome seems to be ok (...
0
votes
0answers
27 views
Group of divs on circle zone
I have created an simple circle zone that have div outside it.
This my code
...
4
votes
0answers
39 views
Toggle menu under specified screen width
I've done simple toggle menu in jQuery which is avaible at specifing breakpoint, but I'm afraid my code is too complicated. How can I make it simplier?
I also have a question about performance of ...
4
votes
2answers
86 views
Get table/rows from database then insert into JavaScript
I'd rather not use this long code. I want to retrieve table/rows from database and insert into JavaScript to create a table in HTML.
This is what it looks like so far and I'd like to keep the design ...
6
votes
1answer
101 views
PowerShell script to create Excel spreadsheet from HTML file
This script is designed to create an Excel spreadsheet from each HTML table from auto-generated index.html file.
It needs to be very robust but unfortunately I ...
1
vote
2answers
109 views
Use jQuery to force two checkboxes mirror each other's state
RESTRICTION: jQuery 1.6.4 only, no other library, or version can be used.
My goal is to use jQuery to allow two input checkboxes behave the same.
For example: If 1st checkbox is checked, 2nd will be ...
2
votes
0answers
26 views
Styling different icon positions in boxes with Sass
I've been learning Sass recently and I've made a small project to master key concepts. I've tried to use placeholder to make different styles of boxes. I have a few questions:
is the project ...
1
vote
0answers
83 views
2
votes
1answer
90 views
Looking through a specific array
I have a longwinded PHP file (see gist) which looks through a specific array (declared in another PHP file) named day.
GitHub
The value of ...
3
votes
3answers
63 views
Collect, filter and display archive logs on demand
Wrote a php site to gather/filter/search daily archived logs from the archive directory using bash cat and ...