Not able to use them properly? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Not able to use them properly?

I know css but when I tried using the knowledge to make a navigation bar, i got stuck and not been able to style nav-bar pls lemme know the ways with which I can be able to apply my knowledge efficiently..

9th Dec 2022, 9:04 PM
MOHAMMED ISMAIL S
3 Answers
+ 5
If you can't apply your knowledge, it means you don't know CSS. To make my point clear, you cannot learn a foreign language by learning each word in the dictionary. You also need to know, how to put those words together to form meaningful sentences, in the right context. Similarly a programming language is not just about learning the keywords and properties, that is the syntax of the language, but also knowing how you fit those concepts together to achieve some goals. You can only learn these by looking at programming patterns, how other coders use the language, and then follow and recreate the same patterns on your own. With a lot of practice, you will eventually know by heart, which elements of the language you need to use for a nav-bar and how they work together.
10th Dec 2022, 12:07 AM
Tibor Santa
Tibor Santa - avatar
+ 5
Even in CSS there are lots of tricks which may be not apparent if you just look at the language reference, but smart people have discovered shortcuts and combinations which achieve some effects in clever ways. Figuring out all these tricks on your own, is a hopeless task. Don't reinvent the wheel, look at blogs and tutorials, how you can achieve something, and try to USE them in your own project. Practice is very important to achieve mastery.
10th Dec 2022, 12:09 AM
Tibor Santa
Tibor Santa - avatar
+ 2
Show your code and maybe someone can see what's going on.
9th Dec 2022, 9:13 PM
Ausgrindtube
Ausgrindtube - avatar