Created
December 9, 2016 17:49
-
-
Save Bijesse/f56c258be586a23554350e9c1dc0943f to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=f56c258be586a23554350e9c1dc0943f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Parts of Speech: We Do</title> | |
</head> | |
<body> | |
<h1 id = "header">This is a page about the parts of speech</h1> | |
<h1 id = "noun"> This is a noun --> </h1> | |
<h1 id = "adj"> This is a adjective --> </h1> | |
<div id ="sentence"></div> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
WE DO: Variable & jQuery practice | |
*/ | |
// Variables | |
// We need to define a Noun and an Adjective in our JavaScript file. How would we do this? | |
// Append | |
// How can we append our noun variable to the first h1 tag on this page? | |
// Challenge #1 | |
// append our adjective variable to the first h1 tag on this page. | |
// Challenge #2 | |
// Complete a similar activity for a verb. | |
// Challenge #3 | |
// using jQuery, write a sentence using the noun and adjective you created above. Place this sentence in the div with the ID sentence. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#header{ | |
color: red; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment