TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How can I make a simple interactive website with minimal experience?

13 pointsby yukistaralmost 3 years ago
Non-technical user here: I recently graduated from optometry school and would like to make a website with a few useful tools for calculating some numbers that are important in optometry. I&#x27;ve always wanted to learn how to program and I think this might be a good introduction to it. I&#x27;d like to make a simple website that takes mathematical inputs and gives outputs. I would also like it to be mobile-friendly.<p>Does anyone have any suggestions for a newbie to the tech-space or am I in way over my head? I&#x27;m asking on HN becuase there seem to be a dizzying number of ways to create a website with little experience, but it seems like everyone is just selling a product, which can be a little off-putting. I&#x27;d like to be a little more self-sufficient and learn how to do things along the way.

8 comments

ThrowITout4321almost 3 years ago
First design what the website will look like and function. This part is relatively easy for non-techs. You can do an outline of the site on paper. Things like number of pages, content for each page, layout, colors, desired function. Create as much as you can on paper. You should be able to show it to someone and that person should be able to understand how the site will work from looking at the pages you put together.<p>Get your ideas from existing pages in the web. Don&#x27;t try to create your own. Copy as much as possible from the web for your design.<p>Once you have done as much as possible on paper. Sign up on to one of the page builder sites such as square space or wix. Set up your design there. They also have the ability to create interactive pages so go thru the tutorial until you can create the interaction you want.<p>A big advantage of having a project you want to create is that you can hunt for the different tutorials on the web that will show you how to get what you need done. There are tons of tutorials on the web. Take advantage of the situation and use them.<p>There&#x27;s going to be a steep learning curb for you but it&#x27;s very doable.<p>Once done decide if you want to continue learning. At that point turn your site into html files and look for a place to host the site. Once you have a working html web site look into creating the interactive pages in javascript or php.<p>You can&#x27;t be an expert overnight but if you do it a bit at a time you can achieve a lot. Make it a hobby where you learn a little bit at a time.
评论 #31500763 未加载
f0e4c2f7almost 3 years ago
I would reccomend starting as simple as possible.<p>Based on what you&#x27;re describing you can likely create a bad looking version with html and plain JavaScript. It will look like a website from the 90s.<p>Keeping your same html and JavaScript you could then add something like bootstrap css for making it look a little more modern.<p>Using those fairly light tools you can make an entire working web page.<p>After that if you want to learn more &#x2F; make more elaborate things I would reccomend Vue. React is also good.
评论 #31499040 未加载
评论 #31499524 未加载
评论 #31499515 未加载
Leftiumalmost 3 years ago
<a href="https:&#x2F;&#x2F;eloquentjavascript.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;eloquentjavascript.net&#x2F;</a> is a great book for learning how to program (in JavaScript).<p>For your goals, you can probably just read chapters 1-3, 13-14, and 18.
cookiengineeralmost 3 years ago
In the German region selfhtml [0] was pretty common back in the days, and they meanwhile migrated all their content to a huge wiki for that very purpose. It starts from zero experience and goes over many aspects of web design up until the first CMS built in PHP.<p>Does anybody know whether something like this exists in the English language? So far I&#x27;ve seen only some bullshit &quot;let&#x27;s draw rectangles in canvas&quot; like tutorials that lead to nowhere.<p>MDN and all are great, but expect the person reading it already knowing most of how to develop for the web. Selfhtml on the other hand was targeting an audience that even doesn&#x27;t know what a text editor was, so they literally started from scratch.<p>For me, selfhtml taught me how to make a website when I was a child. It got me into web programming, and without it I would certainly not be the person who I am today. I hope that resources like this can be preserved for future generations in an easily consumable manner.<p>[0] <a href="https:&#x2F;&#x2F;wiki.selfhtml.org&#x2F;wiki&#x2F;HTML&#x2F;Tutorials&#x2F;Einstieg" rel="nofollow">https:&#x2F;&#x2F;wiki.selfhtml.org&#x2F;wiki&#x2F;HTML&#x2F;Tutorials&#x2F;Einstieg</a>
评论 #31503896 未加载
dieselgatealmost 3 years ago
You can probably find a free course on YouTube that does something similar to what you’re looking for. If you are willing to pay a little for a course then Udemy is good (courses are often on sale for around $10) Some good key words to look into may be “vanilla js”, “git”, and “heroku”.<p>Getting started is really tough and a pretty big initial barrier (and rabbit hole) is deploying your application. But once you have something actually deployed on the web it’s easier to mess around with details (and learn!). You don’t even really need “git” and “heroku” if you use a hosting provider with FTP like Dreamhost…
评论 #31498944 未加载
WalterGRalmost 3 years ago
If you want to learn programming and not a specific framework, of which there are a virtually unlimited number to choose from, I’d recommend implementing it using good ol’ basic HTML and JavaScript.<p>If you want to publish it for the world to see, you can get free web hosting all over the place. I see Neocities come up a lot on HN.<p>If not, you can literally just edit a single file - mysite.html or whatever you want to call it - using Notepad - on your computer and open it in a browser.
评论 #31498596 未加载
999900000999almost 3 years ago
How much time do you have ?<p>I imagine Vue or React would do this nicely, although I&#x27;d personally use Flutter Web.<p>Making a basic website that&#x27;s sorta ugly is easy, making it look nice is much much harder.
评论 #31498577 未加载
jbc1almost 3 years ago
This is definitely something you can do as a newbie. I&#x27;m a newbie working on my first project (well technically second but i decided the first i started was a little complex for a first) that is basically exactly what you&#x27;re trying to do. A simple webpage that does calculations based on mathematical inputs and shows the outputs.<p><a href="https:&#x2F;&#x2F;jbcoventry.github.io&#x2F;standard-drinks-calculator&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jbcoventry.github.io&#x2F;standard-drinks-calculator&#x2F;</a><p>You can see the code here:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jbcoventry&#x2F;standard-drinks-calculator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jbcoventry&#x2F;standard-drinks-calculator</a><p>My suggestion would be to install VSCode, it&#x27;s a very popular code editor so there&#x27;s lots of information on the internet about doing things with it. Then install the extension Live Server for it. This lets you have your code up on one screen or on half of your screen, a browser showing your webpage on the other, and as you make changes to your code the browser will automatically show them. I find that instant feedback really helpful.<p>As a test to make sure you&#x27;ve got it working and to quickly get some results up on the screen, feel free to copy my code and make some changes. Open three tabs in vscode, copy my html, js, and css files in to one each of them, save them all in to the same folder as index.html, script.js, and styles.css; then when you run Live Server a tab should open up in your browser that looks the same as when you open my first link except with this one you can change it.<p>For example go to line 16 in index.html and change &quot;Standard Drink Calculator&quot; to something else. When you save it you should see the heading on your page in the browser change. Then you can go in to VSCode settings and turn autosave on, and you wont even have to press save any more.<p>Then I can recommend three resources.<p>freecodecamp.org for basic structured guides that take you from having nothing to something.<p>javascript.info is a great online textbook.<p>developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web you can think of as basically your coding dictionary. If you search for a term in here you will get a page on exactly what it does.<p>Initially I think you will find searching javascript.info more useful than the mozilla docs because it fills you in with more general context. For example if you were reading my code and were all &quot;huh, what&#x27;s this addEventListener thing do&quot; and searched for it in them, the top results you would get are these:<p><a href="https:&#x2F;&#x2F;javascript.info&#x2F;introduction-browser-events" rel="nofollow">https:&#x2F;&#x2F;javascript.info&#x2F;introduction-browser-events</a><p><a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;EventTarget&#x2F;addEventListener" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;EventTarget...</a><p>I like that javascript.info starts with what events are, what you would do with them, and then moves in to why you would want addEventListener and how to use it.