MuskieCode
KaysenMcElroy (2)

i dont understand my 7th grade coding teacher can someone help meh plzz

You are viewing a single comment. View All
algore (10)

Jesus this is what they are having 7th graders do in their class,

well alert("none") is a javascript function and should be in around a script tag

<script> alert("none"); </script>

in order to get it to run javascript code

Date I am assuming since you are doing javascript he wants a updating date, which you can also do with javascript.
`

<script> var today = new Date(); var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate(); // Add an ID to h3 with the date document.getElementById('date').innerHTML = date; </script>

`

And I am assuming toggle needs to be a toggle radio which will be
<input type="radio" name="toggle" value="t">
now im not sure what exactly you need to toggle, but then you can implement javascript to toggle what ever the assignment says.

KaysenMcElroy (2)

@MatthewDoan1
sorry..... i was just copying what my teacher put on the bored

KaysenMcElroy (2)

@algore
thanks. but i dont understand sorry ive never done this and he thinks i should know all of this when i have not even coded before

algore (10)

@KaysenMcElroy I suggest you on your freetime, go to https://www.w3schools.com/html/default.asp it will teach you alot of the syntax, and goes into css and javascript. Essientially when doing web programming their are 3 essiential things to know, HTML which is Hyper Text Markup Language and is a Markup Language used to create a skeleton of the website, CSS or Cascading Style Sheets which is what makes the website look good, and JavaScript which makes the website be able to react to user interaction using programming. alert() is a javascript function and must be wraped around a <script> tag in order to work in HTML.

MatthewDoan1 (17)

@KaysenMcElroy I'm not sure a coding teacher could be this bad at HTML

KaysenMcElroy (2)

@MatthewDoan1
its his first year at teaching i don't think that he knows what hes doing

MatthewDoan1 (17)

@KaysenMcElroy Does he have coding experience??

KaysenMcElroy (2)

@MatthewDoan1
if i'm being honest i don't think so

MatthewDoan1 (17)

@KaysenMcElroy TBH if you want to impress him then just go to http://w3schools.com It'll teach you everything you need to know about HTML, CSS, and JavaScript (which, I assume, he's trying to teach you).