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
0
votes
0answers
19 views

Suggestions on how to upgrade HTML and CSS making a hamburger icon that transitions to "X" in the code below?

I'm interested in how I can improve my HTML and CSS? I didn't yet learn JS, even though I used it for onclick function, so I'm not currently interested in how to improve the JS in this code. I was ...
3
votes
4answers
431 views

Generate HTML select tag and options using a text file having list of countries

The code below will generate an HTML select tag and options using a text file having list of countries. If the file doesn't exist or contains only empty / white space lines then generate an input box ...
-2
votes
0answers
70 views

Is there a way to write this better?

All 3 ids are basically the same button but different divs, but I had to rename them to accomplish what I was looking for. Is there a way to write this better? Any help is much appreciated. ...
1
vote
1answer
31 views

React - Component rendering weather data

Background: Hello, I'm a student (since 2 months) and I've created a small MVP of a weather application. So now I'm refactoring my code because it looks hideous and it is hard to work with. The ...
2
votes
0answers
36 views

Simple Markdown Blog

this is my first real website I created after learning about web development. It's amazing to me that anyone would spare their free time to code review strangers' code. So thank you in advance. I'd ...
0
votes
0answers
39 views

Creation of a header file

So I've created this Header to include in all my PHP files, and think everything works as it should for now. But since it's the first time I'm creating one, I wanted to have it reviewed just to learn ...
3
votes
1answer
42 views

Simple button webcomponent

I'm starting out on a project that will standardise some increasingly complex webcomponents. In a final version the goal is to support multiple different design systems (as the components might be ...
0
votes
0answers
13 views

validating start and end year with return statement

I have done some validation in the following code and wanted to know if that's the correct way to go about it. The validation is related to start year and ...
1
vote
0answers
28 views

Changing game mode in Tic Tac Toe [The Odin Project] [closed]

I'm posting this here mostly as I posted it over at stackoverflow because the user that answered me recommended it: I'm learning to code with The Odin Project. So far, I've been doing every project ...
2
votes
1answer
47 views
1
vote
0answers
38 views

Chess quiz web site

I'm working on a personal project to build a website that quizzes users on chess opening theory moves. I know my code is not very object-oriented but I am working on refactoring it right now. I just ...
2
votes
0answers
15 views

Word Matching Exercise Game

I have a simple program that matches words with descriptions. The program should do the following. Allow a user to enter a set of inputs: keys and descriptions. When the user clicks generate html a ...
1
vote
0answers
13 views

Here's my attempt at a Volumetric Weight Calculator (in cm). How did I do?

So, I've written this small calculator for computing the volumetric weight of a parcel. I've been trying to kick some bad habits to the kerb lately so I was wondering if I could get a code review. ...
0
votes
0answers
18 views

Weather status on dashboard design

So I've made a dashboard, and I have alot of colors / icons on this page. One of the things I wanted to get some others view on was the design I've choosen. I use bootstrap background colors: ...
0
votes
0answers
17 views

Simple flex-based design for automotive sales platform in HTML5

This is my code for a simple used car sales platform, with flex used for the DIVs: https://jsfiddle.net/m56npe32/ I am looking for constructive criticism on how to improve the design, as the entire ...
2
votes
2answers
86 views

A circle in a circle

Just experimenting some things with css, I made a centered circle div (inner) which is inside a circle div (outer). ...
3
votes
1answer
43 views

Simple Vanilla JS Todo app

I'm a Kotlin engineer looking to get into web dev. I thought it'd be fun to make a Todo app w/o help from the internet. Just looking for some critiques and feedback, as I'm new-ish to the language. ...
4
votes
1answer
84 views

Reduce multiple re rendering of components in React

Following is my working application that contains a Search Container, a Sorting Container and a listing Container. Based on Search and Sort the listing data changes in the listing container. The ...
0
votes
0answers
40 views

Havin fun with Javascript: rodioning.js

I have this page. I wish to hear comments on how to make it more idiomatic, for the most part. The code follows: ...
-1
votes
1answer
32 views

PHP processed, HTML-CSS, CMS-agnostic, contact now panel

I develop a CMS-agnostic PHP formatted HTML-CSS "contact now" panel, sticky in the bottom of a website screen. The code is tested and works as can be seen from the following image. I ask a ...
2
votes
0answers
36 views

JS icons animation

I've written a simple JS that takes care to animate an icon. At first I wrote it quickly and without paying attention to any kind of optimization: ...
4
votes
3answers
106 views

Creating a binary word search 🔍

I recently crafted a binary word search puzzle using HTML, CSS and JavaScript to dynamically build grids within a grid: ...
1
vote
1answer
24 views

Output results of a search for usage of a pardot-form

I'm always down to learn better ways of doing thing and I wanted to see if I can get an input from the community to see if there is a way that I can improve this function: ...
0
votes
0answers
38 views

Calculator with vanilla procedural JavaScript

I am doing a project for a calculator in JavaScript. Here is the project GitHub page: https://github.com/florinpop17/app-ideas/blob/master/Projects/1-Beginner/Calculator-App.md Demo: https://...
0
votes
0answers
13 views

Set cookie once modal opens on page scroll

So I am still learning a lot of things and wanted to see if someone wanted to look over my code and tell me if there are ways to improve things and maybe make the code a little cleaner. Here is what ...
6
votes
2answers
99 views

Calculator with JavaScript

I've just created a fully working calculator for my portfolio, and I would like to get a code review. Does that code looks good, or maybe I should refactor it? Is it good enough to be a part of a ...
0
votes
0answers
18 views

Skill section with flexbox and javascript. Clicking on certain skill will change the summary

It's the first thing I've created using flexbox and Javascript so I feel like my code could probably improve a lot. Any feedback would be greatly appreciated! https://codepen.io/dee91/pen/jOwbQmd html:...
1
vote
0answers
7 views

Reusable/extensible deisgn of toggle to be used for switching dark mode on/off

I though of defining the following module that I could use to govern the dark mode on/off on a website. Probably I would use it only for that in the whole page, but in the case I don't (i.e. I end up ...
1
vote
1answer
75 views

Detecting supported browsers in ASP.NET MVC (Server side vs. Client side)

I want to check client's browser version, and if it's too old, display a message that the user should update their browser in order to use the website. The website is built using ASP.NET MVC. I have ...
1
vote
1answer
48 views

Best way to make a scroll top/bottom button

So I've made a button in the right-bottom corner of my HTML-page, but I was wondering since it's the first time I've made this, if there is another better way to do this, or if you guys can see ...
0
votes
1answer
34 views

HTML table with repeatable rows and live-calculated column totals with row grouping indication

I created a quick "demonstration of proposal behavior" tool for my post on MSO: A proposal to put ALL answerers on a path to curating better content. Because I have never asked for a review ...
4
votes
0answers
55 views

Find and replace text in a webpage with JavaScript

I am new to web development and would like to get feedback on a JavaScript library that automatically finds and replaces text on a webpage using the MutationObserver interface. EDIT: Seeing that this ...
2
votes
1answer
70 views

Randomly place Divs on webpage and make sure they don't overlap

Currently I am working on a project for which I want to have the different links (div elements) placed randomly on my webpage. To accomplish this, I first generate a set of coordinates and later check ...
0
votes
2answers
61 views

Portfolio Website Responsive Design

I'm a new developer just starting out learning HTML5, CSS3 and JavaScript. Below is my attempt at building a portfolio website. I am finding it difficult getting my site to respond better when ...
3
votes
1answer
48 views

Javascript Word Vectors Demo

This is my WIP attempt at an open-source web demo for exploring word vectors as part of my research. The functionality will be explained separately from the site. It is also my first time using HTML, ...
2
votes
2answers
113 views

A better way to extract COVID data from Worldometers

I was trying to fetch some data (daily new cases and daily new deaths) from Worldometers and I came up with this: ...
2
votes
1answer
31 views

developer portfolio website

I'm a new developer just starting out learning HTML, css and JavaScript. Below is my attempt at building a portfolio website. I am finding it difficult positioning elements the way I want to and ...
0
votes
0answers
49 views

displaying contents from CSV files in an HTML table

I'm pretty new to programming and shell and I'm not having any issue with the script below; it's working perfectly but I want to know if I can do better. I'm inserting the content of some CSV files (<...
1
vote
1answer
59 views

Hidden html elements after search click

I want to: Hide areas of my template after search click. Return its original state with the cleaning of the input related to each button. I don't know if my code exploits all the resources of ...
-1
votes
1answer
40 views

Is there a correct way to do this layout in HTML/CSS

I am new to web development and I am making a small "About Me" website using html/css . I managed to do this layout : https://imgur.com/a/Kb0xPQA Although it did the job done, I am just ...
2
votes
2answers
71 views

JS script fetching GitHub API for personal website

I've built a very simple personal website, everything is in a single file because it is very straightforward, but I think the JS script could be better structured. All it does is fetch some repos from ...
1
vote
1answer
86 views

list of games to open radar match in iframe on for drop-down controls

In general my page is slow and has several points in the code that I believe can be improved, even in relation to the structure used. Anyway, the biggest problem is: The page I'm creating is very ...
2
votes
1answer
33 views

HTML page with mental health tips

...
0
votes
1answer
25 views

Appending script from within function to header [closed]

I'm attempting to import an external script into an HTML file. The name of the js file that I want to import is hosted in a SQL database. Therefore, I am using a XMLHttpRequest to access the SQL ...
1
vote
0answers
30 views

Synchronizing clients in javascript without my own backend

Warning: sound (not loud, and volume is set to 0.5 in the code) My goal here is to get anyone who enters the webpage synchronized as well as possible. Say there's some global clock. Since Javascript's ...
1
vote
0answers
40 views

Product Landing Page

I think I went overkill with trying to learn new ways to do the same thing, and this is as most as I could replicate the website from freecodecamp. I'd like advice on ways to do the same things in ...
0
votes
0answers
42 views

Math Text in Racket Scribble

I love the self-completion environment of Racket language. I tried to write some Mathematical text by Racket Scribble. I thought that Scribble's output was verbose or roundabout, but I could reduce my ...
3
votes
1answer
78 views

HTML Paragraph Identifier

I have various texts that are inconsistent in how paragraphs are formatted. Some texts use the <P> </P> tags to specify a paragraph, while others use ...
2
votes
1answer
51 views

Using CSS, surely there is a better way to write this Flex code?

I needed some help with Flex. I am trying to achieve something like this using flex but I cant seem to align all the items to the left for both. The code I provided below works just fine, but I'm sure ...
-2
votes
1answer
39 views

PHP binding data in stored procedure [closed]

I'm using this kind of data binding in PHP, is it safe? ...

1
2 3 4 5
36