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
3answers
49 views
Wikipedia Viewer
This is one of the projects on freecodecamp. I would like a review on my code. Thanks in advance.
Javascript:
...
-2
votes
0answers
13 views
White gap on right side of webpage? [on hold]
I've literally been looking for an hour now, stumbled on this site, tried a bunch of different solutions from other topics and haven't gotten anywhere. If anyone can help me out, you would be my ...
1
vote
0answers
15 views
Formatting a CHANGES text file as HTML
I have a function which is used to convert text (a CHANGES file) into HTML for reading. The function is essentially line-based: if the line is of this type, do this thing; if some other type, do that ...
0
votes
0answers
6 views
My first form in BEM style + SASS
3 days ago I have found out about the BEM schemantic. I have googled a bit and tried to do my first login form with BEM + SASS.
One problem I had, was to find correct names. However in my opinion as ...
0
votes
1answer
40 views
Easy Print PHP From Data array or objects
I have created a PHP class to print into html easily from an array or object.
Using this class, you can get rid of multiple echo blocks or ugly concatenation ...
2
votes
0answers
17 views
Stranded messaging Angular web app - main template for all views to live within
I'm making an Angular web app to solve a pain with traditional messaging my friend and I had, of sending batches of messages (on multiple different topics) to each other every few hours and not having ...
2
votes
1answer
30 views
Shortening Divs
I have a project here that looks pretty good and does exactly what I want it to do. The codepen is here. What I need to find out is if these divs that flip can be shortened in any way:
...
2
votes
2answers
40 views
Selecting one form to be visible using jQuery
I'm new to JQuery but have managed to get it working the way I want. The problem is, it's a bit convoluted and could easily get out of hand if I add more options.
I am trying to show and hide divs ...
0
votes
0answers
13 views
Refine a web page that Outputs video from my gate & keeps a log of entries [closed]
I have a remote opening front gate on my driveway that can also be opened and closed by wifi from my phone.
The whole thing is run by several Raspberry Pi's that was mostly set up by my brother when ...
4
votes
1answer
101 views
A very basic JavaScript calculator
I'm just starting out with code. I created a very basic JavaScript calculator.
While writing, I couldn't help but think that there must be easier, faster and less redundant ways to write this. For ...
1
vote
0answers
21 views
Python html Page reporter
My program, page_reporter, attempts to port scan a network and identify servers hosting web pages. From here it will create an HTML report using iframes to give you a snapshot of what the page looks ...
1
vote
0answers
11 views
Modular widget that minimizes js and css scope pollution
So, my goal with this is to create a simple login widget that does as close to nothing to the global scope as possible. The login mechanism is less important than the encapsulation. The whole script ...
0
votes
0answers
17 views
HTML page compiling LaTeX code to nice mathematics display
I have this (short) HTML page that allows the user to input his/her LaTeX code, after which it will compile the code and display the result using MathJax.
index.html:
...
3
votes
1answer
29 views
Google Maps geocoding lookup function
In an effort to keep all of the Google Maps Javascript API in it's own little world, I have created a googleMaps object that will contain all of the functions that directly make google maps webservice ...
2
votes
1answer
65 views
Graphic Ape Designs gallery website
I am currently working on my YR9 (I'm 14) IST web development project and I want to know some tricks for optimizing my website.
I know that I shouldn't have the same CSS rules in the style tag on ...
2
votes
2answers
87 views
Responsive horizontal scroll on mouse position
I am making a responsive horizontal scroll UI. The horizontal scroll position is calculated according to the mouse horizontal position:
...
1
vote
1answer
74 views
Turn script into a function which extracts the div ID and places it inside
Alright, so I've got this script which basically drains the thumbnails and streams from the twitch API/JSON.
...
4
votes
1answer
98 views
Generating an HTML table with colspan and rowspan from a one-dimensional array
I will be given the following input:
...
0
votes
1answer
60 views
Generating HTML code dynamically with jQuery
I am doing a college project and I would like to write my jQuery code following best practices.
The project involves using the jQuery .getJSON method to retrieve information from a json file.
I have ...
1
vote
0answers
35 views
jQuery placeholder plugin checking
I have been experimenting with jQuery and HTML placeholder plugin for practice work.
I've used this jQuery plugin. I've checked it in IE8 in, it seems it works.
Could you please check and write is ...
5
votes
2answers
89 views
Restrict HTML input field to decimal
I'd like to restrict user input in a form to a decimal with max two numbers before and 4 after decimal point.
Valid values would be:
50
0.1
1.23
4.5678
12.943
...
3
votes
1answer
53 views
Generating jQuery mobile “pages” dynamically
I'm doing a college assignment with jQuery Mobile and JSON. Best practice with jQuery mobile is my main concern.
My html starts off with a main 'page' (data-role="page") inside a div with ...
0
votes
1answer
22 views
Converts Units of Volume; optimization and improvement
I am creating a volume converter. It allows users to enter a value and select the unit to convert from and the one it will be converted into. It uses a ...
2
votes
2answers
50 views
Tag dependence approach
I need to add class is_active to all div's when I click on <div id="all-tags"> and remove class if I click again. Only ...
1
vote
1answer
42 views
Expanding list on webpage
The below produces the output I want. Namely, it initially displays the first item on the list and the first expander link. When an expander link is clicked, it hides that link, unhides one more item ...
1
vote
3answers
79 views
Get part of element ID
I am getting the number part of the container ID that the button is in. Now I am wondering if I need to create an array using split and then put this number in a ...
1
vote
0answers
39 views
JavaScript drag-and-drop sortable list
I made a simple list with drag and drop ordering function using JavaScript, HTML and CSS. Although I tried to do this as efficient as possible, I'm sure there are some improvements to be made.
What ...
3
votes
0answers
81 views
FizzBuzz… with style (js, jquery, html, css) (and questions…)
I discovered the FizzBuzz test while looking up something else on stackoverflow, so I decided to try it and see what I would come up with. I'm kind of new to jquery and js, so I'm looking for a ...
3
votes
0answers
48 views
Fantasy league tracker for Game of Thrones
So I've just started learning about MySQL and PHP to create a fantasy league tracker for Game of Thrones for my office. I got it to technically work fine, but I think it's way clunkier than it has to ...
0
votes
2answers
36 views
How to optimize a section in HTML/CSS [closed]
How to set in HTML/CSS a section just like in this picture https://snag.gy/mStL9H.jpg ?
I have tried something but am not sure if it's right.
...
0
votes
0answers
29 views
A wrapper around HTML file inputs
The <input type="file"> element is rendered differently by different browsers, and it's essentially impossible to directly style with CSS.
A common way ...
5
votes
3answers
70 views
Hearthstone deck list
My code will display a Hearthstone deck list.
I'm still learning HTML and I'd like help with a few things:
• How readable is my code? How can I improve readability?
• Have I used any bad practices? ...
4
votes
1answer
57 views
Selecting HTML nodes
I'm new to Clojure, and I'm writing some code that processes HTML. I'm parsing the HTML using clj-tagsoup and then trying to pull out the relevant bits with this function:
...
2
votes
1answer
63 views
Semantically structured HTML5 for a news page
I'm developing a website and I cut the images that I will use:
...
1
vote
0answers
48 views
Hearthstone mana curve Google chart
My code displays a Google chart that shows a mana curve. I'm not very experienced with Google charts, so I'd like help optimizing my code. I'd like my code to be more readable and to have fewer lines ...
3
votes
2answers
64 views
Simple function to generate an HTML-safe string
Sometimes, we have to do some fixing to insert a string into an HTML property. Or just to display it.
But not everything is safe! Consider the following example:
...
0
votes
0answers
38 views
Template for a table to display suggested pledge amounts
I am building a template that will:
need to be edited by people with minimal JS/CSS/HTML training
need to be flexible enough to accept changing text and layout need
number of rows/columns will ...
3
votes
1answer
73 views
Editing HTML based on instructions in a data structure
My getExtend() function, which will be included via require.js, has two inputs and one output:
HTML file content
config object which determine how to ...
1
vote
1answer
39 views
Custom form validation using jQuery
Recently I have been doing a bit of work with Contact Form 7 and Wordpress. I've begun looking at form validation using ...
4
votes
2answers
98 views
Parse HTML to modify it
I'm using the following code to parse html, This code is working but since I'm new to JavaScript and working in alone project I would appreciate if you can give me some tips and feedback how can I ...
4
votes
2answers
29 views
Window-size-dependent content toggler for an HTML form
I had to build a responsive component which allows the user to display specific content in a page. I called it the contentToggler.
Here is my component in action
...
0
votes
2answers
50 views
3
votes
1answer
79 views
CSS3 Dropdown Menu (touch device or mouse compatible)
If you'd like the files: https://github.com/agraymd/Animated-Profile-Menu
Working Demo: http://jsfiddle.net/tddfevhv/1/
This may be rather basic, but I wanted to experiment and learn with some of ...
3
votes
1answer
87 views
Sudoku solver in JavaScript
I decided to learn JavaScript and what better way than wrestling with a Sudoku solver. I'm guessing there are (many?) optimizations that I missed. I'm thinking of adding a generator also, but this for ...
0
votes
0answers
26 views
Running actions on button click
If the user clicks a button, I need to run the following actions:
Show and hide div
Add and remove attributes
Add and remove CSS class
We archive the same but I'm not sure this is the correct ...
3
votes
0answers
27 views
WAI-ARIA and Pagination
I would like to get some advice on WAI-ARIA markup I have added to my paginated post navigation.
Does this look correct, am I missing anything?
Should anything be added/removed to the current page ...
5
votes
3answers
86 views
Fancy checkbox for web pages
I just finished creating a fancy checkbox and am hoping for some tips to help improve my code, as I am still learning.
...
0
votes
0answers
39 views
User management library after hard reject on Codecanyon
I spent 2 months working on a user management library, with the intention of selling it on Codecanyon (I've never sold anything there before).
On Codecanyon, there's a screening process for ...
1
vote
0answers
23 views
Make jquery pagination more efficient
I am trying to create pagination with pure PHP and jquery. I have done this and it works exactly how I want it to work. Essentially I get all products from my database using PHP.
I then populate the ...
0
votes
1answer
37 views
Is my code correct?
I need to do a card for showing some data. I had some problems with the blue left box on the left side, and to add custom paddings. It think I can add padding with a more simple way, but I don't know ...