r/css • u/Stompya • Oct 17 '20
Does anyone use a spreadsheet to write and organize their CSS?
6
Oct 17 '20
Some people need to chill out and recognise people make mistakes and are not always perfect. To the OP, you would be better suited using an IDE such as VS Code, Atom or Sublime. This will give you all the features you talk about the excel sheet gives you and more while also allow you to make changes and develop without having copies
11
u/Stompya Oct 17 '20
Thank you. I am apparently an idiot, but I’ve been using a site designer that isn’t very user-friendly when it comes to coding. It allows for custom CSS and HTML through a basic text input so I’ve been teaching myself how it works in bits and pieces.
I have used the W3schools page a fair bit although it’s obviously not meant as a primary building tool. I found another website or two with live previews that I found a bit awkward and I just had this idea the other day. I thought I’d ask and now I know about Visual Studio Code which I had never heard of.
So - despite the abuse, and I admit to experts the above might look silly, I got some useful info. I can handle a few downvotes along the way - but thanks to you for being kind.
7
Oct 17 '20
You don't deserve the abuse though, people learn in many different ways and people need to remember this
4
u/halfTheFn Oct 17 '20
Even when you've been doing it for years - you don't know exactly what to ask about what you didn't know until after you understand it - then all becomes clear.
My boss always says, "Make something happen!" - Doing it the "wrong way" but getting it to work is better than letting looking for the right way prevent you from moving. :-)
Good for you for putting yourself out there. The internet can be a harsh reviewer. But yeah, use VS Code.
2
u/diet103 Oct 17 '20
I'm glad you posted this because we've all been there of doing something in a really terrible way because we didn't have anyone there to tell us otherwise. Use something like codesandbox.io for live preview. Please avoid those site designers if you actually want to learn! I highly recommend finding some good youtube videos on html, css, and is. That way you can see what their process is, what tools they use and what their thinking is like.
22
Oct 17 '20
I think I’ve seen it all but you, Sir, take the award. Why why would you want to do this in Excel and most importantly why are they letting you waste your time like that
10
16
u/Dekzen Oct 17 '20
Please tell me you are joking.. There cannot be a single pro to this approach.
2
u/malicart Oct 17 '20
I use excel for some crazy shit, like CONCAT building SQL statements and other nonsense, but this takes the cake for me.
4
u/LucidityFlows Oct 17 '20
I admire your willingness to put yourself out there to get real suggestions. I think you knew this approach didn’t make a lot of sense since you took the initiative to seek help from Reddit. I’ve only asked Reddit questions when I’ve felt so lost I didn’t understand where to look next.
People can forget how hard it is as a beginner. I never heard of VSCode or Jetbrains til my Junior year of college and they were a huge game changer.
I hope you keep learning and asking questions.
1
1
1
1
Oct 18 '20 edited Oct 18 '20
You could switch to Google sheets and extract the values in node via sheets API. Then you could save them into a CSS file.
-5
u/Stompya Oct 17 '20
I am not too experienced at CSS but learning ... and I wanted a way to organize my code and make it searchable and more readable.
In Excel I can add colour and bold text, and use conditional formatting to check for basic errors like forgetting a colon or semicolon. When it’s time to upload I can copy/paste directly into notepad or my website editor (which is text-only) and boom.
Is this a good idea or a very bad one? Are there far better tools that I just haven’t found yet?
4
Oct 17 '20
Yes there are many tools. VS Code being the main one. If you want to reuse values, you should look into CSS variables or a pre-processor like SCSS.
But putting it in a spreadsheet... That aint it champ.
5
u/AlmightyPhono Oct 17 '20
Vs code with the plugin prettier, go to settings type "format" and check format on save.
You now have automatic code completion with emmet (built into vs code), prettier fixing accidental indentation errors etc.
It's by far superior to your excel solution
52
u/Thordendal Oct 17 '20
Honestly, and please don't take offence, but this is really weird and a waste of time. Your time would be better spent learning how to use your code editor, which is designed for writing code.