+ 3

How can i add an css code no this html codes

<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <div ng-controller="todoList"> <span>Items: {{todos.length}}</span> <ul> <li ng-repeat="todo in todos"> <label class="checkbox"> <input type="checkbox" ng-model="todo.done"> <span class="done-{{todo.done}}">{{todo.text}}</span> </label> </li> </ul> <form ng-submit="addTodo()"> <input type="text" ng-model="todoText" size="30" placeholder="add new todo here"> <input type="submit" value="add"> </form> </ </body> </html>

10th Mar 2019, 5:07 PM
Ighalo Destiny Aka @destinmedian
Ighalo Destiny Aka @destinmedian - avatar
2 Réponses
+ 3
//Here is other information on adding css on your html https://www.sololearn.com/learn/CSS/1079/
10th Mar 2019, 6:52 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
Hi, In the <head> section, You can use CSS in <style> tag as - <style> span{ color: #f2f2f2; } </style> Please go through SoloLearn CSS course.
10th Mar 2019, 5:26 PM
Sachin Artani
Sachin Artani - avatar