AI can write code, but the magic of a first project is unmatched! ๐ฝ
Sแดแดสโญ on November 11, 2026
Namaste dev community! ๐
Today, Iโm sharing a very special project of mine. It's a web page featuring all the states of India.
Before you dive int...
very good start star!!!
that's nice bharat darshan ๐ฅ๐ฅ
to make it look more better can you add a india's map and when we click a state suppose assam or punjab etc then the map highlights that particular state and in that 3-4 small points shows up and if we hover cursor over it or click it then that point show the famous tourist place of that like golden temple of punjab
you understand?
๐ random uncles advise lol never mind if you think it is good then apply it. if not then you can ignore :)
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
Thanks bro โญ Your suggestion is really good. Thank you so much! But I was already thinking about something like this. Unfortunately, my phone with just 2GB RAM refused to cooperate.
เชฎเชพเชฐเชพ เชชเชชเซเชชเชพ เชเชนเซ เชเซ เชเซ เชเซเชฏเชพเชฐเซ เชนเซเช 11 เชตเชฐเซเชทเชจเซ เชฅเช เชเชเชถ, เชคเซเชฏเชพเชฐเซ เชคเซเช เชฎเชจเซ เชฒเซเชชเชเซเชช เช เชชเชพเชตเชถเซ.
But bro, I still have to wait another 1.5 years! ๐
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
Building your first project while still learning is a big deal, and every first project has bugs. I like that you included all 36 states and UTs with a dropdown to jump between them.
One small tip from me: try to avoid using AI for now and focus on getting the basics of HTML, CSS and JavaScript really solid first. When you write and fix things yourself, it sticks so much better. Once you understand the foundations, AI becomes a really helpful tool because youโll know when its code is right or wrong.
How is your studying going so far? And did you find the w3schools to be helpful?
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
Thanks! I used AI a little for research to find information about the states and other details, but I wrote all the code myself.
And yeah, W3Schools is really helpful. Its online editor is also pretty cool! I'm learning from YouTube too.
Thanks for your support, ma'am! โค๏ธ
Thatโs great, writing all the code yourself is the best way to really learn. Using AI to look up information is fine too, itโs just another research tool.
W3Schools and YouTube are a good combo. When you want something more, try freeCodeCamp. Itโs free and you build small projects step by step.
A fun next step for this project could be adding a search box so people can type a stateโs name and find it quickly. Itโs great JavaScript practice. Keep sharing what you build, Iโd love to see your next project!
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
Congratulation for you first project seems at least usefull for me at least, because I have so many indian collegue, but I don't know anything India region. ๐
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
Congratulation for your first project star. Honestly, the first project is never about perfection; it's about taking that first step from being a consumer of technology to becoming a creator. AI can certainly speed up development, but understanding why something works, debugging it, and making your own decisions is what builds a developer.
Keep building, keep experimenting, and most importantly, don't let the fear of imperfect code stop you. Every experienced developer once had a first project. Looking forward to seeing what you build next! ๐
One suggestion for improvement: When someone clicks the HUD Fact button, instead of displaying the fact at the bottom of the page, consider showing it in a small, centered popup or modal.
You could also make it more interactive by maintaining a collection of facts, almost like a mini-dictionary. Every time someone clicks the button, a random fact appears in the popup.
This would make the experience more engaging and give users something new to discover with every click!
Here's a simple JavaScript implementation:
<buttonid="hudFact">HUD Fact</button><divid="factPopup"class="popup"><pid="factText"></p><buttononclick="showRandomFact()">Next Fact</button><buttononclick="closePopup()">Close</button></div><style>.popup{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:white;color:#222;padding:24px;border-radius:12px;box-shadow:05px25px#0004;width:280px;z-index:1000;text-align:center;}</style><script>constfacts=["India has 28 states and 8 Union Territories.","Rajasthan is India's largest state by area.","The Indian national emblem is adapted from the Lion Capital of Ashoka.","India has one of the world's largest railway networks."];constpopup=document.getElementById("factPopup");document.getElementById("hudFact").onclick=()=>{popup.style.display="block";showRandomFact();};functionshowRandomFact(){constfact=facts[Math.floor(Math.random()*facts.length)];document.getElementById("factText").textContent=fact;}functionclosePopup(){popup.style.display="none";}</script>
Just an idea to make an already interesting first project even more interactive. Keep building! ๐.
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
People start coding when they reach college and till the final year, they get very less time to learn fundamentals fully.
Its a really good thing that you are starting at a young age.
You have a lot of time, so take your time, explore the field and learn the fundamentals well!
Happy coding ๐
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
I actually think this is really cool, especially for a first project. ๐
You already have a lot of important UI basics in there: dropdowns, tabs, cards, toasts, responsive behavior, and more.
And I really like the hover effects too. They make the page feel much more alive. ๐โจ
I honestly didnโt know much about Indiaโs different states before, but the โHUD FACTโ sections made me want to explore and learn a little more.
Most importantly, you can really feel how much you care about your country through the project. ๐
I think this is a great first project, and Iโm looking forward to seeing what you build next! ๐ธ๐
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
Hey, I'm Hema ๐
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
AI testing storyteller. Writing the 36 Stratagems series โ ancient Chinese military tactics meet modern AI system meltdowns. 16yr QA โ building AI test framework.
JavaScript enthusiast with a growing passion for Python. I love exploring the world of programming, experimenting with code, and discovering new ways to turn ideas into reality.
very good start star!!!
that's nice bharat darshan ๐ฅ๐ฅ
to make it look more better can you add a india's map and when we click a state suppose assam or punjab etc then the map highlights that particular state and in that 3-4 small points shows up and if we hover cursor over it or click it then that point show the famous tourist place of that like golden temple of punjab
you understand?
๐ random uncles advise lol never mind if you think it is good then apply it. if not then you can ignore :)
Thanks bro โญ Your suggestion is really good. Thank you so much! But I was already thinking about something like this. Unfortunately, my phone with just 2GB RAM refused to cooperate.
เชฎเชพเชฐเชพ เชชเชชเซเชชเชพ เชเชนเซ เชเซ เชเซ เชเซเชฏเชพเชฐเซ เชนเซเช 11 เชตเชฐเซเชทเชจเซ เชฅเช เชเชเชถ, เชคเซเชฏเชพเชฐเซ เชคเซเช เชฎเชจเซ เชฒเซเชชเชเซเชช เช เชชเชพเชตเชถเซ.
But bro, I still have to wait another 1.5 years! ๐
hmm, you do these in that mobile? hand's off to you
hmm 1.5 years is a waste of time actually, okay I will try to find a solution for you.
@star123 you've a pull request check out github accept it only when you really like it.
Thanks Anmol sir!๐ฝ
woah woah who I feel after being called as sir
but no need we've just 3years age gap
Building your first project while still learning is a big deal, and every first project has bugs. I like that you included all 36 states and UTs with a dropdown to jump between them.
One small tip from me: try to avoid using AI for now and focus on getting the basics of HTML, CSS and JavaScript really solid first. When you write and fix things yourself, it sticks so much better. Once you understand the foundations, AI becomes a really helpful tool because youโll know when its code is right or wrong.
How is your studying going so far? And did you find the w3schools to be helpful?
Thanks! I used AI a little for research to find information about the states and other details, but I wrote all the code myself.
And yeah, W3Schools is really helpful. Its online editor is also pretty cool! I'm learning from YouTube too.
Thanks for your support, ma'am! โค๏ธ
Thatโs great, writing all the code yourself is the best way to really learn. Using AI to look up information is fine too, itโs just another research tool.
W3Schools and YouTube are a good combo. When you want something more, try freeCodeCamp. Itโs free and you build small projects step by step.
A fun next step for this project could be adding a search box so people can type a stateโs name and find it quickly. Itโs great JavaScript practice. Keep sharing what you build, Iโd love to see your next project!
Yeah for sure!!๐
Congratulation for you first project seems at least usefull for me at least, because I have so many indian collegue, but I don't know anything India region. ๐
Thanks sir! ๐
Congratulation for your first project star. Honestly, the first project is never about perfection; it's about taking that first step from being a consumer of technology to becoming a creator. AI can certainly speed up development, but understanding why something works, debugging it, and making your own decisions is what builds a developer.
Keep building, keep experimenting, and most importantly, don't let the fear of imperfect code stop you. Every experienced developer once had a first project. Looking forward to seeing what you build next! ๐
One suggestion for improvement: When someone clicks the HUD Fact button, instead of displaying the fact at the bottom of the page, consider showing it in a small, centered popup or modal.
You could also make it more interactive by maintaining a collection of facts, almost like a mini-dictionary. Every time someone clicks the button, a random fact appears in the popup.
This would make the experience more engaging and give users something new to discover with every click!
Here's a simple JavaScript implementation:
Just an idea to make an already interesting first project even more interactive. Keep building! ๐.
Thanks for the help bro!๐
๐๐
People start coding when they reach college and till the final year, they get very less time to learn fundamentals fully.
Its a really good thing that you are starting at a young age.
You have a lot of time, so take your time, explore the field and learn the fundamentals well!
Happy coding ๐
Yeah bro !๐ฝโญ Thanks โค๏ธ๐ฅฐ
Not cool? No way! ๐ธ
I actually think this is really cool, especially for a first project. ๐
You already have a lot of important UI basics in there: dropdowns, tabs, cards, toasts, responsive behavior, and more.
And I really like the hover effects too. They make the page feel much more alive. ๐โจ
I honestly didnโt know much about Indiaโs different states before, but the โHUD FACTโ sections made me want to explore and learn a little more.
Most importantly, you can really feel how much you care about your country through the project. ๐
I think this is a great first project, and Iโm looking forward to seeing what you build next! ๐ธ๐
Thanks so much!!!!!!!!!!!!!!!!!!!!๐ฝ๐ฅฐโค๏ธโญ๐
Good work!
Thanks sir โญ๐ฝ
Nice design!
Thanks you sir๐ฝ
Very good @star123 . The Styling looks really nine and so does the layout. The site is also very interactive which is something I love to see.
Thanks!!!!!!!๐
Any time.
Congratulations on your first project, Tara โค๏ธ Hoping to see many more projects from you. All the best, and keep going ๐
Thanks didi๐
Well done! ๐ฏ
Congrats on your first project! Iโm looking forward to lots more awesome work and articles from you, hahaha ๐
Thanks Sir ๐