12/24/2022 0 Comments Only apply css code to navbar kompozerOn every single site you create, you find that you need to write code that detects how big the user's screen is, whether it's a phone or tablet or PC screen, whether it's portrait or landscape, and then alters the page layout to look good on whatever the user has. You open your text editor, you start writing the HTML files, writing the CSS files, you do 50, 60, 70 sites. It's just a base to build on.įor example, let's say you write all your own websites totally from scratch. You cannot use a framework without writing your own new code. It does not write new code for you it does not mean you don't have to write code of your own. You do not get a button that say "Generate navbar." You do not get a button that says "Generate heading." It is not like Microsoft Word. They just add things that make it more convenient.Ī framework is a bunch of code that someone else has written, which you extend by adding your own code on top. They add features like the ability to open multiple files at once using tabs (like having multiple sites open in Firefox/Chrome), the ability to search for specific words/phrases throughout an entire project folder, the ability to highlight different elements of code in different colours, and the ability to point out some errors to you (eg "You said x + y here, but that only makes sense if x is a number, and earlier in this file you said it was text!"). These 'text editors' are things like Sublime Text, Atom, vim, emacs, and Visual Studio Code. rb, etc files.īut there are some applications for writing these text files that add useful features to make it more convenient. You type this code and markup into text files. You create websites by writing code and markup. You're very confused so it might be best to just forget you've ever heard of Bootstrap, Sublime Text, frameworks, etc and just start with a clean slate. Just a week into this and maybe I'm looking too far into this and not focusing on my beginner projects but I need to know what a framework is as opposed to a text editor like Sublime text. I understand the web development guides and bootcamps making you write your website code from scratch but once you understand what the code does you just use a "framework" that generates all the code for you so you don't have to write any of it? If so web development as a beginner just got a whole lot easier to comphrehend because it's less intimidating now to learn because I know I don't need to know every single thing when I have a framework that will generate the code for me to just edit to my liking?Īlso what's the difference between a framework and a text editor like Sublime text and brackets? If everyone is using a framework to 'code' in wouldn't it be best if I also used one as I'm learning to code? Couldn't sublime text do the same thing as Bootstrap? Or no? I'm getting my feet wet in web development but now I'm starting to see that I guess people who build web sites don't write the code from 100% scratch? They use "frameworks" which have HTML/CSS/JS code built inside of it for example I click on "nav bar" and it generates a generic nav bar for you that you can edit and style to your liking? Completely taking away the need to memorize how to design one on your own like we learn in the tutorials?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |