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

14
votes
7answers
298 views

Who's in the fellowship? When are Frodo, and the rest of the gang, together

As a variant on the fizzbuzz concept, and as an exercise for learning JavaScript, HTML5, and CSS (I know none of them very well). The regular fizzbuzz is somewhat tired, but having a web-based, ...
5
votes
2answers
87 views

Multicolor bar legend

I've implemented a multicolored bar as shown in the image below. It is a bar that is placed above the legend of an HTML form. (Ignore the border radius for now.) I have accomplished this with a ...
1
vote
1answer
21 views

Can my responsive Nav be made simpler?

I've created a responsive nav but feel there's probably a more simpler way of doing it. HTML ...
-6
votes
0answers
21 views

I'm starting off as a programmer and want to expand my horizons, what languages should I try to learn? [on hold]

Ok so I'm what you could call a total newbie at coding, I've only learning html and css (which some don't even count as real coding.) but none the less that's what I've done. I want to get more ...
2
votes
1answer
25 views

HTML Compressor with regex

I would like to compress a Magento HTML page using some regex, and this is what I have written: ...
3
votes
1answer
73 views

Cleaning up website code

I am a bit of noob to jQuery so I got this jQuery code what I think can be way faster. Does someone want to help me clean it up? Explaining why you did what would be real nice but not needed. The ...
7
votes
7answers
334 views

Changing element visibility based on multiple checkbox states

I am writing a script in JavaScript & HTML and have some optimization problems. In the for, loop I check a variable named ...
2
votes
3answers
113 views

Hiding element based on content

I have a page that is part of a CMS and I cannot alter any existing HTML or CSS, but I can add additional custom JavaScript and CSS. There is some text on this page I want to hide and I found a ...
0
votes
1answer
19 views

Performing an auto complete look-up and building a form

I have written a jQuery function that is doing an auto complete look-up and then building the form for me. This is working fine but I want to reuse the code so I can have the form rebuild after ...
8
votes
5answers
491 views

HTML5 Elements - First markup

This is my first website. I would like to make sure that: I am using HTML5 sectioning elements correctly. I didn't forgot anything important for HTML5 compatibility like ...
1
vote
1answer
33 views

Adding classes with JavaScript

I am working again and got this to work. Is this the best way to write this code? ...
4
votes
1answer
74 views

Simple attribute parser for HTML

I am studying Java and trying to write an HTML parser, which should parse tag names and attributes. I wrote a class (code below) using the State pattern. This is necessary for my training project, ...
1
vote
2answers
44 views

Preventing XSS attacks with proper escaping

The following page simulates XSS attacks and successfully (?) prevents them. I want to know if I've missed any other major attack vectors (or small ones) and/or if anyone has suggestions as to ...
3
votes
1answer
39 views

Counter increment for search volume

I have written a jQuery function which accepts an elementId and an integer. The function then generates a counter which ...
3
votes
1answer
28 views

Improving names in a Bem list

I am having some trouble naming lists and list items using the Bem methodology. I want to emit a list of tags for a given blog post and I came up with the following names : ...
1
vote
1answer
47 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
2answers
53 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, ...
5
votes
3answers
76 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 ...
3
votes
2answers
114 views

Convert plain text to HTML C#

I have the ToHtml() Extension Method ...
2
votes
1answer
48 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 ...
2
votes
2answers
51 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
67 views

Dynamically changing available select options

I have the following code working here on JSFIDDLE: ...
0
votes
1answer
46 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
63 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
39 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
70 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
120 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
182 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 ...
12
votes
2answers
94 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
74 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
75 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
24 views

HTML Tree Parsing in Perl

I finally converted my horrific HTML regex parsing: ...
8
votes
1answer
157 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… ...
0
votes
1answer
75 views

First HTML/CSS site

My girlfriend and a friend started a Kiwanis club around here, so I figured it would be a good opportunity to try coding my first website. I'm pretty new to coding still and it's pretty basic, so I'm ...
2
votes
2answers
63 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
43 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
136 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
74 views

Table of tournament scores

Please let me know if you think I can improve the structure of his table code. ...
6
votes
3answers
111 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
55 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
52 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 ...
15
votes
2answers
202 views
+50

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
28 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
52 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
18 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
76 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
38 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
193 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
79 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 ...
4
votes
0answers
100 views

Recreating the Google Homepage for The Odin Project

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