https://i.sstatic.net/Sp23W.png
Currently enrolled in a Udemy course on Full Stack Development from scratch. The instructor often makes mistakes that require improvisation, like using <span>
instead of <p>
next to the sign-in. Additionally, adjustments were needed for the height of the BBC Logo and Sign In button to fit properly within the small navigation bar.
The code snippet is as follows:
<!DOCTYPE html>
<html>
<head>
<title>Wadson's BBC</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<style type="text/css">
/* CSS styles here */
</style>
<body>
<div id="container">
<div id="topbar">
<div class="fixedwidth">
<div id="logodiv">
<img src="images/logo.png" height="25px" />
</div>
<div id="signindiv">
<img class="signinhead" src="images/signin.png" height="20px"/><span id="signintext">Sign In</span>
</div>
<div id="topmenudiv">
<ul>
<li>News</li>
<li></li>
<li></li>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>
Seeking advice as a budding programmer - how can I train myself to think critically and spot errors while following instructions, rather than simply copying verbatim? While comfortable with HTML concepts, struggling with positioning, margins, and padding accordingly.