I wanted to learn laravel framework. I could install laravel in my webserver(Wamp) and i get some tutorial to learn it but when i tryed to add style to 'h1' tag in the hello.php file place in this path:("C:\wamp\www\laravel-master\app\views\hello.php") by asset() function, above mentioned error occurred. please help me to find out where the problem are. here is hello.php codes:
<style>
body {
margin:0;
font-family:'Lato', sans-serif;
text-align:center;
color: #999;
}
.welcome {
width: 300px;
height: 200px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -150px;
margin-top: -100px;
}
a, a:visited {
text-decoration:none;
}
h1 {
font-size: 32px;
margin: 16px 0 0 0;
}
</style>
</head>
<link rel="stylesheet" type="text/css" href="<?php echo asset('css/main.css'); ?>" >
<body>
<div class="welcome">
<a href="http://laravel.com" title="Laravel PHP Framework"> <img src="some_long_src" alt="Laravel PHP Framework"></a>
<h1 class="highlight">You have arrived.</h1>
</div>
</body>
</html>
and main.css :
.highlight {
border: solid 2px #F00;
}
and my laravel version is 4.2.16.
thanks in advance.