NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Hi, I'm Punnu, and I completed the logic gates page of last weeks assignment. I did all of my scripting and styling of the page on one html doc, starting out with just plain text, indented right a little. This is just some info that will help you understand the input and output system.

First are the actual inputs themselves. I implemented these as checkboxes, unchecked being equivalent to 0, and checked being equivalent to 1.

Then, the actual running code, the java script itself. First, i declare my function, and set variables input1 and 2 equal to their checked versions. Then, I set 8 more variables equal to their respective logic evaluations, using the variables input 1 and 2 to execute them. For XOR and XNOR, JavaScript does not have built in logic gates, so I had to make these longer logical operators. I'm not entirely sure *why* it works, but I'll get to that later. After that, I assign the value of of each gate's output as text to be used later in the html portion of this file.

Here's the table that makes everything look neat and organized. I made two table headers, which state the gate and its output. I used cropped images of the big image from the padlet to create a separate image for each gate. The output column includes several textarea elements; of which the id are named after the gate's output, with _text appended to make it clearer that there should be text there. These are what the above function assigns the output of each gate.

And that is all! At the bottom are just some closing tags to close off everything
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.