Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@devTea Oh no I love Javascript, it was easy for me to pickup. It's freaking HTML with it's lack of syntax rules, lack of semicolons, and no brackets that just makes my skin crawl. :P
-
@lucaspar Already using bootstrap with Angular in node.js. I just get nervous with HTML for some bizarre reason. Is there an easy way you can see the web template of HTML before committing or am I stuck in saving->refreshing?
-
@starrynights89 the templating engines I mentioned are different from Bootstrap. Take a look at Pug ( pugjs.org ). It integrates nicely with JS projects and it looks clean, unlike HTML.
-
@starrynights89 HTML is your friend to build the structure of your beautiful application. It just needs you to open its tag and close it, so it doesn't break. If you are using Bootstrap, check their documents and see how they built the elements and try to do like it. Moreover, since you are working with Bootstrap and angular, did you try Ng-Bootstrap. its Bootstrap for angular, has a small nice documentation that will cover your needs.
For seeing your changes before committing, I am not sure if you IDE have live preview. -
@lucaspar Yes, I do like writing UI in JavaScript over HTML, but at some point you do have to work with it. I'm trying to expand my horizons beyond my comfort zone you see. :)
-
@starrynights89 right. Pug is neither HTML nor JS though. And you don't have to close tags :)
-
@FahadAlt I'm using IntelliJ Ultimate so I'm pretty sure it has that feature, I just prefer to work with a text editor for simple HTML/Javascript, less bloat and all. I do default to my IDE when I need to do serious debugging or get lost. Mostly the latter. :P
Related Rants
Sometimes comments are the only defense between me and completely fucking up my HTML editing. Front-end is scary. 😰ðŸ˜ðŸ˜¢
rant
html
or java
i want to work in javascript