<!DOCTYPE html>
<html>
<head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
    <script src="main.js"></script>
</head>
<body>
    <h1>Diddit: A Digg/Reddit Clone</h1>
    <div ng-app="didditApp" ng-controller="didditCtrl">
        <form name="topicForm" ng-submit="createTopic(newTopic); newTopic=''">
            <label>
                Post a new topic:
                <input type="text" name="topicInput" ng-model="newTopic" required />
            </label>
            <input type="submit" id="submit" value="Submit" />
        </form>
        <hr>
        <div>
            <div ng-repeat="topic in topics">
                <button ng-click="upvote(topic)">+</button>
                <span>{{topic.upvotes}}</span>
                <button ng-click="downvote(topic)">-</button>
                <span>{{topic.content}}</span>
            </div>
        </div>
    </div>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
    <script src="main.js"></script>
</head>
<body>
    <h1>Diddit: A Digg/Reddit Clone</h1>
    <div ng-app="didditApp" ng-controller="didditCtrl">
        <form name="topicForm" ng-submit="createTopic(newTopic); newTopic=''">
            <label>
                Post a new topic:
                <input type="text" name="topicInput" ng-model="newTopic" maxlength="255" required />
            </label>
            <input type="submit" id="submit" value="Submit" />
        </form>
        <hr>
        <div>
            <div ng-if="topics.length==0">
                No topics yet. Try posting one above!
            </div>
            <div ng-repeat="topic in topics">
                <button ng-click="upvote(topic)">+</button>
                <span>{{topic.upvotes}}</span>
                <button ng-click="downvote(topic)">-</button>
                <span><strong>{{topic.content}}</strong></span>
            </div>
        </div>
    </div>
</body>
</html>

Set topics content to bold and textinput maxlength to 255.
FE: Set topics content to bold and textinput maxlength to 255.
