---
id: bad87fee1348bd9aed908845
title: Style Text Inputs as Form Controls
required:
- link: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css'
raw: true
challengeType: 0
videoUrl: ''
localeTitle: مدخلات نمط النص مثل عناصر التحكم في النموذج
---
## Description
undefined
## Instructions
## Tests
```yml
tests:
- text: ''
testString: 'assert($("button[type=\"submit\"]").hasClass("btn btn-primary"), "Give the submit button in your form the classes btn btn-primary.");'
- text: ''
testString: 'assert($("button[type=\"submit\"]:has(i.fa.fa-paper-plane)").length > 0, "Add a <i class="fa fa-paper-plane"></i> within your submit button element.");'
- text: قم input النص في النموذج الخاص بك على form-control .
testString: 'assert($("input[type=\"text\"]").hasClass("form-control"), "Give the text input in your form the class form-control.");'
- text: تأكد من أن كل عنصر من عناصر i لديك علامة إغلاق.
testString: 'assert(code.match(/<\/i>/g) && code.match(/<\/i/g).length > 3, "Make sure each of your i elements has a closing tag.");'
```
## Challenge Seed