Click here to Skip to main content
15,890,438 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: searchable dropdown with large dataset Pin
F-ES Sitecore26-Jun-15 2:40
professionalF-ES Sitecore26-Jun-15 2:40 
QuestionUser Can't Get To Classic ASP Web Site Pin
GenJerDan24-Jun-15 5:34
GenJerDan24-Jun-15 5:34 
SuggestionRe: User Can't Get To Classic ASP Web Site Pin
Richard Deeming24-Jun-15 6:18
mveRichard Deeming24-Jun-15 6:18 
GeneralRe: User Can't Get To Classic ASP Web Site Pin
GenJerDan24-Jun-15 6:30
GenJerDan24-Jun-15 6:30 
AnswerRe: User Can't Get To Classic ASP Web Site Pin
Aladár Horváth3-Aug-15 3:40
professionalAladár Horváth3-Aug-15 3:40 
GeneralRe: User Can't Get To Classic ASP Web Site Pin
GenJerDan3-Aug-15 3:54
GenJerDan3-Aug-15 3:54 
QuestionAny one using spark API Pin
Rahul Singh Tomar19-Jun-15 23:36
Rahul Singh Tomar19-Jun-15 23:36 
Questionfeeling frustrated please help me Pin
Member 1177761319-Jun-15 1:35
Member 1177761319-Jun-15 1:35 
hi i havent been coding long, im learning on my own using the internet, youtube etc.
i am trying to us all the knowledge ive learn so far to code a basic website. i have having a couple of problems.
1/ first this error message is appearing on the console when i inspect the webpage i am creating??
Uncaught SyntaxError: Unexpected token <

2/ second i cant seem to do simple actions with css on my html using the bootstrap classes, i know its all correct in terms of the files being connected to sublime as i can copy and paste from bootstrap and the nav bars with drop downs work fine. (i assume that if they work that it all set up properly on my text editer?)
i am trying to centre the logo, heading and menu at the moment.


This is my html code.....
XML
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>Cupcake Fixation</title>

<!---google fonts-->
<link href='http://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'>
<!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
<!--css stylesheet-->
<link href="style.css" rel="stylesheet" type="text/css" />
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

 <body>


<!--logo-->
 <div class="logo" "col-md-2">
  <img src="http://www.drawingnow.com/file/videos/image/1376476137.jpg"/>
</div>
<!--heading-->
<header class="container">
    <h1>Cupcake Fixation</h1>
    <p><strong>"We take your addiction seriously!"</strong></p>
</header>
<!--nav bar-->
<div class="container-fluid">

<ul class="nav navbar-nav" "navbar-default" >
    <li class="nav" class="active"><a  href="#">Home<span class="glyphicon glyphicon-heart"</span></li></a>
    <li class="nav"><a  href="#">About<span class="glyphicon glyphicon-heart"</span></li></a>
    <li class="nav"><a  href="#">Recipies<span class="glyphicon glyphicon-heart"</span></li></a>
    <li class="nav"><a  href="#">Frosting<span class="glyphicon glyphicon-heart"</span></li></a>
    <li class="nav"><a  href="#">Contact Us</li></a>

</ul>

</div>

<!--jumbotron-->





<!--html ends here-->
































<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->

    <script src="js/bootstrap.min.js"></script>

 <!--jquery for drop downs-->
 <script type="text/javascript" src="http://twitter.github.io/bootstrap/assets/js/bootstrap-dropdown.js"></script>

 </body>
</html>

AnswerRe: feeling frustrated please help me Pin
Richard Deeming19-Jun-15 2:18
mveRichard Deeming19-Jun-15 2:18 
AnswerHtml not well formed Pin
Ferd Really23-Jun-15 7:30
Ferd Really23-Jun-15 7:30 
AnswerRe: feeling frustrated please help me Pin
Anil Vaghasiya14-Jul-15 21:43
professionalAnil Vaghasiya14-Jul-15 21:43 
QuestionWireframe / Mockup tools Pin
C-P-User-317-Jun-15 7:10
C-P-User-317-Jun-15 7:10 
Question[CKEditor] How to search the contents in the string? Pin
Member 110547239-Jun-15 15:43
Member 110547239-Jun-15 15:43 
QuestionHTML5: Local Data Base. Pin
Member 117446415-Jun-15 4:18
Member 117446415-Jun-15 4:18 
AnswerRe: HTML5: Local Data Base. Pin
Simewu15-Jun-15 12:38
professionalSimewu15-Jun-15 12:38 
Questionproblem to check value array Pin
Loei Maleki4-Jun-15 1:52
Loei Maleki4-Jun-15 1:52 
AnswerRe: problem to check value array Pin
Loei Maleki4-Jun-15 1:57
Loei Maleki4-Jun-15 1:57 
QuestionCan't find where is the error from Pin
newbiejo2-Jun-15 22:50
newbiejo2-Jun-15 22:50 
QuestionUnable to stop SQL injection errors. Pin
Stephen Holdorf29-May-15 2:10
Stephen Holdorf29-May-15 2:10 
AnswerRe: Unable to stop SQL injection errors. Pin
Sascha Lefèvre29-May-15 2:55
professionalSascha Lefèvre29-May-15 2:55 
GeneralRe: Unable to stop SQL injection errors. Pin
Stephen Holdorf29-May-15 4:03
Stephen Holdorf29-May-15 4:03 
GeneralRe: Unable to stop SQL injection errors. Pin
Sascha Lefèvre29-May-15 4:10
professionalSascha Lefèvre29-May-15 4:10 
GeneralRe: Unable to stop SQL injection errors. Pin
Richard Deeming29-May-15 4:11
mveRichard Deeming29-May-15 4:11 
GeneralRe: Unable to stop SQL injection errors. Pin
Stephen Holdorf29-May-15 8:55
Stephen Holdorf29-May-15 8:55 
GeneralRe: Unable to stop SQL injection errors. Pin
Richard Deeming29-May-15 9:14
mveRichard Deeming29-May-15 9:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.