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).
1,680
questions
1
vote
1answer
20 views
HTML CSS 2 columns project
Goal
I am aiming to create a page with two columns, left side to be a summary section and the right side just an image.
I'd like to hear some reviews to where I can improve my current html and css ...
5
votes
2answers
39 views
Basic in-browser rock paper scissors
I'm currently going through The Odin Project, in an attempt to learn some Javascript. I'm a junior in a CS program, and I realize that I am not very good at programming, but I want to change that.
I ...
-3
votes
0answers
15 views
Website SEO Optimization [closed]
I have developed website for one company and it is working good for year but my SEO is problem.
Products are not displayed on first page of google and for same keyword other sites are simple wordpress ...
0
votes
1answer
40 views
Vanilla JS Complex TO DO List application
Hello I've created to do app with some additional functionality.
Since I am new in JS I would love some feedback if you guys could point out some obvious mistakes/good practices/better solutions or ...
4
votes
2answers
112 views
Project builder Google Chrome Extension
In the process of learning JavaScript, I built a Google Chrome extension. It works but as I am adding more features the code is quickly getting duplicated, so I'm looking for ways to improve it.
This ...
4
votes
3answers
202 views
PHP comment system
Basics
I created a simple comment system. My goal was it to create a system that can easily be used on everyone's server without having to install a load of programs. I also tried to create it as ...
2
votes
2answers
79 views
Dynamically displaying or hiding checkboxes based on region selection country. Also select All / None included
This is basically my first real venture into JS coding ... I think what I have put together here is quite long-winded and could be streamlined but I'm not quite sure how.
I have a table with Columns &...
1
vote
0answers
28 views
Creating Multiple Carousels by storing them in an Array with JavaScript
I created a code where I can add multiple carousels to a page. I did this by storing the carousel in an array and accessing it by clicking on the previous/next arrows.
I was trying to prevent any ...
2
votes
0answers
28 views
Travel agent website
I've created a travel agent website, I would like to know how can I improve, DRY my code and how to increase performance - I tinified img's but the bottom one I've made in PS takes much time to load.
...
0
votes
1answer
38 views
Christmas tree made up only with HTML and CSS
I've created a Christmas tree using only HTML and CSS. It's pretty sure that the code can be written in a more efficient way. Also, the lights are turning on and off at the same time, is there a way ...
2
votes
2answers
33 views
A Simple Media Generator with Directional Control
My goal was to have a single page display bulk amounts of media without the need to load new pages. I also wanted it to be able to load fast, so the generator uses a JavaScript array to display one ...
1
vote
1answer
74 views
Recieving an XSS Injection: <script>alert('xssvuln');</script>
I would very much appreciate it if someone could review the php script below for any security risks.
I have a live website using shared hosting. There's a page that accepts text submissions from users....
6
votes
1answer
104 views
Tic-Tac-Toe Game vanilla JS/CSS
I am practically brand new to coding and this is my first "real" project I've been attempting. It's an attempt at a vanilla JS game with selectable layout and win conditions (partially ...
2
votes
1answer
58 views
Avoid global variable for callback function called by function with no arguments
My website has multiple pages that use the Google Maps api. Each page uses a different part of the api (e.g. autocomplete, displaying markers etc). However, every page needs to call the initMap() ...
3
votes
1answer
32 views
Javascript + html: Simple Note App
I created a simple note-taking application, which enables a user to create notes, update them, and delete them. I used local storage for saving the notes. Would Appreciate some feedback on how to ...
3
votes
1answer
21 views
Better way to work with clickable regions of window
The Goal
Basically, what I'm looking for is the ability to click a region below an image to trigger a click() event which will scroll the window to the following ...
1
vote
1answer
104 views
Hover on bootstrap card overlay
Just created an overlay on hover following a Youtube tutorial - but I adjusted some css to make it responsive.
I'd like to hear hear some reviews or suggestions where I can improve.
...
0
votes
0answers
33 views
Best practice for multiple conditional HTML options with similar code blocks
So I'm pretty new to HTML/Angular and frontend tech in general. I'll include my code below, but as you'll see there's a LOT of commonality between the switch cases, what I'd like to try do is have ...
5
votes
3answers
3k views
Showing “open” or “closed” based on the current time
I'm using this code to have a site show either "Open" or "Closed" depending on what the current time is.
I'm a junior developer and I want to show this to my boss but one of the ...
2
votes
1answer
42 views
Validation Form
Created a validation form in vanilla JS. Due to my little experience, I have a bunch of "if" here, I can not transfer the coordinates of Yandex.Maps to another function for validation, and ...
2
votes
3answers
47 views
Task-list app, which allows to add and remove tasks from list
I wrote my first web app. Please let me know what I should improve. I want to write as clean code as possible.
App is about adding and removing tasks from list. Backend is written in Django, frontend ...
5
votes
2answers
54 views
Feedback on date and time selector script
I created a JS script for a friend's website to allow the visitors to choose the date and time of their delivery.
I'm new in web-development and I will appreciate a feedback from professionals like ...
4
votes
0answers
35 views
Creating a basic table with CSS grid
Trying to improve my HTML and CSS.
Creating a Basic Table using CSS grid, to match as closely to this image:
Please ignore the color red and green in the rows and Some rows are missing since it was ...
-4
votes
1answer
66 views
A calculator in JavaScript
I made a calculator in JavaScript. Now, I want to rename my functions, variables, and input names. But I don't know how.
Here is my codes:
...
2
votes
2answers
148 views
A snake game in HTML/CSS/JavaScript
I made a snake game in HTML/CSS/JavaScript. I want to make my code better and shorter.
Here is my codes:
index.html:
...
0
votes
2answers
27 views
Template file for creating formatted webpages
This is my working template file which I manually edit to create new properly formatted webpages for my personal website.
I am interested in what advantages if any could be realized by placing the CSS ...
1
vote
1answer
50 views
Cleaning up the code of a C++-based Personal Web Page Generator
I have tried to implement the following challenge:
Personal Web Page Generator
Write a program that asks the user for his or her name, then asks the user to enter a sentence that describes himself or ...
2
votes
1answer
32 views
Single price grid component (HTML & CSS Project)
I would appreciate some feedback on this single price grid component project completed using HTML and CSS.
I am trying to recreate the content shown by this image: https://res.cloudinary.com/...
4
votes
1answer
177 views
Displaying Media with HTML and JavaScript
I have a personal website that I use to share videos and images with friends. Below is a media generator using JavaScript and HTML. Its main purpose is to display one image at a time at the click of a ...
3
votes
2answers
45 views
JavaScript function that reuses a modal for adding, deleting, and viewing an item
I have a table that has buttons per row that makes views/edit an item in a modal and they have a layout like so:
...
6
votes
2answers
124 views
My version of hangman game
Hello this is one of my learning purposes projects, a little bit modified version of a popular game called Hangman.
I am a beginner so if you guys could point out some obvious mistakes/good practices/...
7
votes
1answer
3k views
Get checkbox value of unchecked checkboxes in a table
I have a table where a user can (un)check checkboxes among other features in each row.
I faced the problem that I don't receive unchecked checkboxes to my backend.
This led to a bigger issue since ...
4
votes
1answer
126 views
Conway's Game of Life - Javascript
Conway's Game of Life
Conway's Game of Life is a mathematical game invented by English Mathematician John Horton Conway. The game is based on the theory of cellular automatons. It is a so-called zero-...
8
votes
3answers
789 views
Reorganizing unorthodox PHP phone book project
I've been learning PHP and I've created a phone book webpage as an exercise. I am satisfied with the way it works -- it seems to handle all possible input cases correctly, and the interface feels nice ...
1
vote
1answer
39 views
My Javascript form validation
Hello today after few weeks of learning I tried some form validation.
I am wondering how I could improve my code and what things I missed.
Here is a preview hosted on github + repository.
And here is ...
6
votes
2answers
80 views
Type ahead in JS
I've been following Wes Bos challenge, I wrote the code myself then looked at his finished example.
Here's my code (I only wrote the JS):
...
8
votes
2answers
224 views
Flex panels in CSS and JS
I was following Wes Bos JS 30-day challenge, so HTML and CSS are mostly are copy-paste,
I'd like feedback on JS (mostly).
Thanks.
...
2
votes
1answer
145 views
Personal Portfolio (freeCodeCamp Responsive Web Design project)
I would appreciate som feedback on my fictional portfolio. I am doing the freeCodeCamp curriculum and a personal portfolio is one of the Responsive Web Design Projects using only HTML/CSS.
I am ...
10
votes
2answers
104 views
User-focused timeline logging
I'm working on a small piece of my personal website. I'd like a timeline logging all of my relevant achievements in my career in Computer Science, in general. I'd like to implement a feature that ...
7
votes
2answers
122 views
JavaScript Tic Tac Toe implementation
I've been trying to get into web development, so I made a quick Tic Tac Toe implementation. It feels messy to me, but I'm not sure what is really considered to be good practice and what not. Any poor ...
8
votes
2answers
351 views
RGB <-> HSL converter + hue shifting
My input is basically a .png image from the img/ directory (I figured out that I should parse it, because there is an exploit ...
3
votes
1answer
51 views
Iterate through multiple elements with different IDs in jQuery
I'm very new to jQuery and I managed to make this code work but I'm pretty sure that it could be made in a more efficient way. For example, it should be a way to send the id as a parameter instead of ...
8
votes
3answers
608 views
Error solution: Uncaught TypeError
Uncaught TypeError: document.getElementById(...) is null
I have a single JavaScript file that is connected to multiple pages. The below snippet is a function that is used for a single page. The above ...
5
votes
1answer
62 views
Children's Mini Game Handy-Eye Coordination
This is a game for children 3years+ to learn Hand-Eye Coordination with Mouse Movement.
Goal is to catch all dinosaurs in the jungle, get the egg reward and then repeat the game.
I tried to add sounds ...
7
votes
2answers
256 views
Animated Calendar using HTML + CSS + JS
I'm a beginner developer and I'm building a calendar for smartphones. I'm using HTML, CSS and JS. I'm not entirely done with the project yet, however, I have the feeling that I'm making a messy code. ...
2
votes
1answer
62 views
Infinite Slider Conversion to Prototype
I've found the following example of an infinite slider to use on a project but as I will have multiple instances I have converted it to a prototype.
The original example
https://medium.com/@...
3
votes
3answers
143 views
3
votes
1answer
238 views
Sanitizing user form input in php
Security threats in mind:
SQL Injections!!! --- Solutions: Prepared Statements (PDO) and including
$bpdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false); in ...
4
votes
2answers
80 views
PHP Email List Sign Up
See my original post: here.
I have one html page and four php files that allow users to sign up for an email list. One of the php scripts is a cronjob that deletes unverified rows older than 24 hours, ...
3
votes
1answer
64 views
rename .html file from <title> tag with python
I have many html files saved to my computer.they have same tags like this: Rpi-Cam-Web-Interface- Page 2 - forum
and the page number changes
I want to rename file ...