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).

learn more… | top users | synonyms

1
vote
1answer
34 views

Best practice of HTML DOM template in javascript

Of course the when this select is comes with less options it will be better to leave it like this, and when it comes more then this it better to make it via loop. The question is that if I should make ...
0
votes
1answer
29 views

Form submit using POST handled in PHP

I have this code working for submitting a form using PHP and HTML (Bootstrap). I did not post the CSS, so I hope this is not an issue. I am interested if this code is clean, following good practices, ...
3
votes
3answers
61 views

Responsive CSS, abbreviated content

I wonder if there is a "correct" way to display different content, based on the the state of responsive webdesign. Different in this case is meant as an abbreviated text to display instead of the full ...
2
votes
1answer
67 views

Convert plain text to HTML C#

I have the ToHtml() Extension Method ...
2
votes
1answer
42 views

Using TAGS with <script> on your websites

This function creates a series of links at a desired destination by the usage of a premade tag system. Usage: createMyTAGS_DATA passes in a single line of all ...
1
vote
2answers
45 views

Is this system of text protection reliable?

I've got a text I don't want to be copied by users. To avoid that, I'm using this code: index.php ...
3
votes
1answer
39 views

Dynamically changing available select options

I have the following code working here on JSFIDDLE: ...
0
votes
1answer
40 views

Program to create list of all English Wikipedia articles

This program will scrape Wikipedia to create a list of all English Wikipedia articles. How can I improve this program as it currently performs very badly performance-wise? On my Internet connection ...
2
votes
1answer
56 views

Advanced Air Calculator

I have expanded a lot on my last project and had a lot of fun doing it. It was great to build out all the code. I am new to JS so these types of projects are really helping me learn. Please be honest ...
2
votes
1answer
33 views

GIF background rollover

I made a cool roll-over in CSS which displays an animated GIF when the parent is hovered. Codepen The problem is that I will have about 40 .day like that, all playing the animated GIF behind the ...
0
votes
1answer
48 views

Product page filter

I am still learning Laravel and I am in the process of creating a small shopping website. On the left hand side there are a series of filters that appear depending on what products have come back ...
4
votes
2answers
85 views

Calculator using PHP with logging to MySQL database

I have made a calculator in PHP and I need some feedback in terms of security and performance or any other general improvements. You can download a zip file with all the contents from this link if ...
4
votes
3answers
167 views

Simple image gallery

I have a simple gallery that hides and shows images. It works fine, however, I am not satisfied with my approach, and my code seems redundant. Can you check my code and give a better idea on how I can ...
11
votes
2answers
77 views

Website template for Cardshifter game

I'm putting together a template for easy formatting of content pages, to be used in putting together a website for an online trading card game. I've been using the Bootstrap library (and finding it ...
3
votes
2answers
32 views

Insert JSON data into rendered template after AJAX call

I have an already rendered template and I want to update it with some JSON data I obtain via AJAX. The template as it is before rendering looks like this (using ...
0
votes
1answer
49 views

Angular dropdown menu

I've made a dropdown menu using angularJS, it works fine but I feel that I'm not following the DRY principle. Is there a way to combine this switch statement into something more efficient with less ...
0
votes
0answers
21 views

HTML Tree Parsing in Perl

I finally converted my horrific HTML regex parsing: ...
8
votes
1answer
151 views

Markdown to HTML, again

I made another markdown parser. (original, this one on github). Look, I'm not crazy (sorta), I just like making markdown parsers… ...
2
votes
2answers
51 views

Change the navigation ul li based on the clicked country

I'm trying to create a very simple jQuery plugin in the object-oriented way. Now, I'm not sure whether the code I produced is correct and efficient OO programming. The plugin's aim is to change the ...
1
vote
1answer
31 views

Reusable library to alert user of potentially unsaved changes

I wrote a small reusable component based of some of the examples to this question on Stack Overflow about Activating OnBeforeUnload only when field values have ...
5
votes
2answers
98 views

Realtime chat room

This is a really simple chat room that I've made using Firebase. Before I take it to the next level I want to know if there is anything I can improve right now. Since I'm new to Firebase I don't know ...
3
votes
2answers
65 views

Table of tournament scores

Please let me know if you think I can improve the structure of his table code. ...
6
votes
3answers
105 views

Make website design more elegant and have better compatibility

This is my very first website which is going to be published online. Along the way it's gonna be a complete website. Now, firstly, I am a very beginner in this field, and I want to be a good web ...
6
votes
1answer
51 views

Is my code tidy and structured?

I'm very new to coding and I've attempted to make my first website, however I feel as though I haven't coded it with a proper structure. Here is a jsFiddle of all my CSS and one html page from my ...
2
votes
1answer
39 views

Row and Column input picker

I've created a simple picker which is going to be used to select the number of rows and columns when constructing a table. Here's the example: http://jsfiddle.net/tnn3qgvj/8/ HTML ...
8
votes
1answer
100 views

Custom JavaScript validation using the factory / module patterns

I am in the process of diving a bit deeper into JavaScript development and am looking at some common language patterns (module, and factory in particular). In this code, my aim is to create a ...
2
votes
1answer
27 views

Isolating testable portions in rendered html, without imposing on content or formatting

I'm unit testing some webpages and I'm trying to figure out how to best isolate the portions that need to be tested. There are two goals: Don't impose on the webpage's content or format, and be as ...
0
votes
0answers
42 views

App using JQueryMobile and Cordova

I have received a project that is built on Cordova with JQueryMobile. The app is already published on three platforms and is being used by 100K+ users. Now I have to add new functionality in it. But ...
2
votes
0answers
12 views

Compressing a blog into a preview using tumblr_api_read

Here is what I have currently working. I would like to make it look more aesthetically pleasing, so not finish words in mid word. Also not have the two previews be so much larger than the other. ...
3
votes
1answer
68 views

Portfolio website

I'm making a portfolio website right now with Visual Studio 2013 and ASP.NET 3.5 because my free hosting only supports 3.5. Are there any bad practices in my code at the moment? What would you change ...
0
votes
1answer
31 views

Best way to implement j_security login

I have a j_security login implemented but it's been giving me a lot of problems and wanted to know if there's anything that sticks out as incorrect or outright ...
10
votes
2answers
183 views

Is this HTML Helper good or bad?

I have written this HTML static class which may categorize as a helper (not really sure what the definition of helper is). Anyways, I was just wondering if it was a smart idea to call a bunch of PHP ...
4
votes
1answer
71 views

Accessing parent isolated scope in directive

I was looking for a way to markup parts of my app as restricted to only certain roles, on an element basis. This works quite well, using an attribute directive, where I specify the allowed roles and ...
2
votes
0answers
89 views

Recreating the Google Homepage

I am trying to recreate the Google homepage as part of a The Odin Project task. I had a hard time lining up the top right hand menu bar - should I have done it differently? Was the way I did it the ...
0
votes
1answer
50 views

Can the number of div elements be reduced in this design?

Is there a way to cut-off using "div" elements in my design or it is good enough? I use Boostrap CSS library. CSS: ...
3
votes
2answers
40 views

Targeting specific elements with CSS only

This code below works as needed, but I am not sure if there is a more elegant way with pure CSS. I have a table with two columns, and 4+ rows. I'll actually upload a picture. It's the first table in ...
2
votes
1answer
62 views

jQuery and CSS3 slideshow

I have built a slideshow using jQuery and CSS3. jQuery is used to trigger class changes (.slide1, .slide2 ...) on the slide container (...
1
vote
1answer
85 views

Populate dropdown B on selection in dropdown A

On selection from drop-down A (HTML select) I need to populate another "sub"-dropdown with a different list of values. For instance, on selection of country in ...
2
votes
1answer
130 views

Multiple jQuery hidden element toggles

I have a handful of images working as jQuery toggle switches - Showing or hiding an element on a click event. The code below mostly works as intended, but I'm fairly certain I'm using a lot of ...
5
votes
2answers
53 views

Creating elements with special corners

I've been given a task to create elements with some special corners, and those elements should be responsive. This works, but am I wondering if something better could come up. Less code to maintain. ...
2
votes
1answer
57 views

3 textboxes with multiple value combinations to one output

I would like if someone who has more experience in JavaScript reviewed this. I went through and tried to minimize this as much as possible, but I still feel this could be smaller and more compact. I ...
8
votes
3answers
280 views

Handling shared state among a lot of elements in Angular

I am working on a project in Angular where I have a number of similar data objects. When you click on anyone of them it's state and amount of data shown will change. All of the objects start in the ...
10
votes
3answers
950 views

Efficiently generating HTML CSS table using Java

I am trying to generate an HTML table using Java. I have an object which I am iterating to make an HTML table. ...
1
vote
1answer
55 views

Showing a spinner over content - fade out some elements and disable clicking on some elements

I am displaying a loading spinner inside of various elements. There are four potential states an element could be in: Reduced opacity; unresponsive to pointer events. Reduced opacity; responsive to ...
1
vote
1answer
136 views

jQuery Widget - Progress Tracker

This is a follow up on JS Progress Bar Widget I've rewritten it as a jQuery Widget Factory widget, attempting to follow that standard as much possible and fixing the various problems pointed out in ...
1
vote
0answers
42 views

Vertical-align in Nested Column

Requirements: There is Two Column, The left column is fixed width The height of two Column should be the same. Left column contain a title (can be multi-line), and an Image (limit max width to left ...
5
votes
1answer
100 views

JS Progress Bar Widget

Demo of the widget: http://jsfiddle.net/slicedtoad/Lywvbsf4/ It's a progress bar that shows a list of steps and which one is being completed as well as allowing previous steps to be revisited. It ...
1
vote
0answers
46 views

Stylish range input, Google Chrome only

I have an input[type=range] element which is customized using CSS to look more modern. I'm unhappy with my CSS because of the need to use ...
3
votes
1answer
272 views

HTML 5 Blog Layout / Markup

I'm creating a WordPress theme in HTML 5 which is relatively new to me. I've read up on it and I read things that seem to contradict one another or differing opinions. One of the big things is where ...
12
votes
3answers
224 views

Stylish underline when input is focused, modern browsers only

I've got a text input element which is decorated with an underline. The underline goes up half the height of the input on either side of it and turns blue when the input is focused. It's similar to ...