Learn CSS with an interactive and auto-graded tutorial with dozens of exercises. These CSS exercises are ideal for beginners looking to learn and practice fundamental CSS concepts, including selectors, styling rules, and responsive design techniques. Through hands-on tasks, learners will gain practical experience in applying styles to HTML elements, using external stylesheets, and mastering CSS specificity.
Work on real-life coding environments with LearnPack.
Get instant help with our AI mentor: Rigobot.
No installation, you go directly to programming
Difficulty
easy
Average duration
8 hrs
Difficulty
easy
Average duration
8 hrs
Difficulty
easy
Average duration
8 hrs
Difficulty
easy
Average duration
8 hrs
Difficulty
easy
Average duration
8 hrs
Difficulty
easy
Average duration
8 hrs
How to apply CSS to your website in 3 different ways: inline, by grouping them together inside a <style>
tag, or by using an external stylesheet <link>
.
Selecting HTML Elements from your website to apply the styles to.
Apply CSS Rules (styles) to those elements.
Use the most popular CSS Rules.
Learn the most popular CSS Tricks.
Each exercise is a small React application containing the following files:
Note: The exercises have automatic grading but it's very rigid and strict, my recommendation is to not take the tests too serious and use them only as a suggestion or you may get frustrated.
Thanks goes to these wonderful people (emoji key):
Alejandro Sanchez (alesanchezr), contribution: (coder) π» (idea) π€, (run-tests) β οΈ , (pull-request-review) π (run-tutorial) β (documentation) π
Paolo (plucodev), contribution: (bug reports) π, contribution: (coder), (translation) π
Daniel Machota (@d4rkm0nst3r), contribution: (run-tutorial) β , Translation π
Difficulty
easy
Average duration
8 hrs
Difficulty
easy
Average duration
8 hrs