Questions tagged [html]

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

Filter by
Sorted by
Tagged with
52 votes
7 answers
3k 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, ...
rolfl's user avatar
  • 97.3k
47 votes
4 answers
9k views

Conway's Game of Life in JavaScript

I made Conway's Game of Life in JavaScript and was hoping someone could give me some pointers regarding my logic of checking adjacent cells. I know there must be a better way, but at the same time, it ...
SaggingRufus's user avatar
41 votes
8 answers
17k views

Rendering a person's time clock record in HTML, with many color-coded conditions

I have coded this mess of JavaScript and a bit of jQuery. Everything here works perfect as intended, however it is a real mess. What would be the best way to clean this up with best practices and ...
Josh Kirkpatrick's user avatar
39 votes
3 answers
4k views

Displaying courses in an HTML calendar

I'm struggling for a while now with the readability of my code, I after I tried to get as much insight as possible (for my standards). On my level, I think I understand and use it all right for my ...
Anonymous's user avatar
  • 505
38 votes
5 answers
2k views

First Time HTML5/CSS Site

I am working on my first HTML5/CSS web site and, like all of my first-time projects, they end up cumbersome, crude, and hard to work with when changes need to be made later in the life cycle. I am ...
Neggly's user avatar
  • 535
33 votes
4 answers
3k views

Snowfall in HTML

I am a beginner and I have made Snowfall in HTML for my mom. I'm pretty sure it will not look that awesome to any developer out there, but hey, that's why I've posted it. I'd like a general review of ...
Ducky's user avatar
  • 331
27 votes
3 answers
2k views

View for Ultimate Tic-Tac-Toe board

I've put together a board for Ultimate Tic-Tac-Toe (What's that?). This is part of the current code-challenge: Code a Ultimate Tic-Tac-Toe Resources: Live demo of my view – For you to see what ...
kleinfreund's user avatar
  • 3,681
26 votes
3 answers
2k views

WebTorrent player

I have been working with HTML5 and CSS3 for a long time now, but have avoided JavaScript because of my belief that it's most frequently used unnecessarily while having a tendency to be poorly written. ...
ndm13's user avatar
  • 718
22 votes
6 answers
7k views

To-do list in jQuery

I'm making a simple to-do list with jQuery. This is my first step in JavaScript and jQuery. How can I improve my code? User enter tasks in input field, submit by pressing 'Enter'. On double-click, he ...
Vasyl Pylypiv's user avatar
22 votes
6 answers
2k views

Login Form in HTML

I am a beginner and I have made Login Form in HTML. I'm pretty sure it will look horrible to any developer, but hey, that's why I've posted it. I'd like a general review of this. I'm especially ...
Freeze's user avatar
  • 321
22 votes
4 answers
828 views

HTML tag encoder

library.php My own HTML tag encoder that will print HTML codes according to the input. ...
John Isaiah Carmona's user avatar
22 votes
3 answers
3k views

HTML Editor: an online HTML editor with real-time preview

Note Please review the new question and ignore the following. Overview HTML Editor is an online HTML editor with a minimalist approach. Edit your HTML, CSS, and JavaScript code and monitor the ...
Mori's user avatar
  • 95
21 votes
10 answers
19k views

Sum of numbers separated with comma

I am very new to HTML and I've decided to attempt to put what I know into an HTML page that allows you to enter any amount of numbers, separated by commas, and would display the sum of all the numbers ...
TheCoffeeCup's user avatar
  • 9,454
21 votes
2 answers
2k views

Allowing users to input a safe subset of HTML

I am currently working on a project that requires users to input text that may or may not be formatted (if it helps, just think of it as a Stack Exchange clone, even though that's not quite accurate). ...
Meredith's user avatar
  • 294
20 votes
3 answers
32k 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 ...
Sean Anderson's user avatar
20 votes
3 answers
14k views

Show days of single week

I'm currently in the process of creating a online work schedule for internal use. For this, the client needs to show the days of a single week. I pass a week number and a year. From that I get the ...
Repox's user avatar
  • 345
20 votes
4 answers
1k views

Simon Says: is this too complex?

I took a class covering HTML, CSS, Javascript and for a final project, thinking of a previous community challenge, I created Simon Says. Going through my code my professor deemed it overly ...
Legato's user avatar
  • 9,829
20 votes
3 answers
13k views

Simple to-do list as a single page application

I've been doing a simple implementation of a to-do list to learn how to use Knockout.js. I would like a general review of what I've done so far (not much). It's my first application in JavaScript and ...
Marc-Andre's user avatar
  • 6,701
19 votes
2 answers
45k views

Tic Tac Toe in plain JavaScript

I have created Tic Tac Toe game using plain JavaScript. Can any javascript expert review it and let me know whether the way I have written JavaScript code that is right (preferable)? I am unsure that ...
Sharath Bangera's user avatar
19 votes
1 answer
445 views

Order a delicious pie here

For a quick summary: I've created this internal web application, and I've hit a point where I can really see the mess I've made. I need some help separating the logic, the view, and the data. More ...
Alex L's user avatar
  • 5,737
18 votes
2 answers
2k 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 re-...
xDaevax's user avatar
  • 1,171
17 votes
3 answers
14k views

Testimonial section with HTML tags

I created this testimonial on CodePen I am a bit skeptical about a few things in my HTML structure. For example, I typically see testimonials enclosed in ...
JGallardo's user avatar
  • 1,218
17 votes
5 answers
142k views

Sorting an HTML table with JavaScript

The following code sorts an HTML table with JavaScript (without using any external libraries like jQuery). Are there any shortcomings or possible improvements I could make? ...
Sharanya Dutta's user avatar
17 votes
3 answers
1k views

Using a navigation menu to help keep material organized

I'm working on a personal project to keep different snippets/examples/small projects of mine organized. I want to make the most of my page width, so I decided to write a navigation menu that slides ...
Andrew's user avatar
  • 463
16 votes
3 answers
2k views

HTML page listing product characteristics

I am using below code in site. i am using lot of html "br" tags. Is this the proper way? or may i add css class for those lines instead of ...
USer345738380's user avatar
16 votes
7 answers
2k views

Personal website, done after one week of learning HTML and CSS

I've just started learning CSS/HTML a week ago and I made a quick site today. It looks pretty good, but I think that I reused/wrote some really messy CSS. This is because I haven't used the ...
Kevin Li's user avatar
  • 169
16 votes
5 answers
1k views

Twitter client portfolio website

I'm creating some sort of "portfolio" website for my self (a ton of placeholder content right now...) and I was wondering if I could improve the semantics of the HTML5 any further, especially the <...
Ivo Wetzel's user avatar
15 votes
1 answer
414 views

Portable website template

I have spent the last 6 months as I am studying web development in college to build a website template that is responsive and accessible from as many devices and browsers as possible. I would really ...
Leo's user avatar
  • 789
15 votes
2 answers
2k views

Markdown to HTML

...
bjb568's user avatar
  • 659
15 votes
3 answers
50k views

Calendar in HTML + CSS + JS

As I'm new to HTML + CSS + JS I've been building a calendar (which I think anyone can use as a basis) but would like to get your suggestions on how I could improve my code specifically from the ...
ANM's user avatar
  • 243
15 votes
2 answers
2k views

PHP URL Shortener

I just developed a URL shortener. index.php: ...
matheussilvapb's user avatar
15 votes
3 answers
544 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 ...
Phrancis's user avatar
  • 20.4k
15 votes
1 answer
266 views

Make Stack Overflow Design Great Again

I've been annoyed with the new side bar layout, so I chose to hide it. But then, the useful links were gone, so I decided to make this little user script in Tampermonkey to bring them back to [roughly]...
Phrancis's user avatar
  • 20.4k
14 votes
3 answers
288 views

Mission impossible: beat everyone else to the queue

Your mission, should you chose to accept it, is to beat everyone else to the review tab so you get a chance to help out. This is a problem I've been running into lately. I go over to review tab, find ...
SirPython's user avatar
  • 13.3k
14 votes
3 answers
2k views

Find my colleagues

I recently finished the Using Databases with Python course. To figure out whether I really understood what was being taught, I build an application which does roughly the same but uses a different ...
Mast's user avatar
  • 13.4k
14 votes
2 answers
13k views

Best way to construct a semantic HTML table?

I have to do a table like this one: ...
mkhuete's user avatar
  • 241
14 votes
2 answers
275 views

FizzBuzzLizardSpock

I decided that since I was learning AngularJS and Bootstrap, I'd be remiss not to post a FizzBuzz, but FizzBuzz bores me, so I've extended it. My version of FizzBuzz is configurable, and allows you ...
Nick Udell's user avatar
  • 5,197
13 votes
6 answers
33k 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. ...
arsenal's user avatar
  • 2,167
13 votes
4 answers
2k views

Javascript Syntax-Highlighter for Java

Project I wanted to create a syntax highlighter for Java using JavaScript, HTML and CSS. It uses regular expressions to find the parts that should be highlighted (at the moment: keywords, strings, ...
user avatar
13 votes
5 answers
20k views

Remove useless whitespace from styled string

I have a big string resource (basically the "about" text of the application) which contains styles (such as <b>, <a> ...
Felix's user avatar
  • 283
13 votes
1 answer
92k views

Submit an array as an HTML form value using JavaScript

I'm sending data from a form with a variable number of fields via an Ajax call. Some of the fields are grouped together so I have opted to send them as an array of JSON objects to keep the groupings, ...
Geraint's user avatar
  • 273
13 votes
1 answer
3k views

Real time Tic Tac Toe game in Javascript using Socket.IO

This is my first attempt at building a full project. I've recently learned using prototypical inheritance in JS. Please tell me how I can improve the quality of this code. The game is available here:...
ayushgp's user avatar
  • 183
12 votes
7 answers
590 views

Music Theory Website

I was just curious to know what you think about this website I'm designing. I would just like any constructive feedback that you might have. http://jackatron.web44.net/music/ ...
Jackatron's user avatar
  • 123
12 votes
4 answers
66k views

Different way of writing multiple click functions

I have the following .click() functions: ...
khollenbeck's user avatar
12 votes
3 answers
1k views

HTML Review of template for site - Is this ok for HTML5?

Writing a new site, has anyone got any comments on the HTML here? Is it all semantically correct? Thanks! This will basically be the template, so I want to make sure it's pretty perfect. ...
Tom Gullen's user avatar
12 votes
3 answers
1k views

Blog site generator written in shell script

Since I am not a fan of having using large web-frameworks and libraries just to setup a simple blog, I decided to write my own static blog site generator in pure shell script. The script uses pandoc, ...
766F6964's user avatar
  • 901
12 votes
4 answers
530 views

Practicing HTML Tables

I am trying to learn by doing. Here is the first problem that I have solved. I have actually not done it perfectly. The table header should cover both the text and the image but it is only above text. ...
user avatar
12 votes
2 answers
1k views

Is this safe against major XSS attacks?

I am building a classifieds website here in Portugal, and I'm now in the security phase. So until now, I already made what I think is a good measure against SQL injection: ...
Fábio Linhares's user avatar
12 votes
2 answers
840 views

In-browser syntax highlighter

I've made a simple in-browser syntax highlighter using JQuery. It's pretty simple, it just wraps keywords, integers, and such in <span> elements with color ...
Ethan Bierlein's user avatar
12 votes
1 answer
13k views

Adding a new class to HTML tag and writing it back with Beautiful Soup

I am working on an HTML document to which I need to add certain classes to some elements. In the following code, I am adding class img-responsive. ...
avi's user avatar
  • 973

1
2 3 4 5
37