Tagged Questions
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
37 views
Clean up repeated file.writes, if/elses when adding keys to a dict
I'm getting familiar with python and I'm still learning it's tricks and idioms.
Is there an better way to implement print_html() without the multiple calls to ...
4
votes
1answer
53 views
Admin Login Function with custom anti-spam
I made this admin login script a while ago. It works fine in terms of checking the database for username and password and logs me in. What I don't quite understand is how to secure my login once in.
...
-1
votes
0answers
7 views
UIKIT style not working correctly [on hold]
Hi Guys I followed UIKIT's sample of html editor my problem is that although its working fine but the design is not... It didnt became the same as what on their docs I followed everything but still ...
3
votes
0answers
46 views
My first jQuery plugin
I am writing my first jQuery plugin that converts li tags to horizontal responsive barcharts. I am looking for some feedback and suggestions regarding the ...
1
vote
1answer
41 views
Getting topyellow, topred, slider, and navbar divs stacked
I previously asked in StackOverflow for help putting this together, and was told that I could improve the HTML and CSS.
Could you help me?
Here is my code, and the pictures I am using:
Code
...
0
votes
0answers
7 views
Content Outside of My Heading Div [closed]
I keep getting content outside of my heading div. I'm trying to accomplish a horizontal nav bar to the right of my logo.
Here is the code:
J&K Locksmith and Towing
...
2
votes
1answer
43 views
Responsive / CSS fixed and variable widths
CSS and responsiveness in multiple columns with fixed and scaleable elements can be done in many ways.
I have created a solution that seems to work, though I have no idea whether this is best ...
2
votes
2answers
96 views
Form with a country list statically or dynamically generated
I want to create a form with a country drop down list so I can just google and get all the countries but the question should I just encode it statically or generate dynamically with PHP. (Note it ...
2
votes
1answer
36 views
b10k minigame problems
I tried to recreate a mini game (not sure about its name, I call it b10k) with 2048 looks, therefore it looked better if I use html elements, and I really am not good at working with them, but I ...
1
vote
0answers
54 views
Minimize code modal dialog and jQuery AJAX calls based on button click
HTML Code: for Add New button
...
3
votes
0answers
29 views
2
votes
1answer
50 views
Simplifying AJAX success code
Please take a look at this Fiddle.
Is there a better way of building a table with titles in the first cell of each row, like this:
...
2
votes
1answer
45 views
Script for adding a set of form fields on clicking an Add More button
This is a script that I use to add a set of form fields on clicking an Add More button:
...
2
votes
0answers
51 views
Basic and simple view, add, edit and delete functionality
I want to know what needs to improve with my application. Maybe there is a better way instead of what I am using currently.
index.html:
...
5
votes
0answers
92 views
How can I make my website have a more modern look? [closed]
After looking at my site, I've been told by my bud:
You know what this looks like? The nineties.
I think it looks alright, maybe a little old fashioned but I've been staring at it so long now ...
2
votes
0answers
20 views
Website Navigation Bar - Potential code soup
I've had a bit of help designing the header for a website here: http://jsfiddle.net/gxLt5/21/
It looks and works exactly how I had hoped. That said, I do feel like the code is a bit grotty, and I'm ...
10
votes
1answer
70 views
Loading the resource identified by a script element's src attribute
I have a function to load the resource identified by a <script> element's src attribute.
I need it to:
Be as universal ...
2
votes
2answers
58 views
HTML & CSS code for small responsive test project based on Bootstrap 3
Don't pay attention to the menu being awful above 789px. The "theoretical" task was to support only tablets and smartphones and I didn't bother to make the menu look fine on other devices. Just ...
7
votes
2answers
159 views
Cleanup code to add div structure to element
I was cleaning up my code when I came across this situation :
...
1
vote
4answers
430 views
Do HTML tags make a difference?
I made a fairly simple template engine (if I could call it that). Basically my server returns something like
...
21
votes
4answers
2k 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 ...
7
votes
7answers
769 views
DRY-ing jQuery code for portfolio site
I'm currently working on my portfolio site and it's all great, but I'm unsure how to DRY my jQuery. I'm repeating myself a lot in the jQuery and it's just messy.
HTML:
...
3
votes
3answers
116 views
A simple HTML / JavaScript calculator
I am making an app and I want somebody to check my code to maybe make it shorter, fix bugs, or add some things.
...
4
votes
3answers
91 views
Is it possible to condense and/or tidy these jQuery functions?
Here is a JSFiddle of my problem.
I have one <select> on the page that lets you choose a brand:
...
3
votes
1answer
40 views
Is there a more semantic way to markup Price Lists? Example as Table and as Description List
I have a pricing list that I can make sense of as both a table and as a description list. Using a table feels hackish. I thought a dl might be appropriate because description lists "are useful for ...
15
votes
2answers
354 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). ...
2
votes
2answers
48 views
New CSS grid at 1800px
Background
We have to cater to large screens. So I created this portion of a grid system which is shown to users with screens larger than 1800px.
Solution
This grid is 1800px wide but can shrink down ...
3
votes
1answer
80 views
Correct way to center logo and navigation
I'm new to CSS and HTML and while I've achieved a centering of the logo and navigation links, it feels wrong. I'm developing a site for a small non-profit for a side project. I have a logo next to a ...
6
votes
1answer
278 views
HTML / JS Slot Machine Simulator
This code is a slot machine simulator that uses elements of both HTML and JavaScript. Please pardon the lack of comments.
...
3
votes
1answer
41 views
Validating various input HTML forms
I'm looking for a review of my code for better syntactical structure (to make sure it's more readable and legible).
...
2
votes
1answer
57 views
Guild Wars: Knights & Dragons - Version 2
I have changed a lot from my original code that I posted about a week ago, you can see that here:
Guild Wars: Knights & Dragons
Now what I need to know is if I improve this code further. Any ...
2
votes
1answer
84 views
HTML cleaner in JavaScript
Please review code quality and give me shortcuts or optimization tips as well as corrections.
...
2
votes
0answers
93 views
AngularJS with global data and “service” / using $watch on $rootScope
I am currently learning angular.js.
The following is an example I came up with. The goal:
An editor for a dict, the dict format is: {key: [type, data]}
A view of the same data
The "type" should be ...
1
vote
2answers
56 views
How to automatically insert HTML to a form and obtain the inputs?
For a form I got the markup below, it belongs to an input category and as there can be more than one insertion at it I includded an Añadir button (Add).
I give ...
3
votes
3answers
210 views
Guild Wars: Knights & Dragons
I want to improve this code to make it look more professional, be loaded quicker and make it cross-browser compatible. Do note that it is not a finished site. I want to know the best practice for ...
1
vote
0answers
49 views
HTML/CSS; Code functional, but seems bloated [closed]
I've recently tried my hand at coding a website for the first time in quite a while. It took me some doing, but I got everything working the way I want. The site is live, it works well (to my ...
0
votes
1answer
308 views
CSS and HTML5 for this fixed header on scroll
When I had to create a fixed header on scroll, I found a few examples on Stack Overflow but they were terrible in the sense that they relied on a fixed page height. Have a look at what I created which ...
1
vote
0answers
42 views
Generate HTML from JSON (most efficient way in jQuery)
I have to generate a lot of tables from different jsonfiles (up to 20 tables per page). Because it's a lot of data, I really want to keep loading speed in mind. I know it's better to use a non jQuery ...
0
votes
0answers
20 views
Carousel Liquid
I've implemented a jQuery carousel using Liquid templating that functions correctly, however, I feel the Liquid is a bit bloated. I'm looking for advice on improvement and/or alternate ...
1
vote
1answer
61 views
Extracting one table from two tables using jsoup [closed]
I would like to extract data from the table that contains "100g of broccoli" instead of extracting data from two table simultaneously. Any ideas? The website is here.
...
4
votes
1answer
37 views
Hiding and revealing toggle responds very slow
I have a list of 6 items, and each one on click reveals a div that runs 100% wide under the row of list items. The code works, but the div opens very slowly and kind of choppy. Is there anything I can ...
3
votes
2answers
104 views
0
votes
1answer
95 views
CSS Ticker Animation
I have never use css animations before, so I just want to know, is this the 'best' way to animate a Ticker? I 'best' in this case encompasses efficient and semantic use of html and css.
It's worth ...
5
votes
1answer
37 views
JavaScript scrippits
I was doing writing some various things in JavaScript and ending up writing 2 scripts that proved useful in quite a lot of my other programs and I was wondering if there was anything that I could do ...
7
votes
3answers
122 views
Most efficient way of creating a grid in HTML with CSS?
So my problem is this, I need to create a grid that in each cell there should be a 0 or a 1. These cells when clicked should toggle between 0 and 1. When hovered It should show the coordinates (ex: ...
2
votes
1answer
83 views
A better way to read text files into html?
Currently I'm making a website that has a to-do list that will probably become quite long to write in html. So I decided to make a shorter version for me to write that I find more comfortable to read.
...
7
votes
3answers
814 views
Basic webpage structure
I'm new to HTML coding and have created a basic webpage structure for a basic website with 5 pages.
Can anyone suggest any improvements that could help with the structure, layout and design for the ...
7
votes
1answer
158 views
Why is my page semantically incorrect HTML and incorrect use of CSS?
I had a task to create a responsive HTML5/CSS3 page based on PSD layout. I got rejected and when asked for details I got these comments:
semantically incorrect HTML
incorrect use of ID selectors in ...
3
votes
1answer
24 views
Should I return an object wrapped by an article tag?
Not sure if this is the right board for this topic but since it will affect my SEO i guess it's not that wrong to ask about this in here.
I just took on a website that lists some stores around your ...
1
vote
1answer
121 views
Is this a safe way to parse out HTML tag attributes?
I needed a super simple parser to get HTML attributes and their values. I didn’t want to load a big library or anything so I made this.
I realize I am making assumptions here, mainly:
Attribute ...