Syntex error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
8th Mar 2024, 9:33 PM
Jason Peckham
Jason Peckham - avatar
3 Answers
+ 4
did you copy paste it from somewhere? lots of errors. &amp;amp;gt; and &amp;amp;lt; those are supposed to be > and < you also need jquery cdn there is a typo in your html... plus-btn not pkus-btn plus.svg and minus.svg are not loaded. you need to embed those for Sololearn..
8th Mar 2024, 11:59 PM
Bob_Li
Bob_Li - avatar
0
The HTML code you provided seems to be a shopping cart layout, but it's missing the CSS and JavaScript parts, and it has some minor issues. What specific syntax error are you encountering?
9th Mar 2024, 12:39 PM
Rohit Krishna
Rohit Krishna - avatar
0
<!DOCTYPE html> <html> <head> <title>CSS & JS Shopping Cart</title> </head> <body> <div class="shopping-cart"> <!-- Title --> <div class="title"> Shopping Bag </div> <!-- Product #1 --> <div class="item"> <div class="buttons"> <span class="delete-btn"></span> <span class="like-btn"></span> </div> <div class="image"> <img src="item-1.png" alt="" /> </div> <div class="description"> <span>Common Projects</span> <span>Bball High</span> <span>White</span> </div> <div class="quantity"> <button class="plus-btn" type="button" name="button"> <img src="plus.svg" alt="" /> </button> <input type="text" name="name" value="1"> <button class="minus-btn" type=
9th Mar 2024, 12:40 PM
Rohit Krishna
Rohit Krishna - avatar