Instructions:
index.html
< !DOCTYPE html >
< html lang="en" >
< head >
< title >Cookie< /title >
< meta charset="utf-8" >
< /head >
< body >
< form id="cookieForm" onsubmit="return false" >
< h1 >Enter your username: < input type="text" id="nameField" >< /h1 >
< input id="submitButton" type="submit" value="Submit" >
< /form >
< script src="script.js" >< /script >
< /body >
< /html >
Instructions:
Instructions:
Instructions:
index.html
< !DOCTYPE html >
< html lang="en" >
< head >
< title >jQuery< /title >
< !-- Comments -- >
< meta charset="utf-8" >
< link rel="stylesheet" href="css/styles.css" >
< /head >
< body >
< div id="wrapper" >
< article id="main" >
< p >I know how to create HTML pages.< /p >
< p >I know how to style webpages with CSS.< /p >
< p >I know how to add functionality to webpages with JavaScript.< /p >
< p >I understand how to use the jQuery library.< /p >
< /article >
< button id="hideBtn" >Hide< /button >
< button id="showBtn" >Show< /button >
< /div >
< script src="js/jquery-3.5.1.min.js" >< /script >
< script src="js/script.js" >< /script >
< /body >
< /html >